diff options
author | Philip Kuryloski <kuryloskip@vmware.com> | 2021-11-05 11:14:09 +0100 |
---|---|---|
committer | Philip Kuryloski <kuryloskip@vmware.com> | 2021-11-05 11:14:09 +0100 |
commit | c06f651e6354bfa6bc86dd172ec932dbd9f3f749 (patch) | |
tree | 00b48106ebb44201bb8a8ac46c3f5f06564eea4c | |
parent | 04891cd8459b8a99e0b2bc9252c05e88b2e2beff (diff) | |
download | rabbitmq-server-git-c06f651e6354bfa6bc86dd172ec932dbd9f3f749.tar.gz |
Clean up auto-backport
-rw-r--r-- | .github/workflows/perform-bazel-execution-comparison.yaml | 96 | ||||
-rw-r--r-- | .github/workflows/test-erlang-git.yaml | 43 |
2 files changed, 0 insertions, 139 deletions
diff --git a/.github/workflows/perform-bazel-execution-comparison.yaml b/.github/workflows/perform-bazel-execution-comparison.yaml deleted file mode 100644 index 4834cd1bf0..0000000000 --- a/.github/workflows/perform-bazel-execution-comparison.yaml +++ /dev/null @@ -1,96 +0,0 @@ -name: Gather Bazel Execution Logs -on: - workflow_dispatch: - inputs: - target: - description: 'A bazel label representing the test target' - required: true - default: '//deps/rabbit:rabbit_stream_queue_SUITE' -env: - ERLANG_MAJOR: "24" - CACHE_NAME: ci-bazel-cache-analysis -jobs: - run-a: - name: Run A - runs-on: ubuntu-latest - timeout-minutes: 120 - steps: - - name: CHECKOUT REPOSITORY - uses: actions/checkout@v2.4.0 - - name: CONFIGURE BAZEL - run: | - cat << EOF >> user.bazelrc - build:buildbuddy --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_API_KEY }} - - build:buildbuddy --build_metadata=ROLE=CI - build:buildbuddy --remote_instance_name=buildbuddy-io/buildbuddy/ci-${CACHE_NAME} - EOF - - name: RUN TESTS - run: | - bazelisk test ${{ github.event.inputs.target }} \ - --config=rbe-${ERLANG_MAJOR} \ - --execution_log_binary_file=/tmp/exec.log - - name: SAVE EXECUTION LOG BINARY - uses: actions/upload-artifact@v2-preview - with: - name: execution-log-binary-A - path: /tmp/exec.log - run-b: - name: Run B - needs: run-a - runs-on: ubuntu-latest - timeout-minutes: 120 - steps: - - name: CHECKOUT REPOSITORY - uses: actions/checkout@v2.4.0 - - name: CONFIGURE BAZEL - run: | - cat << EOF >> user.bazelrc - build:buildbuddy --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_API_KEY }} - - build:buildbuddy --build_metadata=ROLE=CI - build:buildbuddy --remote_instance_name=buildbuddy-io/buildbuddy/ci-${CACHE_NAME} - EOF - - name: RUN TESTS - run: | - bazelisk test ${{ github.event.inputs.target }} \ - --config=rbe-${ERLANG_MAJOR} \ - --execution_log_binary_file=/tmp/exec.log - - name: SAVE EXECUTION LOG BINARY - uses: actions/upload-artifact@v2-preview - with: - name: execution-log-binary-B - path: /tmp/exec.log - parse-logs: - name: Parse Logs - needs: [run-a, run-b] - runs-on: ubuntu-latest - steps: - - name: CHECKOUT BAZEL - uses: actions/checkout@v2.4.0 - with: - repository: bazelbuild/bazel - path: bazel - - name: MOUNT BAZEL CACHE - uses: actions/cache@v2 - with: - path: "/home/runner/.cache/bazel" - key: bazel - - name: BUILD EXECLOG PARSER - working-directory: bazel - run: | - bazelisk build src/tools/execlog:parser - - name: FETCH LOGS - uses: actions/download-artifact@v2 - - name: PARSE LOGS - run: | - bazel/bazel-bin/src/tools/execlog/parser \ - --log_path=./execution-log-binary-A/exec.log \ - --log_path=./execution-log-binary-B/exec.log \ - --output_path=/tmp/execution-log-binary-A.log.txt \ - --output_path=/tmp/execution-log-binary-B.log.txt - - name: SAVE PARSED LOGS - uses: actions/upload-artifact@v2-preview - with: - name: parsed-logs - path: /tmp/execution-log-binary-*.log.txt diff --git a/.github/workflows/test-erlang-git.yaml b/.github/workflows/test-erlang-git.yaml deleted file mode 100644 index 8a6161ac48..0000000000 --- a/.github/workflows/test-erlang-git.yaml +++ /dev/null @@ -1,43 +0,0 @@ -name: Test Erlang Git Master -on: - schedule: - - cron: '0 2 * * *' - workflow_dispatch: -jobs: - test-erlang-git: - name: Test (Erlang Git Master) - runs-on: ubuntu-18.04 - timeout-minutes: 120 - steps: - - name: CHECKOUT REPOSITORY - uses: actions/checkout@v2.4.0 - - name: UPDATE RBE IMAGE SHA - env: - IMAGE: pivotalrabbitmq/rabbitmq-server-buildenv - TAG: linux-erlang-git-master - run: | - # buildbuddy caches the container image, so we must use a specific sha to ensure - # the latest is used - 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_git_platform - - name: CONFIGURE BAZEL - run: | - cat << EOF >> user.bazelrc - build:buildbuddy --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_API_KEY }} - - build:buildbuddy --build_metadata=ROLE=CI - build:buildbuddy --build_metadata=VISIBILITY=PUBLIC - build:buildbuddy --remote_instance_name=buildbuddy-io/buildbuddy/ci-erlang-git - EOF - #! - name: Setup tmate session - #! uses: mxschmitt/action-tmate@v3 - - name: RUN TESTS - run: | - bazelisk test //... \ - --config=rbe-git \ - --test_tag_filters=-mixed-version-cluster,-exclusive,-aws \ - --verbose_failures |