diff options
author | Philip Kuryloski <kuryloskip@vmware.com> | 2021-11-10 23:20:44 +0100 |
---|---|---|
committer | Philip Kuryloski <kuryloskip@vmware.com> | 2021-11-10 23:20:44 +0100 |
commit | 8c0a1a0453073a2271ad56182939736cc5f93c31 (patch) | |
tree | cb8f9f2be075fcf691e0ec1fe80b63779959a0e1 | |
parent | 0ff0f53f4ca4b9978a4e604561fdd32b20a09d3e (diff) | |
download | rabbitmq-server-git-8c0a1a0453073a2271ad56182939736cc5f93c31.tar.gz |
Remove the update-rbe-images workflow
As it is no longer necessary given
https://github.com/rabbitmq/rabbitmq-server/pull/3683
-rw-r--r-- | .github/workflows/update-rbe-images.yaml | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/.github/workflows/update-rbe-images.yaml b/.github/workflows/update-rbe-images.yaml deleted file mode 100644 index aa6be4ba7c..0000000000 --- a/.github/workflows/update-rbe-images.yaml +++ /dev/null @@ -1,62 +0,0 @@ -name: Update Bazel RBE Images -on: - schedule: - - cron: '0 3 * * *' - workflow_dispatch: -jobs: - update-rbe-images: - name: Update Bazel RBE Images - runs-on: ubuntu-latest - strategy: - max-parallel: 1 - matrix: - erlang_version: - - "23.3" - - "24.1" - include: - - erlang_version: "23.3" - short_version: "23" - - erlang_version: "24.1" - short_version: "24" - timeout-minutes: 10 - steps: - - name: CHECKOUT REPOSITORY - uses: actions/checkout@v2.4.0 - - name: SKIP IF THE PR ALREADY EXISTS - id: check-for-branch - run: | - set +e - git ls-remote --exit-code --heads origin bump-rbe-image-${{ matrix.short_version }} - echo "::set-output name=c::$?" - - name: UPDATE RBE IMAGE SHA - if: steps.check-for-branch.outputs.c != 0 - env: - IMAGE: pivotalrabbitmq/rabbitmq-server-buildenv - TAG: linux-erlang-${{ matrix.erlang_version }} - run: | - # buildbuddy caches the container image, so we must use a specific sha to ensure - # the latest is used - echo "Retrieving current digest for ${IMAGE}:${TAG}" - DIGEST="$(skopeo inspect --format '{{.Digest}}' docker://${IMAGE}:${TAG})" - echo "Will use ${IMAGE}@${DIGEST}" - sudo npm install --global --silent @bazel/buildozer - npx buildozer \ - "dict_set exec_properties container-image:docker://${IMAGE}@${DIGEST}" \ - //:erlang_${{ matrix.short_version }}_platform || test $? -eq 3 - - name: CREATE PULL REQUEST - if: steps.check-for-branch.outputs.c != 0 - uses: peter-evans/create-pull-request@v3 - with: - token: ${{ secrets.REPO_SCOPED_TOKEN }} - committer: GitHub <noreply@github.com> - author: GitHub <noreply@github.com> - title: Adopt latest rabbitmq-server-buildenv:linux-erlang-${{ matrix.erlang_version }} for RBE - commit-message: | - Use latest rabbitmq-server-buildenv:linux-erlang-${{ matrix.erlang_version }} - - for remote build execution (RBE) with BuildBuddy - labels: | - backport-v3.9.x - backport-v3.8.x - branch: bump-rbe-image-${{ matrix.short_version }} - delete-branch: true |