From e24d4b410cb0ccae3eeb1d25f40b1a2c4817b499 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Wed, 15 Mar 2023 01:09:30 +0100 Subject: [PATCH 01/14] ci(ct): fix pushing the correct tag (stable) for master branch --- .github/workflows/container_base_push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/container_base_push.yml b/.github/workflows/container_base_push.yml index 8f440151d0c..11454f1a556 100644 --- a/.github/workflows/container_base_push.yml +++ b/.github/workflows/container_base_push.yml @@ -79,7 +79,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Re-set image tag based on branch if: ${{ github.ref_name == 'master' }} - run: echo "IMAGE_TAG=stable" + run: echo "IMAGE_TAG=stable" >> $GITHUB_ENV - if: ${{ github.event_name != 'pull_request' }} name: Deploy multi-arch base container image to Docker Hub run: mvn -f modules/container-base -Pct deploy -Dbase.image.tag=${{ env.IMAGE_TAG }} From 220a12078cb26c3de88de2d32889c4d2ec4e6d00 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Wed, 15 Mar 2023 01:15:38 +0100 Subject: [PATCH 02/14] ci(ct): push fresh unstable base image every Sunday --- .github/workflows/container_base_push.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/container_base_push.yml b/.github/workflows/container_base_push.yml index 11454f1a556..c8ca5b58696 100644 --- a/.github/workflows/container_base_push.yml +++ b/.github/workflows/container_base_push.yml @@ -18,6 +18,8 @@ on: - 'modules/container-base/**' - 'modules/dataverse-parent/pom.xml' - '.github/workflows/container_base_push.yml' + schedule: + - cron: '23 3 * * 0' # Run for 'develop' every Sunday at 03:23 UTC env: IMAGE_TAG: unstable From 5729b040ba9c856148ff9c39d9b127c31a341293 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Thu, 16 Mar 2023 23:36:30 +0100 Subject: [PATCH 03/14] build(ct): switch to Payara 5.2022.5 for containers to reduce security vuln --- modules/dataverse-parent/pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/dataverse-parent/pom.xml b/modules/dataverse-parent/pom.xml index c538b1ff337..b4430de5cc3 100644 --- a/modules/dataverse-parent/pom.xml +++ b/modules/dataverse-parent/pom.xml @@ -345,8 +345,9 @@ - 5.2022.4 + 5.2022.5 From 464835fa940adf1231f4e9199175574896cb4780 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Mon, 24 Apr 2023 14:40:35 +0200 Subject: [PATCH 04/14] chore(deps): update Docker Maven Plugin to 0.42.1 --- modules/dataverse-parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dataverse-parent/pom.xml b/modules/dataverse-parent/pom.xml index b4430de5cc3..27a0f1377c5 100644 --- a/modules/dataverse-parent/pom.xml +++ b/modules/dataverse-parent/pom.xml @@ -189,7 +189,7 @@ 3.1.2 - 0.42.0 + 0.42.1 From c2474317ee27cfc1db7a10f54c8a6da7444a7926 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Mon, 24 Apr 2023 14:43:40 +0200 Subject: [PATCH 05/14] refactor(ct): switch image names for master branch to alpha This is related to GH #9539 --- .github/workflows/container_base_push.yml | 2 +- doc/sphinx-guides/source/container/base-image.rst | 2 +- modules/container-base/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/container_base_push.yml b/.github/workflows/container_base_push.yml index c8ca5b58696..1082bb923e2 100644 --- a/.github/workflows/container_base_push.yml +++ b/.github/workflows/container_base_push.yml @@ -81,7 +81,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Re-set image tag based on branch if: ${{ github.ref_name == 'master' }} - run: echo "IMAGE_TAG=stable" >> $GITHUB_ENV + run: echo "IMAGE_TAG=alpha" >> $GITHUB_ENV - if: ${{ github.event_name != 'pull_request' }} name: Deploy multi-arch base container image to Docker Hub run: mvn -f modules/container-base -Pct deploy -Dbase.image.tag=${{ env.IMAGE_TAG }} diff --git a/doc/sphinx-guides/source/container/base-image.rst b/doc/sphinx-guides/source/container/base-image.rst index 1f289ec0883..94028b905d5 100644 --- a/doc/sphinx-guides/source/container/base-image.rst +++ b/doc/sphinx-guides/source/container/base-image.rst @@ -31,7 +31,7 @@ upstream branches: - The ``unstable`` tag corresponds to the ``develop`` branch, where pull requests are merged. (`Dockerfile `__) -- The ``stable`` tag corresponds to the ``master`` branch, where releases are cut from. +- The ``alpha`` tag corresponds to the ``master`` branch, where releases are cut from. (`Dockerfile `__) diff --git a/modules/container-base/README.md b/modules/container-base/README.md index 15011d5c6f4..4d42750c232 100644 --- a/modules/container-base/README.md +++ b/modules/container-base/README.md @@ -34,7 +34,7 @@ happens there (again, by the community). Community-supported image tags are base - The `unstable` tag corresponds to the `develop` branch, where pull requests are merged. ([`Dockerfile`](https://github.com/IQSS/dataverse/tree/develop/modules/container-base/src/main/docker/Dockerfile)) -- The `stable` tag corresponds to the `master` branch, where releases are cut from. +- The `alpha` tag corresponds to the `master` branch, where releases are cut from. ([`Dockerfile`](https://github.com/IQSS/dataverse/tree/master/modules/container-base/src/main/docker/Dockerfile)) Within the main repository, you may find the base image files at `/modules/container-base`. From 530f554485fc93bbf703a6da1762d057637f5eb3 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Mon, 24 Apr 2023 14:51:13 +0200 Subject: [PATCH 06/14] refactor(ct): make target platforms for base image easier configurable --- .github/workflows/container_base_push.yml | 5 +++-- doc/sphinx-guides/source/container/base-image.rst | 10 ++++++++-- modules/container-base/pom.xml | 5 +++-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/container_base_push.yml b/.github/workflows/container_base_push.yml index 1082bb923e2..a71c1e07b36 100644 --- a/.github/workflows/container_base_push.yml +++ b/.github/workflows/container_base_push.yml @@ -1,5 +1,5 @@ --- -name: Container Base Module +name: Base Container Image on: push: @@ -23,6 +23,7 @@ on: env: IMAGE_TAG: unstable + PLATFORMS: linux/amd64,linux/arm64 jobs: build: @@ -84,4 +85,4 @@ jobs: run: echo "IMAGE_TAG=alpha" >> $GITHUB_ENV - if: ${{ github.event_name != 'pull_request' }} name: Deploy multi-arch base container image to Docker Hub - run: mvn -f modules/container-base -Pct deploy -Dbase.image.tag=${{ env.IMAGE_TAG }} + run: mvn -f modules/container-base -Pct deploy -Dbase.image.tag=${{ env.IMAGE_TAG }} -Ddocker.platforms=${{ env.PLATFORMS }} diff --git a/doc/sphinx-guides/source/container/base-image.rst b/doc/sphinx-guides/source/container/base-image.rst index 94028b905d5..7dac619a895 100644 --- a/doc/sphinx-guides/source/container/base-image.rst +++ b/doc/sphinx-guides/source/container/base-image.rst @@ -108,13 +108,19 @@ AMD64 (Windows/Linux/...) and ARM64 (Apple M1/M2), by using `Maven Docker Plugin Building the image via ``mvn -Pct package`` or ``mvn -Pct install`` as above will only build for the architecture of the Docker machine's CPU. -Only ``mvn -Pct deploy`` will trigger building on all enabled architectures. -Yet, to enable building with non-native code on your build machine, you will need to setup a cross-platform builder. +Only ``mvn -Pct deploy`` will trigger building on all enabled architectures (and will try to push the images to a +registry, which is Docker Hub by default). + +You must specify which architectures you would like to build for and include by them as a comma separated list: +``mvn -Pct deploy -Ddocker.platforms="linux/amd64,linux/arm64"`` + +Yet, to enable building with non-native code on your build machine, you will need to setup a cross-platform builder! On Linux, you should install `qemu-user-static `__ (preferably via your package management) on the host and run ``docker run --rm --privileged multiarch/qemu-user-static --reset -p yes`` to enable that builder. The Docker plugin will setup everything else for you. +The upstream CI workflows publish images supporting AMD64 and ARM64 (see e.g. tag details on Docker Hub) .. _base-tunables: diff --git a/modules/container-base/pom.xml b/modules/container-base/pom.xml index bbee6ad67d5..1eb3b47e046 100644 --- a/modules/container-base/pom.xml +++ b/modules/container-base/pom.xml @@ -44,6 +44,7 @@ eclipse-temurin:${target.java.version}-jre 1000 1000 + @@ -94,8 +95,8 @@ - linux/arm64 - linux/amd64 + + ${docker.platforms} ${project.build.directory}/buildx-state From a826bda098af743b6e1c2bc6f636f6b7f387e826 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Mon, 24 Apr 2023 14:56:15 +0200 Subject: [PATCH 07/14] ci(ct): add application image deploy workflow --- .github/workflows/container_app_push.yml | 101 ++++++++++++++++++++++ .github/workflows/container_base_push.yml | 11 +++ .github/workflows/maven_unit_test.yml | 11 ++- 3 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/container_app_push.yml diff --git a/.github/workflows/container_app_push.yml b/.github/workflows/container_app_push.yml new file mode 100644 index 00000000000..52be50dd415 --- /dev/null +++ b/.github/workflows/container_app_push.yml @@ -0,0 +1,101 @@ +--- +name: Application Container Image + +on: + # We are deliberately *not* running on push events here to avoid double runs. + # Instead, push events will trigger from the base image and maven unit tests via workflow_call. + workflow_call: + pull_request: + branches: + - develop + - main + paths: + - 'src/main/docker/**' + - '.github/workflows/container_app_push.yml' + +env: + IMAGE_TAG: unstable + BASE_IMAGE_TAG: unstable + REGISTRY: "" # Empty means default to Docker Hub + PLATFORMS: "linux/amd64,linux/arm64" + +jobs: + build: + name: Build & deploy + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + pull-requests: write + # Only run in upstream repo - avoid unnecessary runs in forks + if: ${{ github.repository_owner == 'IQSS' }} + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: "11" + distribution: 'adopt' + - name: Cache Maven packages + uses: actions/cache@v3 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + + - name: Build app container image with local architecture + run: mvn -Pct package + + # Note: Accessing, pushing tags etc. to DockerHub or GHCR will only succeed in upstream because secrets. + + # Run this when triggered via push or schedule as reused workflow from base / maven unit tests + - if: ${{ github.event_name != 'pull_request' && github.ref_name == 'develop' }} + name: Push description to DockerHub + uses: peter-evans/dockerhub-description@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: gdcc/dataverse + short-description: "Dataverse Application Container Image providing the executable" + readme-filepath: ./src/main/docker/README.md + + - if: ${{ github.event_name != 'pull_request' }} + name: Log in to Docker Hub registry + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - if: ${{ github.event_name == 'pull_request' }} + name: Login to Github Container Registry + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ secrets.GHCR_USERNAME }} + password: ${{ secrets.GHCR_TOKEN }} + + - name: Set up QEMU for multi-arch builds + uses: docker/setup-qemu-action@v2 + + - name: Re-set image tag based on branch (if main) + if: ${{ github.ref_name == 'main' }} + run: | + echo "IMAGE_TAG=stable" >> $GITHUB_ENV + echo "BASE_IMAGE_TAG=alpha" >> $GITHUB_ENV + - name: Re-set image tag and container registry when on PR + if: ${{ github.event_name == 'pull_request' }} + run: | + echo "IMAGE_TAG=$(echo "$GITHUB_HEAD_REF" | tr '\\/_:&+,;#*' '-')" >> $GITHUB_ENV + echo "REGISTRY='-Ddocker.registry=ghcr.io'" >> $GITHUB_ENV + + - name: Deploy multi-arch application container image + run: mvn -Pct deploy -Dapp.image.tag=${{ env.IMAGE_TAG }} -Dbase.image.tag=${{ env.BASE_IMAGE_TAG }} ${{ env.REGISTRY }} -Ddocker.platforms=${{ env.PLATFORMS }} + + - uses: marocchino/sticky-pull-request-comment@v2 + if: ${{ github.event_name == 'pull_request' }} + with: + header: app-registry-push + message: | + Pushed application image as [`ghcr.io/gdcc/dataverse:${{ env.IMAGE_TAG }}`](https://github.com/orgs/gdcc/packages/container). diff --git a/.github/workflows/container_base_push.yml b/.github/workflows/container_base_push.yml index a71c1e07b36..5c62fb0c811 100644 --- a/.github/workflows/container_base_push.yml +++ b/.github/workflows/container_base_push.yml @@ -86,3 +86,14 @@ jobs: - if: ${{ github.event_name != 'pull_request' }} name: Deploy multi-arch base container image to Docker Hub run: mvn -f modules/container-base -Pct deploy -Dbase.image.tag=${{ env.IMAGE_TAG }} -Ddocker.platforms=${{ env.PLATFORMS }} + push-app-img: + name: "Rebase & Publish App Image" + permissions: + contents: read + packages: write + pull-requests: write + needs: build + # We do not release a new base image for pull requests, so do not trigger. + if: ${{ github.event_name != 'pull_request' }} + uses: ./.github/workflows/container_app_push.yml + secrets: inherit diff --git a/.github/workflows/maven_unit_test.yml b/.github/workflows/maven_unit_test.yml index e2048f73431..629a45a6c2c 100644 --- a/.github/workflows/maven_unit_test.yml +++ b/.github/workflows/maven_unit_test.yml @@ -51,4 +51,13 @@ jobs: env: CI_NAME: github COVERALLS_SECRET: ${{ secrets.GITHUB_TOKEN }} - run: mvn -V -B jacoco:report coveralls:report -DrepoToken=${COVERALLS_SECRET} -DpullRequest=${{ github.event.number }} \ No newline at end of file + run: mvn -V -B jacoco:report coveralls:report -DrepoToken=${COVERALLS_SECRET} -DpullRequest=${{ github.event.number }} + push-app-img: + name: Publish App Image + permissions: + contents: read + packages: write + pull-requests: write + needs: unittest + uses: ./.github/workflows/container_app_push.yml + secrets: inherit From f84c6838ff33075b0d972462cf1227980e1caa40 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Mon, 24 Apr 2023 15:31:06 +0200 Subject: [PATCH 08/14] ci(ct): rephrased PR comment description a bit --- .github/workflows/container_app_push.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/container_app_push.yml b/.github/workflows/container_app_push.yml index 52be50dd415..269b68dfae9 100644 --- a/.github/workflows/container_app_push.yml +++ b/.github/workflows/container_app_push.yml @@ -98,4 +98,5 @@ jobs: with: header: app-registry-push message: | - Pushed application image as [`ghcr.io/gdcc/dataverse:${{ env.IMAGE_TAG }}`](https://github.com/orgs/gdcc/packages/container). + Pushed preview application image as [`ghcr.io/gdcc/dataverse:${{ env.IMAGE_TAG }}`](https://github.com/orgs/gdcc/packages/container/package/dataverse). + Use it by referencing it with its full name as printed above. From 72eb7a44243557a65f417a8eea38d7642f436846 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Mon, 24 Apr 2023 16:06:17 +0200 Subject: [PATCH 09/14] fix(ct): readd default architectures as non-buildx build seems broken --- modules/container-base/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/container-base/pom.xml b/modules/container-base/pom.xml index 1eb3b47e046..fc672696df4 100644 --- a/modules/container-base/pom.xml +++ b/modules/container-base/pom.xml @@ -44,7 +44,7 @@ eclipse-temurin:${target.java.version}-jre 1000 1000 - + linux/amd64,linux/arm64 From 15d803c93eeaf757ffdfb36f52ea1ade1488f3aa Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Mon, 24 Apr 2023 16:07:57 +0200 Subject: [PATCH 10/14] doc(ct): document readding the default archs to build for base image --- doc/sphinx-guides/source/container/base-image.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sphinx-guides/source/container/base-image.rst b/doc/sphinx-guides/source/container/base-image.rst index 7dac619a895..ed06314ef0e 100644 --- a/doc/sphinx-guides/source/container/base-image.rst +++ b/doc/sphinx-guides/source/container/base-image.rst @@ -111,8 +111,8 @@ the Docker machine's CPU. Only ``mvn -Pct deploy`` will trigger building on all enabled architectures (and will try to push the images to a registry, which is Docker Hub by default). -You must specify which architectures you would like to build for and include by them as a comma separated list: -``mvn -Pct deploy -Ddocker.platforms="linux/amd64,linux/arm64"`` +You can specify which architectures you would like to build for and include by them as a comma separated list: +``mvn -Pct deploy -Ddocker.platforms="linux/amd64,linux/arm64"``. The shown configuration is the default and may be omitted. Yet, to enable building with non-native code on your build machine, you will need to setup a cross-platform builder! From edd5373bcb49b94af2257465dad76f9c4ae7f97d Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Mon, 24 Apr 2023 16:24:14 +0200 Subject: [PATCH 11/14] doc(ct): adapt Docker Hub Base Image description with new app image --- modules/container-base/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/container-base/README.md b/modules/container-base/README.md index 4d42750c232..42122ba1fd0 100644 --- a/modules/container-base/README.md +++ b/modules/container-base/README.md @@ -7,7 +7,9 @@ Adding basic functionality like executing scripts at container boot, monitoring, at this layer. Application images building from this very base focus on adding deployable Dataverse code and actual scripts. -*Note:* Currently, there is no application image. Please watch https://github.com/IQSS/dataverse/issues/8934 +There is a community based [application image](https://hub.docker.com/r/gdcc/dataverse) +([docs](https://guides.dataverse.org/en/latest/container/app-image.html)), but you may create your own or even reuse +this image for other purposes than the Dataverse application. ## Quick Reference From bebec5ddf04e9d0c68d02be4924ff3b5a8048ddf Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Mon, 24 Apr 2023 16:31:13 +0200 Subject: [PATCH 12/14] doc(ct): add README for Docker Hub description of app image --- src/main/docker/README.md | 62 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 src/main/docker/README.md diff --git a/src/main/docker/README.md b/src/main/docker/README.md new file mode 100644 index 00000000000..8e5000748bd --- /dev/null +++ b/src/main/docker/README.md @@ -0,0 +1,62 @@ +# Dataverse Application Container Image + +The "application image" offers you a deployment ready Dataverse application running on the underlying +application server, which is provided by the [base image](https://hub.docker.com/r/gdcc/base). +Its sole purpose is to bundle the application and any additional material necessary to successfully jumpstart +the application. + +Note: Until all :ref:`jvm-options` are *MicroProfile Config* enabled, it also adds the necessary scripting glue to +configure the applications domain during booting the application server. See :ref:`app-tunables`. + +## Quick Reference + +**Maintained by:** + +This image is created, maintained and supported by the Dataverse community on a best-effort basis. + +**Where to find documentation:** + +The [Dataverse Container Guide - Application Image](https://guides.dataverse.org/en/latest/container/app-image.html) +provides in-depth information about content, building, tuning and so on for this image. You should also consult +the [Dataverse Container Guide - Base Image](https://guides.dataverse.org/en/latest/container/base-image.html) page +for more details on tunable settings, locations, etc. + +**Where to get help and ask questions:** + +IQSS will not offer support on how to deploy or run it. Please reach out to the community for help on using it. +You can join the Community Chat on Matrix at https://chat.dataverse.org or the Community Slack at +https://dataversecommunity.slack.com to ask for help and guidance. + +## Supported Image Tags + +This image is sourced within the main upstream code [repository of the Dataverse software](https://github.com/IQSS/dataverse). +Development and maintenance of the [image's code](https://github.com/IQSS/dataverse/tree/develop/src/main/docker) +happens there (again, by the community). Community-supported image tags are based on the two most important branches: + +- The `unstable` tag corresponds to the `develop` branch, where pull requests are merged. + ([`Dockerfile`](https://github.com/IQSS/dataverse/tree/develop/src/main/docker/Dockerfile)) +- The `alpha` tag corresponds to the `master` branch, where releases are cut from. + ([`Dockerfile`](https://github.com/IQSS/dataverse/tree/master/src/main/docker/Dockerfile)) + +Within the main repository, you may find the application image files at `/src/main/docker`. +This Maven module uses the [Maven Docker Plugin](https://dmp.fabric8.io) to build and ship the image. +You may use, extend, or alter this image to your liking and/or host in some different registry if you want to. + +**Supported architectures:** This image is created as a "multi-arch image", supporting the most common architectures +Dataverse usually runs on: AMD64 (Windows/Linux/...) and ARM64 (Apple M1/M2). + +## License + +Image content created by the community is licensed under [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0), +like the [main Dataverse project](https://github.com/IQSS/dataverse/blob/develop/LICENSE.md). + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and limitations under the License. + +As with all Docker images, all images likely also contain other software which may be under other licenses (such as +[Payara Server](https://github.com/payara/Payara/blob/master/LICENSE.txt), Bash, etc., from the base +distribution, along with any direct or indirect (Java) dependencies contained). + +As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies +with any relevant licenses for all software contained within. From 1cd391f4514c1821ce981a57adb1f897f1d0346b Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Tue, 25 Apr 2023 08:42:05 +0200 Subject: [PATCH 13/14] fix(ct,ci): fix some wrong tag and branch names in app image workflow --- .github/workflows/container_app_push.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/container_app_push.yml b/.github/workflows/container_app_push.yml index 269b68dfae9..2ea184c4f48 100644 --- a/.github/workflows/container_app_push.yml +++ b/.github/workflows/container_app_push.yml @@ -8,7 +8,7 @@ on: pull_request: branches: - develop - - main + - master paths: - 'src/main/docker/**' - '.github/workflows/container_app_push.yml' @@ -79,10 +79,10 @@ jobs: - name: Set up QEMU for multi-arch builds uses: docker/setup-qemu-action@v2 - - name: Re-set image tag based on branch (if main) - if: ${{ github.ref_name == 'main' }} + - name: Re-set image tag based on branch (if master) + if: ${{ github.ref_name == 'master' }} run: | - echo "IMAGE_TAG=stable" >> $GITHUB_ENV + echo "IMAGE_TAG=alpha" >> $GITHUB_ENV echo "BASE_IMAGE_TAG=alpha" >> $GITHUB_ENV - name: Re-set image tag and container registry when on PR if: ${{ github.event_name == 'pull_request' }} From d76cac9d49ffc7153fa33640895c352d3cf7d19f Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Tue, 25 Apr 2023 08:51:12 +0200 Subject: [PATCH 14/14] doc(ct): adjust support contact points --- modules/container-base/README.md | 4 ++-- src/main/docker/README.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/container-base/README.md b/modules/container-base/README.md index 42122ba1fd0..dc4d185bbb5 100644 --- a/modules/container-base/README.md +++ b/modules/container-base/README.md @@ -25,8 +25,8 @@ provides in-depth information about content, building, tuning and so on for this **Where to get help and ask questions:** IQSS will not offer support on how to deploy or run it. Please reach out to the community for help on using it. -You can join the Community Chat on Matrix at https://chat.dataverse.org or the Community Slack at -https://dataversecommunity.slack.com to ask for help and guidance. +You can join the Community Chat on Matrix at https://chat.dataverse.org and https://groups.google.com/g/dataverse-community +to ask for help and guidance. ## Supported Image Tags diff --git a/src/main/docker/README.md b/src/main/docker/README.md index 8e5000748bd..06e2769ed6e 100644 --- a/src/main/docker/README.md +++ b/src/main/docker/README.md @@ -1,6 +1,6 @@ # Dataverse Application Container Image -The "application image" offers you a deployment ready Dataverse application running on the underlying +The "application image" offers you a deployment-ready Dataverse application running on the underlying application server, which is provided by the [base image](https://hub.docker.com/r/gdcc/base). Its sole purpose is to bundle the application and any additional material necessary to successfully jumpstart the application. @@ -24,8 +24,8 @@ for more details on tunable settings, locations, etc. **Where to get help and ask questions:** IQSS will not offer support on how to deploy or run it. Please reach out to the community for help on using it. -You can join the Community Chat on Matrix at https://chat.dataverse.org or the Community Slack at -https://dataversecommunity.slack.com to ask for help and guidance. +You can join the Community Chat on Matrix at https://chat.dataverse.org and https://groups.google.com/g/dataverse-community +to ask for help and guidance. ## Supported Image Tags