diff --git a/.github/workflows/templates/test-make.template.yaml b/.github/workflows/templates/test-make.template.yaml index 6e43b9536d6a..d4013c8d5951 100644 --- a/.github/workflows/templates/test-make.template.yaml +++ b/.github/workflows/templates/test-make.template.yaml @@ -9,6 +9,10 @@ #@ return names #@ end +#@ def cache_prefix(name): +#@ return "${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-"+name+"-${{ matrix.metadata_store }}-${{ matrix.otp_version }}" +#@ end + #@ def test_plugin(name, needs, suites): test-(@= name @): name: Test (@= name @) @@ -24,7 +28,7 @@ - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/(@= name @)/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: #@ if name == "rabbit": - name: INSTALL DOTNET @@ -46,12 +50,12 @@ - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-(@= name @)-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: (@= cache_prefix(name) @)-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-(@= name @)-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-(@= name @)-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-(@= name @)- + (@= cache_prefix(name) @)-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + (@= cache_prefix(name) @)-${{ github.run_number }}- + (@= cache_prefix(name) @)- - name: PRINT CACHED RESULTS run: | set -x @@ -64,27 +68,27 @@ elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/(@= name @) \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: #@ name == "rabbitmq_ct_helpers" or name == "trust_store_http" - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/(@= name @) \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi #@ for suite in suites: - name: CT (@= suite @) @@ -94,20 +98,20 @@ #@ end #@ end run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-(@= suite @) ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-(@= suite @) ]]; then echo "ct-(@= suite @) already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/(@= name @) \ ct-(@= suite @) \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-(@= suite @) + touch ${{ env.CACHE_PATH }}/ct-(@= suite @) fi #@ end - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-(@= name @)-${{ github.run_number }}-${{ github.run_attempt }} + key: (@= cache_prefix(name) @)-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -131,7 +135,7 @@ - khepri timeout-minutes: 20 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_cli/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -147,12 +151,12 @@ - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: (@= cache_prefix('rabbitmq_cli') @)-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli- + (@= cache_prefix('rabbitmq_cli') @)-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + (@= cache_prefix('rabbitmq_cli') @)-${{ github.run_number }}- + (@= cache_prefix('rabbitmq_cli') @)- - name: PRINT CACHED RESULTS run: | set -x @@ -165,23 +169,23 @@ elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: TEST id: test run: | - if [[ -f ${{ env.SUCCESS_PATH }}/checks ]]; then + if [[ -f ${{ env.CACHE_PATH }}/checks ]]; then echo "checks already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_cli \ checks \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/checks + touch ${{ env.CACHE_PATH }}/checks fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}-${{ github.run_attempt }} + key: (@= cache_prefix('rabbitmq_cli') @)-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 diff --git a/.github/workflows/test-make.yaml b/.github/workflows/test-make.yaml index 53391f9e4793..edd21901d67c 100644 --- a/.github/workflows/test-make.yaml +++ b/.github/workflows/test-make.yaml @@ -61,7 +61,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/amqp10_client/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -77,12 +77,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_client-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_client-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_client-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_client- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -95,53 +95,53 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp10_client \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp10_client \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT msg run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-msg ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-msg ]]; then echo "ct-msg already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp10_client \ ct-msg \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-msg + touch ${{ env.CACHE_PATH }}/ct-msg fi - name: CT system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-system ]]; then echo "ct-system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp10_client \ ct-system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-system + touch ${{ env.CACHE_PATH }}/ct-system fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_client-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -163,7 +163,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/amqp10_common/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -179,12 +179,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_common-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_common-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_common-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_common- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -197,63 +197,63 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp10_common \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp10_common \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT binary_generator run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-binary_generator ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-binary_generator ]]; then echo "ct-binary_generator already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp10_common \ ct-binary_generator \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-binary_generator + touch ${{ env.CACHE_PATH }}/ct-binary_generator fi - name: CT binary_parser run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-binary_parser ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-binary_parser ]]; then echo "ct-binary_parser already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp10_common \ ct-binary_parser \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-binary_parser + touch ${{ env.CACHE_PATH }}/ct-binary_parser fi - name: CT serial_number run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-serial_number ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-serial_number ]]; then echo "ct-serial_number already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp10_common \ ct-serial_number \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-serial_number + touch ${{ env.CACHE_PATH }}/ct-serial_number fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_common-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp10_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -275,7 +275,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/amqp_client/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -291,12 +291,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp_client-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp_client-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp_client-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp_client- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -309,53 +309,53 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp_client \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp_client \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-system ]]; then echo "ct-system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp_client \ ct-system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-system + touch ${{ env.CACHE_PATH }}/ct-system fi - name: CT unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit ]]; then echo "ct-unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/amqp_client \ ct-unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit + touch ${{ env.CACHE_PATH }}/ct-unit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp_client-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-amqp_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -377,7 +377,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/oauth2_client/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -393,12 +393,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-oauth2_client-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-oauth2_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-oauth2_client-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-oauth2_client-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-oauth2_client- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-oauth2_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-oauth2_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-oauth2_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -411,53 +411,53 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/oauth2_client \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/oauth2_client \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-system ]]; then echo "ct-system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/oauth2_client \ ct-system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-system + touch ${{ env.CACHE_PATH }}/ct-system fi - name: CT unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit ]]; then echo "ct-unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/oauth2_client \ ct-unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit + touch ${{ env.CACHE_PATH }}/ct-unit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-oauth2_client-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-oauth2_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -479,7 +479,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbit_common/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -495,12 +495,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit_common-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit_common-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit_common-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit_common- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -513,93 +513,93 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit_common \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit_common \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT rabbit_env run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_env ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_env ]]; then echo "ct-rabbit_env already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit_common \ ct-rabbit_env \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_env + touch ${{ env.CACHE_PATH }}/ct-rabbit_env fi - name: CT supervisor2 run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-supervisor2 ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-supervisor2 ]]; then echo "ct-supervisor2 already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit_common \ ct-supervisor2 \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-supervisor2 + touch ${{ env.CACHE_PATH }}/ct-supervisor2 fi - name: CT unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit ]]; then echo "ct-unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit_common \ ct-unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit + touch ${{ env.CACHE_PATH }}/ct-unit fi - name: CT unit_password_hashing run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_password_hashing ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_password_hashing ]]; then echo "ct-unit_password_hashing already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit_common \ ct-unit_password_hashing \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_password_hashing + touch ${{ env.CACHE_PATH }}/ct-unit_password_hashing fi - name: CT unit_priority_queue run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_priority_queue ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_priority_queue ]]; then echo "ct-unit_priority_queue already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit_common \ ct-unit_priority_queue \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_priority_queue + touch ${{ env.CACHE_PATH }}/ct-unit_priority_queue fi - name: CT worker_pool run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-worker_pool ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-worker_pool ]]; then echo "ct-worker_pool already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit_common \ ct-worker_pool \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-worker_pool + touch ${{ env.CACHE_PATH }}/ct-worker_pool fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit_common-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -621,7 +621,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_ct_client_helpers/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -637,12 +637,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_client_helpers-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_client_helpers-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_client_helpers-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_client_helpers-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_client_helpers- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_client_helpers-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_client_helpers-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_client_helpers-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -655,33 +655,33 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_ct_client_helpers \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_ct_client_helpers \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_client_helpers-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_client_helpers-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -703,7 +703,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_ct_helpers/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -719,12 +719,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_helpers-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_helpers-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_helpers-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_helpers-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_helpers- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_helpers-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_helpers-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_helpers-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -737,43 +737,43 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_ct_helpers \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: true - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_ct_helpers \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT terraform run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-terraform ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-terraform ]]; then echo "ct-terraform already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_ct_helpers \ ct-terraform \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-terraform + touch ${{ env.CACHE_PATH }}/ct-terraform fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_helpers-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_ct_helpers-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -795,7 +795,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_stream_common/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -811,12 +811,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_common-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_common-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_common-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_common- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -829,43 +829,43 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream_common \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream_common \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT rabbit_stream_core run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_core ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_stream_core ]]; then echo "ct-rabbit_stream_core already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream_common \ ct-rabbit_stream_core \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_core + touch ${{ env.CACHE_PATH }}/ct-rabbit_stream_core fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_common-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -887,7 +887,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/trust_store_http/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -903,12 +903,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-trust_store_http-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-trust_store_http-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-trust_store_http-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-trust_store_http-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-trust_store_http- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-trust_store_http-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-trust_store_http-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-trust_store_http-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -921,33 +921,33 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/trust_store_http \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: true - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/trust_store_http \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-trust_store_http-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-trust_store_http-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -978,7 +978,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbit/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: INSTALL DOTNET run: | @@ -998,12 +998,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -1016,1443 +1016,1443 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT amqp_address run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-amqp_address ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-amqp_address ]]; then echo "ct-amqp_address already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-amqp_address \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-amqp_address + touch ${{ env.CACHE_PATH }}/ct-amqp_address fi - name: CT amqp_auth run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-amqp_auth ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-amqp_auth ]]; then echo "ct-amqp_auth already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-amqp_auth \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-amqp_auth + touch ${{ env.CACHE_PATH }}/ct-amqp_auth fi - name: CT amqp_client run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-amqp_client ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-amqp_client ]]; then echo "ct-amqp_client already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-amqp_client \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-amqp_client + touch ${{ env.CACHE_PATH }}/ct-amqp_client fi - name: CT amqp_credit_api_v2 run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-amqp_credit_api_v2 ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-amqp_credit_api_v2 ]]; then echo "ct-amqp_credit_api_v2 already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-amqp_credit_api_v2 \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-amqp_credit_api_v2 + touch ${{ env.CACHE_PATH }}/ct-amqp_credit_api_v2 fi - name: CT amqp_proxy_protocol run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-amqp_proxy_protocol ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-amqp_proxy_protocol ]]; then echo "ct-amqp_proxy_protocol already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-amqp_proxy_protocol \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-amqp_proxy_protocol + touch ${{ env.CACHE_PATH }}/ct-amqp_proxy_protocol fi - name: CT amqp_system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-amqp_system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-amqp_system ]]; then echo "ct-amqp_system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-amqp_system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-amqp_system + touch ${{ env.CACHE_PATH }}/ct-amqp_system fi - name: CT amqqueue_backward_compatibility run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-amqqueue_backward_compatibility ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-amqqueue_backward_compatibility ]]; then echo "ct-amqqueue_backward_compatibility already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-amqqueue_backward_compatibility \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-amqqueue_backward_compatibility + touch ${{ env.CACHE_PATH }}/ct-amqqueue_backward_compatibility fi - name: CT backing_queue run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-backing_queue ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-backing_queue ]]; then echo "ct-backing_queue already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-backing_queue \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-backing_queue + touch ${{ env.CACHE_PATH }}/ct-backing_queue fi - name: CT bindings run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-bindings ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-bindings ]]; then echo "ct-bindings already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-bindings \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-bindings + touch ${{ env.CACHE_PATH }}/ct-bindings fi - name: CT channel_interceptor run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-channel_interceptor ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-channel_interceptor ]]; then echo "ct-channel_interceptor already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-channel_interceptor \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-channel_interceptor + touch ${{ env.CACHE_PATH }}/ct-channel_interceptor fi - name: CT channel_operation_timeout run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-channel_operation_timeout ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-channel_operation_timeout ]]; then echo "ct-channel_operation_timeout already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-channel_operation_timeout \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-channel_operation_timeout + touch ${{ env.CACHE_PATH }}/ct-channel_operation_timeout fi - name: CT classic_queue_prop run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-classic_queue_prop ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-classic_queue_prop ]]; then echo "ct-classic_queue_prop already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-classic_queue_prop \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-classic_queue_prop + touch ${{ env.CACHE_PATH }}/ct-classic_queue_prop fi - name: CT cli_forget_cluster_node run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-cli_forget_cluster_node ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-cli_forget_cluster_node ]]; then echo "ct-cli_forget_cluster_node already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-cli_forget_cluster_node \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-cli_forget_cluster_node + touch ${{ env.CACHE_PATH }}/ct-cli_forget_cluster_node fi - name: CT cluster run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-cluster ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-cluster ]]; then echo "ct-cluster already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-cluster \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-cluster + touch ${{ env.CACHE_PATH }}/ct-cluster fi - name: CT cluster_minority run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-cluster_minority ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-cluster_minority ]]; then echo "ct-cluster_minority already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-cluster_minority \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-cluster_minority + touch ${{ env.CACHE_PATH }}/ct-cluster_minority fi - name: CT clustering_management run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-clustering_management ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-clustering_management ]]; then echo "ct-clustering_management already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-clustering_management \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-clustering_management + touch ${{ env.CACHE_PATH }}/ct-clustering_management fi - name: CT clustering_recovery run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-clustering_recovery ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-clustering_recovery ]]; then echo "ct-clustering_recovery already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-clustering_recovery \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-clustering_recovery + touch ${{ env.CACHE_PATH }}/ct-clustering_recovery fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT confirms_rejects run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-confirms_rejects ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-confirms_rejects ]]; then echo "ct-confirms_rejects already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-confirms_rejects \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-confirms_rejects + touch ${{ env.CACHE_PATH }}/ct-confirms_rejects fi - name: CT consumer_timeout run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-consumer_timeout ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-consumer_timeout ]]; then echo "ct-consumer_timeout already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-consumer_timeout \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-consumer_timeout + touch ${{ env.CACHE_PATH }}/ct-consumer_timeout fi - name: CT crashing_queues run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-crashing_queues ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-crashing_queues ]]; then echo "ct-crashing_queues already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-crashing_queues \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-crashing_queues + touch ${{ env.CACHE_PATH }}/ct-crashing_queues fi - name: CT dead_lettering run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-dead_lettering ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-dead_lettering ]]; then echo "ct-dead_lettering already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-dead_lettering \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-dead_lettering + touch ${{ env.CACHE_PATH }}/ct-dead_lettering fi - name: CT definition_import run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-definition_import ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-definition_import ]]; then echo "ct-definition_import already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-definition_import \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-definition_import + touch ${{ env.CACHE_PATH }}/ct-definition_import fi - name: CT deprecated_features run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-deprecated_features ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-deprecated_features ]]; then echo "ct-deprecated_features already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-deprecated_features \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-deprecated_features + touch ${{ env.CACHE_PATH }}/ct-deprecated_features fi - name: CT direct_exchange_routing_v2 run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-direct_exchange_routing_v2 ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-direct_exchange_routing_v2 ]]; then echo "ct-direct_exchange_routing_v2 already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-direct_exchange_routing_v2 \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-direct_exchange_routing_v2 + touch ${{ env.CACHE_PATH }}/ct-direct_exchange_routing_v2 fi - name: CT disconnect_detected_during_alarm run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-disconnect_detected_during_alarm ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-disconnect_detected_during_alarm ]]; then echo "ct-disconnect_detected_during_alarm already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-disconnect_detected_during_alarm \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-disconnect_detected_during_alarm + touch ${{ env.CACHE_PATH }}/ct-disconnect_detected_during_alarm fi - name: CT disk_monitor run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-disk_monitor ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-disk_monitor ]]; then echo "ct-disk_monitor already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-disk_monitor \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-disk_monitor + touch ${{ env.CACHE_PATH }}/ct-disk_monitor fi - name: CT dynamic_ha run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-dynamic_ha ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-dynamic_ha ]]; then echo "ct-dynamic_ha already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-dynamic_ha \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-dynamic_ha + touch ${{ env.CACHE_PATH }}/ct-dynamic_ha fi - name: CT dynamic_qq run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-dynamic_qq ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-dynamic_qq ]]; then echo "ct-dynamic_qq already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-dynamic_qq \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-dynamic_qq + touch ${{ env.CACHE_PATH }}/ct-dynamic_qq fi - name: CT eager_sync run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-eager_sync ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-eager_sync ]]; then echo "ct-eager_sync already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-eager_sync \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-eager_sync + touch ${{ env.CACHE_PATH }}/ct-eager_sync fi - name: CT exchanges run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-exchanges ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-exchanges ]]; then echo "ct-exchanges already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-exchanges \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-exchanges + touch ${{ env.CACHE_PATH }}/ct-exchanges fi - name: CT feature_flags run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-feature_flags ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-feature_flags ]]; then echo "ct-feature_flags already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-feature_flags \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-feature_flags + touch ${{ env.CACHE_PATH }}/ct-feature_flags fi - name: CT feature_flags_v2 run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-feature_flags_v2 ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-feature_flags_v2 ]]; then echo "ct-feature_flags_v2 already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-feature_flags_v2 \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-feature_flags_v2 + touch ${{ env.CACHE_PATH }}/ct-feature_flags_v2 fi - name: CT feature_flags_with_unpriveleged_user run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-feature_flags_with_unpriveleged_user ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-feature_flags_with_unpriveleged_user ]]; then echo "ct-feature_flags_with_unpriveleged_user already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-feature_flags_with_unpriveleged_user \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-feature_flags_with_unpriveleged_user + touch ${{ env.CACHE_PATH }}/ct-feature_flags_with_unpriveleged_user fi - name: CT list_consumers_sanity_check run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-list_consumers_sanity_check ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-list_consumers_sanity_check ]]; then echo "ct-list_consumers_sanity_check already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-list_consumers_sanity_check \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-list_consumers_sanity_check + touch ${{ env.CACHE_PATH }}/ct-list_consumers_sanity_check fi - name: CT list_queues_online_and_offline run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-list_queues_online_and_offline ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-list_queues_online_and_offline ]]; then echo "ct-list_queues_online_and_offline already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-list_queues_online_and_offline \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-list_queues_online_and_offline + touch ${{ env.CACHE_PATH }}/ct-list_queues_online_and_offline fi - name: CT logging run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-logging ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-logging ]]; then echo "ct-logging already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-logging \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-logging + touch ${{ env.CACHE_PATH }}/ct-logging fi - name: CT lqueue run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-lqueue ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-lqueue ]]; then echo "ct-lqueue already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-lqueue \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-lqueue + touch ${{ env.CACHE_PATH }}/ct-lqueue fi - name: CT maintenance_mode run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-maintenance_mode ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-maintenance_mode ]]; then echo "ct-maintenance_mode already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-maintenance_mode \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-maintenance_mode + touch ${{ env.CACHE_PATH }}/ct-maintenance_mode fi - name: CT many_node_ha run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-many_node_ha ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-many_node_ha ]]; then echo "ct-many_node_ha already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-many_node_ha \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-many_node_ha + touch ${{ env.CACHE_PATH }}/ct-many_node_ha fi - name: CT mc_unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-mc_unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-mc_unit ]]; then echo "ct-mc_unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-mc_unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-mc_unit + touch ${{ env.CACHE_PATH }}/ct-mc_unit fi - name: CT message_size_limit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-message_size_limit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-message_size_limit ]]; then echo "ct-message_size_limit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-message_size_limit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-message_size_limit + touch ${{ env.CACHE_PATH }}/ct-message_size_limit fi - name: CT metadata_store_clustering run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-metadata_store_clustering ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-metadata_store_clustering ]]; then echo "ct-metadata_store_clustering already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-metadata_store_clustering \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-metadata_store_clustering + touch ${{ env.CACHE_PATH }}/ct-metadata_store_clustering fi - name: CT metadata_store_migration run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-metadata_store_migration ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-metadata_store_migration ]]; then echo "ct-metadata_store_migration already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-metadata_store_migration \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-metadata_store_migration + touch ${{ env.CACHE_PATH }}/ct-metadata_store_migration fi - name: CT metadata_store_phase1 run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-metadata_store_phase1 ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-metadata_store_phase1 ]]; then echo "ct-metadata_store_phase1 already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-metadata_store_phase1 \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-metadata_store_phase1 + touch ${{ env.CACHE_PATH }}/ct-metadata_store_phase1 fi - name: CT metrics run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-metrics ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-metrics ]]; then echo "ct-metrics already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-metrics \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-metrics + touch ${{ env.CACHE_PATH }}/ct-metrics fi - name: CT mirrored_supervisor run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-mirrored_supervisor ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-mirrored_supervisor ]]; then echo "ct-mirrored_supervisor already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-mirrored_supervisor \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-mirrored_supervisor + touch ${{ env.CACHE_PATH }}/ct-mirrored_supervisor fi - name: CT msg_store run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-msg_store ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-msg_store ]]; then echo "ct-msg_store already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-msg_store \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-msg_store + touch ${{ env.CACHE_PATH }}/ct-msg_store fi - name: CT peer_discovery_classic_config run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-peer_discovery_classic_config ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-peer_discovery_classic_config ]]; then echo "ct-peer_discovery_classic_config already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-peer_discovery_classic_config \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-peer_discovery_classic_config + touch ${{ env.CACHE_PATH }}/ct-peer_discovery_classic_config fi - name: CT peer_discovery_dns run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-peer_discovery_dns ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-peer_discovery_dns ]]; then echo "ct-peer_discovery_dns already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-peer_discovery_dns \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-peer_discovery_dns + touch ${{ env.CACHE_PATH }}/ct-peer_discovery_dns fi - name: CT peer_discovery_tmp_hidden_node run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-peer_discovery_tmp_hidden_node ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-peer_discovery_tmp_hidden_node ]]; then echo "ct-peer_discovery_tmp_hidden_node already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-peer_discovery_tmp_hidden_node \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-peer_discovery_tmp_hidden_node + touch ${{ env.CACHE_PATH }}/ct-peer_discovery_tmp_hidden_node fi - name: CT per_node_limit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-per_node_limit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-per_node_limit ]]; then echo "ct-per_node_limit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-per_node_limit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-per_node_limit + touch ${{ env.CACHE_PATH }}/ct-per_node_limit fi - name: CT per_user_connection_channel_limit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-per_user_connection_channel_limit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-per_user_connection_channel_limit ]]; then echo "ct-per_user_connection_channel_limit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-per_user_connection_channel_limit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-per_user_connection_channel_limit + touch ${{ env.CACHE_PATH }}/ct-per_user_connection_channel_limit fi - name: CT per_user_connection_channel_limit_partitions run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-per_user_connection_channel_limit_partitions ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-per_user_connection_channel_limit_partitions ]]; then echo "ct-per_user_connection_channel_limit_partitions already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-per_user_connection_channel_limit_partitions \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-per_user_connection_channel_limit_partitions + touch ${{ env.CACHE_PATH }}/ct-per_user_connection_channel_limit_partitions fi - name: CT per_user_connection_channel_tracking run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-per_user_connection_channel_tracking ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-per_user_connection_channel_tracking ]]; then echo "ct-per_user_connection_channel_tracking already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-per_user_connection_channel_tracking \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-per_user_connection_channel_tracking + touch ${{ env.CACHE_PATH }}/ct-per_user_connection_channel_tracking fi - name: CT per_user_connection_tracking run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-per_user_connection_tracking ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-per_user_connection_tracking ]]; then echo "ct-per_user_connection_tracking already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-per_user_connection_tracking \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-per_user_connection_tracking + touch ${{ env.CACHE_PATH }}/ct-per_user_connection_tracking fi - name: CT per_vhost_connection_limit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-per_vhost_connection_limit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-per_vhost_connection_limit ]]; then echo "ct-per_vhost_connection_limit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-per_vhost_connection_limit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-per_vhost_connection_limit + touch ${{ env.CACHE_PATH }}/ct-per_vhost_connection_limit fi - name: CT per_vhost_connection_limit_partitions run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-per_vhost_connection_limit_partitions ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-per_vhost_connection_limit_partitions ]]; then echo "ct-per_vhost_connection_limit_partitions already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-per_vhost_connection_limit_partitions \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-per_vhost_connection_limit_partitions + touch ${{ env.CACHE_PATH }}/ct-per_vhost_connection_limit_partitions fi - name: CT per_vhost_msg_store run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-per_vhost_msg_store ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-per_vhost_msg_store ]]; then echo "ct-per_vhost_msg_store already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-per_vhost_msg_store \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-per_vhost_msg_store + touch ${{ env.CACHE_PATH }}/ct-per_vhost_msg_store fi - name: CT per_vhost_queue_limit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-per_vhost_queue_limit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-per_vhost_queue_limit ]]; then echo "ct-per_vhost_queue_limit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-per_vhost_queue_limit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-per_vhost_queue_limit + touch ${{ env.CACHE_PATH }}/ct-per_vhost_queue_limit fi - name: CT policy run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-policy ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-policy ]]; then echo "ct-policy already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-policy \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-policy + touch ${{ env.CACHE_PATH }}/ct-policy fi - name: CT priority_queue run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-priority_queue ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-priority_queue ]]; then echo "ct-priority_queue already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-priority_queue \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-priority_queue + touch ${{ env.CACHE_PATH }}/ct-priority_queue fi - name: CT priority_queue_recovery run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-priority_queue_recovery ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-priority_queue_recovery ]]; then echo "ct-priority_queue_recovery already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-priority_queue_recovery \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-priority_queue_recovery + touch ${{ env.CACHE_PATH }}/ct-priority_queue_recovery fi - name: CT product_info run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-product_info ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-product_info ]]; then echo "ct-product_info already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-product_info \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-product_info + touch ${{ env.CACHE_PATH }}/ct-product_info fi - name: CT proxy_protocol run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-proxy_protocol ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-proxy_protocol ]]; then echo "ct-proxy_protocol already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-proxy_protocol \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-proxy_protocol + touch ${{ env.CACHE_PATH }}/ct-proxy_protocol fi - name: CT publisher_confirms_parallel run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-publisher_confirms_parallel ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-publisher_confirms_parallel ]]; then echo "ct-publisher_confirms_parallel already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-publisher_confirms_parallel \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-publisher_confirms_parallel + touch ${{ env.CACHE_PATH }}/ct-publisher_confirms_parallel fi - name: CT queue_length_limits run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-queue_length_limits ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-queue_length_limits ]]; then echo "ct-queue_length_limits already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-queue_length_limits \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-queue_length_limits + touch ${{ env.CACHE_PATH }}/ct-queue_length_limits fi - name: CT queue_master_location run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-queue_master_location ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-queue_master_location ]]; then echo "ct-queue_master_location already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-queue_master_location \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-queue_master_location + touch ${{ env.CACHE_PATH }}/ct-queue_master_location fi - name: CT queue_parallel run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-queue_parallel ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-queue_parallel ]]; then echo "ct-queue_parallel already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-queue_parallel \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-queue_parallel + touch ${{ env.CACHE_PATH }}/ct-queue_parallel fi - name: CT queue_type run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-queue_type ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-queue_type ]]; then echo "ct-queue_type already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-queue_type \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-queue_type + touch ${{ env.CACHE_PATH }}/ct-queue_type fi - name: CT quorum_queue run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-quorum_queue ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-quorum_queue ]]; then echo "ct-quorum_queue already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-quorum_queue \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-quorum_queue + touch ${{ env.CACHE_PATH }}/ct-quorum_queue fi - name: CT quorum_queue_member_reconciliation run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-quorum_queue_member_reconciliation ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-quorum_queue_member_reconciliation ]]; then echo "ct-quorum_queue_member_reconciliation already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-quorum_queue_member_reconciliation \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-quorum_queue_member_reconciliation + touch ${{ env.CACHE_PATH }}/ct-quorum_queue_member_reconciliation fi - name: CT rabbit_access_control run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_access_control ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_access_control ]]; then echo "ct-rabbit_access_control already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_access_control \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_access_control + touch ${{ env.CACHE_PATH }}/ct-rabbit_access_control fi - name: CT rabbit_confirms run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_confirms ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_confirms ]]; then echo "ct-rabbit_confirms already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_confirms \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_confirms + touch ${{ env.CACHE_PATH }}/ct-rabbit_confirms fi - name: CT rabbit_core_metrics_gc run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_core_metrics_gc ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_core_metrics_gc ]]; then echo "ct-rabbit_core_metrics_gc already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_core_metrics_gc \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_core_metrics_gc + touch ${{ env.CACHE_PATH }}/ct-rabbit_core_metrics_gc fi - name: CT rabbit_cuttlefish run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_cuttlefish ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_cuttlefish ]]; then echo "ct-rabbit_cuttlefish already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_cuttlefish \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_cuttlefish + touch ${{ env.CACHE_PATH }}/ct-rabbit_cuttlefish fi - name: CT rabbit_db_binding run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_db_binding ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_db_binding ]]; then echo "ct-rabbit_db_binding already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_db_binding \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_db_binding + touch ${{ env.CACHE_PATH }}/ct-rabbit_db_binding fi - name: CT rabbit_db_exchange run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_db_exchange ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_db_exchange ]]; then echo "ct-rabbit_db_exchange already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_db_exchange \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_db_exchange + touch ${{ env.CACHE_PATH }}/ct-rabbit_db_exchange fi - name: CT rabbit_db_maintenance run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_db_maintenance ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_db_maintenance ]]; then echo "ct-rabbit_db_maintenance already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_db_maintenance \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_db_maintenance + touch ${{ env.CACHE_PATH }}/ct-rabbit_db_maintenance fi - name: CT rabbit_db_msup run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_db_msup ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_db_msup ]]; then echo "ct-rabbit_db_msup already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_db_msup \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_db_msup + touch ${{ env.CACHE_PATH }}/ct-rabbit_db_msup fi - name: CT rabbit_db_policy run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_db_policy ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_db_policy ]]; then echo "ct-rabbit_db_policy already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_db_policy \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_db_policy + touch ${{ env.CACHE_PATH }}/ct-rabbit_db_policy fi - name: CT rabbit_db_queue run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_db_queue ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_db_queue ]]; then echo "ct-rabbit_db_queue already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_db_queue \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_db_queue + touch ${{ env.CACHE_PATH }}/ct-rabbit_db_queue fi - name: CT rabbit_db_topic_exchange run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_db_topic_exchange ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_db_topic_exchange ]]; then echo "ct-rabbit_db_topic_exchange already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_db_topic_exchange \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_db_topic_exchange + touch ${{ env.CACHE_PATH }}/ct-rabbit_db_topic_exchange fi - name: CT rabbit_direct_reply_to_prop run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_direct_reply_to_prop ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_direct_reply_to_prop ]]; then echo "ct-rabbit_direct_reply_to_prop already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_direct_reply_to_prop \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_direct_reply_to_prop + touch ${{ env.CACHE_PATH }}/ct-rabbit_direct_reply_to_prop fi - name: CT rabbit_fifo run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_fifo ]]; then echo "ct-rabbit_fifo already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_fifo \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo + touch ${{ env.CACHE_PATH }}/ct-rabbit_fifo fi - name: CT rabbit_fifo_dlx run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo_dlx ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_fifo_dlx ]]; then echo "ct-rabbit_fifo_dlx already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_fifo_dlx \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo_dlx + touch ${{ env.CACHE_PATH }}/ct-rabbit_fifo_dlx fi - name: CT rabbit_fifo_dlx_integration run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo_dlx_integration ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_fifo_dlx_integration ]]; then echo "ct-rabbit_fifo_dlx_integration already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_fifo_dlx_integration \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo_dlx_integration + touch ${{ env.CACHE_PATH }}/ct-rabbit_fifo_dlx_integration fi - name: CT rabbit_fifo_int run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo_int ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_fifo_int ]]; then echo "ct-rabbit_fifo_int already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_fifo_int \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo_int + touch ${{ env.CACHE_PATH }}/ct-rabbit_fifo_int fi - name: CT rabbit_fifo_prop run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo_prop ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_fifo_prop ]]; then echo "ct-rabbit_fifo_prop already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_fifo_prop \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo_prop + touch ${{ env.CACHE_PATH }}/ct-rabbit_fifo_prop fi - name: CT rabbit_fifo_v0 run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo_v0 ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_fifo_v0 ]]; then echo "ct-rabbit_fifo_v0 already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_fifo_v0 \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_fifo_v0 + touch ${{ env.CACHE_PATH }}/ct-rabbit_fifo_v0 fi - name: CT rabbit_message_interceptor run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_message_interceptor ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_message_interceptor ]]; then echo "ct-rabbit_message_interceptor already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_message_interceptor \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_message_interceptor + touch ${{ env.CACHE_PATH }}/ct-rabbit_message_interceptor fi - name: CT rabbit_msg_record run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_msg_record ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_msg_record ]]; then echo "ct-rabbit_msg_record already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_msg_record \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_msg_record + touch ${{ env.CACHE_PATH }}/ct-rabbit_msg_record fi - name: CT rabbit_stream_coordinator run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_coordinator ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_stream_coordinator ]]; then echo "ct-rabbit_stream_coordinator already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_stream_coordinator \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_coordinator + touch ${{ env.CACHE_PATH }}/ct-rabbit_stream_coordinator fi - name: CT rabbit_stream_queue run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_queue ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_stream_queue ]]; then echo "ct-rabbit_stream_queue already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_stream_queue \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_queue + touch ${{ env.CACHE_PATH }}/ct-rabbit_stream_queue fi - name: CT rabbit_stream_sac_coordinator run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_sac_coordinator ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_stream_sac_coordinator ]]; then echo "ct-rabbit_stream_sac_coordinator already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbit_stream_sac_coordinator \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_sac_coordinator + touch ${{ env.CACHE_PATH }}/ct-rabbit_stream_sac_coordinator fi - name: CT rabbitmq_4_0_deprecations run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbitmq_4_0_deprecations ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbitmq_4_0_deprecations ]]; then echo "ct-rabbitmq_4_0_deprecations already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbitmq_4_0_deprecations \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbitmq_4_0_deprecations + touch ${{ env.CACHE_PATH }}/ct-rabbitmq_4_0_deprecations fi - name: CT rabbitmq_queues_cli_integration run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbitmq_queues_cli_integration ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbitmq_queues_cli_integration ]]; then echo "ct-rabbitmq_queues_cli_integration already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbitmq_queues_cli_integration \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbitmq_queues_cli_integration + touch ${{ env.CACHE_PATH }}/ct-rabbitmq_queues_cli_integration fi - name: CT rabbitmqctl_integration run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbitmqctl_integration ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbitmqctl_integration ]]; then echo "ct-rabbitmqctl_integration already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbitmqctl_integration \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbitmqctl_integration + touch ${{ env.CACHE_PATH }}/ct-rabbitmqctl_integration fi - name: CT rabbitmqctl_shutdown run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbitmqctl_shutdown ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbitmqctl_shutdown ]]; then echo "ct-rabbitmqctl_shutdown already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-rabbitmqctl_shutdown \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbitmqctl_shutdown + touch ${{ env.CACHE_PATH }}/ct-rabbitmqctl_shutdown fi - name: CT routing run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-routing ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-routing ]]; then echo "ct-routing already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-routing \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-routing + touch ${{ env.CACHE_PATH }}/ct-routing fi - name: CT runtime_parameters run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-runtime_parameters ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-runtime_parameters ]]; then echo "ct-runtime_parameters already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-runtime_parameters \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-runtime_parameters + touch ${{ env.CACHE_PATH }}/ct-runtime_parameters fi - name: CT signal_handling run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-signal_handling ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-signal_handling ]]; then echo "ct-signal_handling already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-signal_handling \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-signal_handling + touch ${{ env.CACHE_PATH }}/ct-signal_handling fi - name: CT simple_ha run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-simple_ha ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-simple_ha ]]; then echo "ct-simple_ha already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-simple_ha \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-simple_ha + touch ${{ env.CACHE_PATH }}/ct-simple_ha fi - name: CT single_active_consumer run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-single_active_consumer ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-single_active_consumer ]]; then echo "ct-single_active_consumer already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-single_active_consumer \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-single_active_consumer + touch ${{ env.CACHE_PATH }}/ct-single_active_consumer fi - name: CT sync_detection run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-sync_detection ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-sync_detection ]]; then echo "ct-sync_detection already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-sync_detection \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-sync_detection + touch ${{ env.CACHE_PATH }}/ct-sync_detection fi - name: CT term_to_binary_compat_prop run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-term_to_binary_compat_prop ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-term_to_binary_compat_prop ]]; then echo "ct-term_to_binary_compat_prop already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-term_to_binary_compat_prop \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-term_to_binary_compat_prop + touch ${{ env.CACHE_PATH }}/ct-term_to_binary_compat_prop fi - name: CT topic_permission run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-topic_permission ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-topic_permission ]]; then echo "ct-topic_permission already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-topic_permission \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-topic_permission + touch ${{ env.CACHE_PATH }}/ct-topic_permission fi - name: CT transactions run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-transactions ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-transactions ]]; then echo "ct-transactions already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-transactions \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-transactions + touch ${{ env.CACHE_PATH }}/ct-transactions fi - name: CT unicode run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unicode ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unicode ]]; then echo "ct-unicode already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unicode \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unicode + touch ${{ env.CACHE_PATH }}/ct-unicode fi - name: CT unit_access_control run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_access_control ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_access_control ]]; then echo "ct-unit_access_control already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_access_control \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_access_control + touch ${{ env.CACHE_PATH }}/ct-unit_access_control fi - name: CT unit_access_control_authn_authz_context_propagation run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_access_control_authn_authz_context_propagation ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_access_control_authn_authz_context_propagation ]]; then echo "ct-unit_access_control_authn_authz_context_propagation already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_access_control_authn_authz_context_propagation \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_access_control_authn_authz_context_propagation + touch ${{ env.CACHE_PATH }}/ct-unit_access_control_authn_authz_context_propagation fi - name: CT unit_access_control_credential_validation run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_access_control_credential_validation ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_access_control_credential_validation ]]; then echo "ct-unit_access_control_credential_validation already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_access_control_credential_validation \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_access_control_credential_validation + touch ${{ env.CACHE_PATH }}/ct-unit_access_control_credential_validation fi - name: CT unit_amqp091_content_framing run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_amqp091_content_framing ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_amqp091_content_framing ]]; then echo "ct-unit_amqp091_content_framing already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_amqp091_content_framing \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_amqp091_content_framing + touch ${{ env.CACHE_PATH }}/ct-unit_amqp091_content_framing fi - name: CT unit_amqp091_server_properties run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_amqp091_server_properties ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_amqp091_server_properties ]]; then echo "ct-unit_amqp091_server_properties already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_amqp091_server_properties \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_amqp091_server_properties + touch ${{ env.CACHE_PATH }}/ct-unit_amqp091_server_properties fi - name: CT unit_app_management run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_app_management ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_app_management ]]; then echo "ct-unit_app_management already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_app_management \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_app_management + touch ${{ env.CACHE_PATH }}/ct-unit_app_management fi - name: CT unit_classic_mirrored_queue_sync_throttling run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_classic_mirrored_queue_sync_throttling ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_classic_mirrored_queue_sync_throttling ]]; then echo "ct-unit_classic_mirrored_queue_sync_throttling already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_classic_mirrored_queue_sync_throttling \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_classic_mirrored_queue_sync_throttling + touch ${{ env.CACHE_PATH }}/ct-unit_classic_mirrored_queue_sync_throttling fi - name: CT unit_classic_mirrored_queue_throughput run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_classic_mirrored_queue_throughput ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_classic_mirrored_queue_throughput ]]; then echo "ct-unit_classic_mirrored_queue_throughput already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_classic_mirrored_queue_throughput \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_classic_mirrored_queue_throughput + touch ${{ env.CACHE_PATH }}/ct-unit_classic_mirrored_queue_throughput fi - name: CT unit_cluster_formation_locking_mocks run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_cluster_formation_locking_mocks ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_cluster_formation_locking_mocks ]]; then echo "ct-unit_cluster_formation_locking_mocks already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_cluster_formation_locking_mocks \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_cluster_formation_locking_mocks + touch ${{ env.CACHE_PATH }}/ct-unit_cluster_formation_locking_mocks fi - name: CT unit_cluster_formation_sort_nodes run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_cluster_formation_sort_nodes ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_cluster_formation_sort_nodes ]]; then echo "ct-unit_cluster_formation_sort_nodes already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_cluster_formation_sort_nodes \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_cluster_formation_sort_nodes + touch ${{ env.CACHE_PATH }}/ct-unit_cluster_formation_sort_nodes fi - name: CT unit_collections run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_collections ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_collections ]]; then echo "ct-unit_collections already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_collections \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_collections + touch ${{ env.CACHE_PATH }}/ct-unit_collections fi - name: CT unit_config_value_encryption run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_config_value_encryption ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_config_value_encryption ]]; then echo "ct-unit_config_value_encryption already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_config_value_encryption \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_config_value_encryption + touch ${{ env.CACHE_PATH }}/ct-unit_config_value_encryption fi - name: CT unit_connection_tracking run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_connection_tracking ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_connection_tracking ]]; then echo "ct-unit_connection_tracking already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_connection_tracking \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_connection_tracking + touch ${{ env.CACHE_PATH }}/ct-unit_connection_tracking fi - name: CT unit_credit_flow run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_credit_flow ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_credit_flow ]]; then echo "ct-unit_credit_flow already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_credit_flow \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_credit_flow + touch ${{ env.CACHE_PATH }}/ct-unit_credit_flow fi - name: CT unit_disk_monitor run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_disk_monitor ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_disk_monitor ]]; then echo "ct-unit_disk_monitor already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_disk_monitor \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_disk_monitor + touch ${{ env.CACHE_PATH }}/ct-unit_disk_monitor fi - name: CT unit_file_handle_cache run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_file_handle_cache ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_file_handle_cache ]]; then echo "ct-unit_file_handle_cache already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_file_handle_cache \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_file_handle_cache + touch ${{ env.CACHE_PATH }}/ct-unit_file_handle_cache fi - name: CT unit_gen_server2 run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_gen_server2 ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_gen_server2 ]]; then echo "ct-unit_gen_server2 already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_gen_server2 \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_gen_server2 + touch ${{ env.CACHE_PATH }}/ct-unit_gen_server2 fi - name: CT unit_gm run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_gm ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_gm ]]; then echo "ct-unit_gm already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_gm \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_gm + touch ${{ env.CACHE_PATH }}/ct-unit_gm fi - name: CT unit_log_management run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_log_management ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_log_management ]]; then echo "ct-unit_log_management already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_log_management \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_log_management + touch ${{ env.CACHE_PATH }}/ct-unit_log_management fi - name: CT unit_operator_policy run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_operator_policy ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_operator_policy ]]; then echo "ct-unit_operator_policy already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_operator_policy \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_operator_policy + touch ${{ env.CACHE_PATH }}/ct-unit_operator_policy fi - name: CT unit_pg_local run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_pg_local ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_pg_local ]]; then echo "ct-unit_pg_local already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_pg_local \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_pg_local + touch ${{ env.CACHE_PATH }}/ct-unit_pg_local fi - name: CT unit_plugin_directories run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_plugin_directories ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_plugin_directories ]]; then echo "ct-unit_plugin_directories already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_plugin_directories \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_plugin_directories + touch ${{ env.CACHE_PATH }}/ct-unit_plugin_directories fi - name: CT unit_plugin_versioning run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_plugin_versioning ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_plugin_versioning ]]; then echo "ct-unit_plugin_versioning already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_plugin_versioning \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_plugin_versioning + touch ${{ env.CACHE_PATH }}/ct-unit_plugin_versioning fi - name: CT unit_policy_validators run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_policy_validators ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_policy_validators ]]; then echo "ct-unit_policy_validators already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_policy_validators \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_policy_validators + touch ${{ env.CACHE_PATH }}/ct-unit_policy_validators fi - name: CT unit_priority_queue run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_priority_queue ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_priority_queue ]]; then echo "ct-unit_priority_queue already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_priority_queue \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_priority_queue + touch ${{ env.CACHE_PATH }}/ct-unit_priority_queue fi - name: CT unit_queue_consumers run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_queue_consumers ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_queue_consumers ]]; then echo "ct-unit_queue_consumers already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_queue_consumers \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_queue_consumers + touch ${{ env.CACHE_PATH }}/ct-unit_queue_consumers fi - name: CT unit_quorum_queue run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_quorum_queue ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_quorum_queue ]]; then echo "ct-unit_quorum_queue already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_quorum_queue \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_quorum_queue + touch ${{ env.CACHE_PATH }}/ct-unit_quorum_queue fi - name: CT unit_stats_and_metrics run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_stats_and_metrics ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_stats_and_metrics ]]; then echo "ct-unit_stats_and_metrics already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_stats_and_metrics \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_stats_and_metrics + touch ${{ env.CACHE_PATH }}/ct-unit_stats_and_metrics fi - name: CT unit_supervisor2 run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_supervisor2 ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_supervisor2 ]]; then echo "ct-unit_supervisor2 already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_supervisor2 \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_supervisor2 + touch ${{ env.CACHE_PATH }}/ct-unit_supervisor2 fi - name: CT unit_vm_memory_monitor run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_vm_memory_monitor ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_vm_memory_monitor ]]; then echo "ct-unit_vm_memory_monitor already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-unit_vm_memory_monitor \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_vm_memory_monitor + touch ${{ env.CACHE_PATH }}/ct-unit_vm_memory_monitor fi - name: CT upgrade_preparation run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-upgrade_preparation ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-upgrade_preparation ]]; then echo "ct-upgrade_preparation already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-upgrade_preparation \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-upgrade_preparation + touch ${{ env.CACHE_PATH }}/ct-upgrade_preparation fi - name: CT vhost run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-vhost ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-vhost ]]; then echo "ct-vhost already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbit \ ct-vhost \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-vhost + touch ${{ env.CACHE_PATH }}/ct-vhost fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbit-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -2475,7 +2475,7 @@ jobs: - khepri timeout-minutes: 20 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_cli/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -2491,12 +2491,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: (@= cache_prefix('rabbitmq_cli') @)-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli- + (@= cache_prefix('rabbitmq_cli') @)-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + (@= cache_prefix('rabbitmq_cli') @)-${{ github.run_number }}- + (@= cache_prefix('rabbitmq_cli') @)- - name: PRINT CACHED RESULTS run: | set -x @@ -2509,23 +2509,23 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: TEST id: test run: | - if [[ -f ${{ env.SUCCESS_PATH }}/checks ]]; then + if [[ -f ${{ env.CACHE_PATH }}/checks ]]; then echo "checks already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_cli \ checks \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/checks + touch ${{ env.CACHE_PATH }}/checks fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_cli-${{ github.run_number }}-${{ github.run_attempt }} + key: (@= cache_prefix('rabbitmq_cli') @)-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -2548,7 +2548,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_amqp_client/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -2564,12 +2564,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp_client-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp_client-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp_client-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp_client- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -2582,43 +2582,43 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_amqp_client \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_amqp_client \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT management run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-management ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-management ]]; then echo "ct-management already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_amqp_client \ ct-management \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-management + touch ${{ env.CACHE_PATH }}/ct-management fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp_client-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp_client-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -2640,7 +2640,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_amqp1_0/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -2656,12 +2656,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp1_0-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp1_0-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp1_0-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp1_0-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp1_0- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp1_0-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp1_0-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp1_0-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -2674,33 +2674,33 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_amqp1_0 \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_amqp1_0 \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp1_0-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_amqp1_0-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -2722,7 +2722,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_auth_backend_cache/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -2738,12 +2738,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_cache-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_cache-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_cache-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_cache-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_cache- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_cache-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_cache-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_cache-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -2756,63 +2756,63 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_cache \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_cache \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_cache \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT rabbit_auth_backend_cache run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_auth_backend_cache ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_auth_backend_cache ]]; then echo "ct-rabbit_auth_backend_cache already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_cache \ ct-rabbit_auth_backend_cache \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_auth_backend_cache + touch ${{ env.CACHE_PATH }}/ct-rabbit_auth_backend_cache fi - name: CT rabbit_auth_cache run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_auth_cache ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_auth_cache ]]; then echo "ct-rabbit_auth_cache already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_cache \ ct-rabbit_auth_cache \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_auth_cache + touch ${{ env.CACHE_PATH }}/ct-rabbit_auth_cache fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_cache-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_cache-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -2834,7 +2834,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_auth_backend_http/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -2850,12 +2850,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_http-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_http-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_http-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_http-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_http- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_http-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_http-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_http-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -2868,63 +2868,63 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_http \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_http \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT auth run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-auth ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-auth ]]; then echo "ct-auth already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_http \ ct-auth \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-auth + touch ${{ env.CACHE_PATH }}/ct-auth fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_http \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit ]]; then echo "ct-unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_http \ ct-unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit + touch ${{ env.CACHE_PATH }}/ct-unit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_http-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_http-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -2946,7 +2946,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_auth_backend_ldap/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -2962,12 +2962,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_ldap-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_ldap-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_ldap-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_ldap-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_ldap- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_ldap-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_ldap-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_ldap-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -2980,63 +2980,63 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_ldap \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_ldap \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_ldap \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-system ]]; then echo "ct-system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_ldap \ ct-system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-system + touch ${{ env.CACHE_PATH }}/ct-system fi - name: CT unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit ]]; then echo "ct-unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_ldap \ ct-unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit + touch ${{ env.CACHE_PATH }}/ct-unit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_ldap-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_ldap-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -3058,7 +3058,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_auth_backend_oauth2/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -3074,12 +3074,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_oauth2-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_oauth2-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_oauth2-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_oauth2-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_oauth2- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_oauth2-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_oauth2-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_oauth2-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -3092,123 +3092,123 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_oauth2 \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_oauth2 \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT add_signing_key_command run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-add_signing_key_command ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-add_signing_key_command ]]; then echo "ct-add_signing_key_command already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_oauth2 \ ct-add_signing_key_command \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-add_signing_key_command + touch ${{ env.CACHE_PATH }}/ct-add_signing_key_command fi - name: CT add_uaa_key_command run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-add_uaa_key_command ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-add_uaa_key_command ]]; then echo "ct-add_uaa_key_command already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_oauth2 \ ct-add_uaa_key_command \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-add_uaa_key_command + touch ${{ env.CACHE_PATH }}/ct-add_uaa_key_command fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_oauth2 \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT jwks run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-jwks ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-jwks ]]; then echo "ct-jwks already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_oauth2 \ ct-jwks \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-jwks + touch ${{ env.CACHE_PATH }}/ct-jwks fi - name: CT rabbit_oauth2_config run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_oauth2_config ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_oauth2_config ]]; then echo "ct-rabbit_oauth2_config already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_oauth2 \ ct-rabbit_oauth2_config \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_oauth2_config + touch ${{ env.CACHE_PATH }}/ct-rabbit_oauth2_config fi - name: CT scope run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-scope ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-scope ]]; then echo "ct-scope already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_oauth2 \ ct-scope \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-scope + touch ${{ env.CACHE_PATH }}/ct-scope fi - name: CT system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-system ]]; then echo "ct-system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_oauth2 \ ct-system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-system + touch ${{ env.CACHE_PATH }}/ct-system fi - name: CT unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit ]]; then echo "ct-unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_oauth2 \ ct-unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit + touch ${{ env.CACHE_PATH }}/ct-unit fi - name: CT wildcard_match run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-wildcard_match ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-wildcard_match ]]; then echo "ct-wildcard_match already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_backend_oauth2 \ ct-wildcard_match \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-wildcard_match + touch ${{ env.CACHE_PATH }}/ct-wildcard_match fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_oauth2-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_backend_oauth2-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -3230,7 +3230,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_auth_mechanism_ssl/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -3246,12 +3246,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_mechanism_ssl-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_mechanism_ssl-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_mechanism_ssl-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_mechanism_ssl-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_mechanism_ssl- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_mechanism_ssl-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_mechanism_ssl-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_mechanism_ssl-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -3264,33 +3264,33 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_mechanism_ssl \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_auth_mechanism_ssl \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_mechanism_ssl-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_auth_mechanism_ssl-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -3312,7 +3312,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_aws/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -3328,12 +3328,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_aws-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_aws-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_aws-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_aws-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_aws- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_aws-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_aws-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_aws-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -3346,33 +3346,33 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_aws \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_aws \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_aws-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_aws-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -3394,7 +3394,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_consistent_hash_exchange/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -3410,12 +3410,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_consistent_hash_exchange-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_consistent_hash_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_consistent_hash_exchange-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_consistent_hash_exchange-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_consistent_hash_exchange- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_consistent_hash_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_consistent_hash_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_consistent_hash_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -3428,43 +3428,43 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_consistent_hash_exchange \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_consistent_hash_exchange \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT rabbit_exchange_type_consistent_hash run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_exchange_type_consistent_hash ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_exchange_type_consistent_hash ]]; then echo "ct-rabbit_exchange_type_consistent_hash already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_consistent_hash_exchange \ ct-rabbit_exchange_type_consistent_hash \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_exchange_type_consistent_hash + touch ${{ env.CACHE_PATH }}/ct-rabbit_exchange_type_consistent_hash fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_consistent_hash_exchange-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_consistent_hash_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -3486,7 +3486,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_event_exchange/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -3502,12 +3502,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_event_exchange-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_event_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_event_exchange-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_event_exchange-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_event_exchange- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_event_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_event_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_event_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -3520,63 +3520,63 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_event_exchange \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_event_exchange \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_event_exchange \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-system ]]; then echo "ct-system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_event_exchange \ ct-system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-system + touch ${{ env.CACHE_PATH }}/ct-system fi - name: CT unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit ]]; then echo "ct-unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_event_exchange \ ct-unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit + touch ${{ env.CACHE_PATH }}/ct-unit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_event_exchange-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_event_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -3598,7 +3598,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_federation/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -3614,12 +3614,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -3632,103 +3632,103 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT exchange run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-exchange ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-exchange ]]; then echo "ct-exchange already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation \ ct-exchange \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-exchange + touch ${{ env.CACHE_PATH }}/ct-exchange fi - name: CT federation_status_command run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-federation_status_command ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-federation_status_command ]]; then echo "ct-federation_status_command already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation \ ct-federation_status_command \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-federation_status_command + touch ${{ env.CACHE_PATH }}/ct-federation_status_command fi - name: CT queue run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-queue ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-queue ]]; then echo "ct-queue already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation \ ct-queue \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-queue + touch ${{ env.CACHE_PATH }}/ct-queue fi - name: CT rabbit_federation_status run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_federation_status ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_federation_status ]]; then echo "ct-rabbit_federation_status already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation \ ct-rabbit_federation_status \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_federation_status + touch ${{ env.CACHE_PATH }}/ct-rabbit_federation_status fi - name: CT restart_federation_link_command run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-restart_federation_link_command ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-restart_federation_link_command ]]; then echo "ct-restart_federation_link_command already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation \ ct-restart_federation_link_command \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-restart_federation_link_command + touch ${{ env.CACHE_PATH }}/ct-restart_federation_link_command fi - name: CT unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit ]]; then echo "ct-unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation \ ct-unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit + touch ${{ env.CACHE_PATH }}/ct-unit fi - name: CT unit_inbroker run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit_inbroker ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit_inbroker ]]; then echo "ct-unit_inbroker already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation \ ct-unit_inbroker \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit_inbroker + touch ${{ env.CACHE_PATH }}/ct-unit_inbroker fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -3750,7 +3750,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_federation_management/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -3766,12 +3766,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation_management-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation_management-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation_management-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation_management- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -3784,43 +3784,43 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation_management \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation_management \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT federation_mgmt run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-federation_mgmt ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-federation_mgmt ]]; then echo "ct-federation_mgmt already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_federation_management \ ct-federation_mgmt \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-federation_mgmt + touch ${{ env.CACHE_PATH }}/ct-federation_mgmt fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation_management-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_federation_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -3842,7 +3842,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_jms_topic_exchange/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -3858,12 +3858,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_jms_topic_exchange-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_jms_topic_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_jms_topic_exchange-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_jms_topic_exchange-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_jms_topic_exchange- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_jms_topic_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_jms_topic_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_jms_topic_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -3876,63 +3876,63 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_jms_topic_exchange \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_jms_topic_exchange \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT rjms_topic_selector run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rjms_topic_selector ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rjms_topic_selector ]]; then echo "ct-rjms_topic_selector already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_jms_topic_exchange \ ct-rjms_topic_selector \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rjms_topic_selector + touch ${{ env.CACHE_PATH }}/ct-rjms_topic_selector fi - name: CT rjms_topic_selector_unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rjms_topic_selector_unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rjms_topic_selector_unit ]]; then echo "ct-rjms_topic_selector_unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_jms_topic_exchange \ ct-rjms_topic_selector_unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rjms_topic_selector_unit + touch ${{ env.CACHE_PATH }}/ct-rjms_topic_selector_unit fi - name: CT sjx_evaluation run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-sjx_evaluation ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-sjx_evaluation ]]; then echo "ct-sjx_evaluation already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_jms_topic_exchange \ ct-sjx_evaluation \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-sjx_evaluation + touch ${{ env.CACHE_PATH }}/ct-sjx_evaluation fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_jms_topic_exchange-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_jms_topic_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -3954,7 +3954,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_management/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -3970,12 +3970,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -3988,173 +3988,173 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT cache run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-cache ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-cache ]]; then echo "ct-cache already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-cache \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-cache + touch ${{ env.CACHE_PATH }}/ct-cache fi - name: CT clustering run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-clustering ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-clustering ]]; then echo "ct-clustering already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-clustering \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-clustering + touch ${{ env.CACHE_PATH }}/ct-clustering fi - name: CT clustering_prop run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-clustering_prop ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-clustering_prop ]]; then echo "ct-clustering_prop already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-clustering_prop \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-clustering_prop + touch ${{ env.CACHE_PATH }}/ct-clustering_prop fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT listener_config run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-listener_config ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-listener_config ]]; then echo "ct-listener_config already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-listener_config \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-listener_config + touch ${{ env.CACHE_PATH }}/ct-listener_config fi - name: CT rabbit_mgmt_http run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_http ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_http ]]; then echo "ct-rabbit_mgmt_http already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-rabbit_mgmt_http \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_http + touch ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_http fi - name: CT rabbit_mgmt_http_health_checks run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_http_health_checks ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_http_health_checks ]]; then echo "ct-rabbit_mgmt_http_health_checks already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-rabbit_mgmt_http_health_checks \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_http_health_checks + touch ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_http_health_checks fi - name: CT rabbit_mgmt_only_http run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_only_http ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_only_http ]]; then echo "ct-rabbit_mgmt_only_http already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-rabbit_mgmt_only_http \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_only_http + touch ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_only_http fi - name: CT rabbit_mgmt_rabbitmqadmin run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_rabbitmqadmin ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_rabbitmqadmin ]]; then echo "ct-rabbit_mgmt_rabbitmqadmin already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-rabbit_mgmt_rabbitmqadmin \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_rabbitmqadmin + touch ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_rabbitmqadmin fi - name: CT rabbit_mgmt_stats run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_stats ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_stats ]]; then echo "ct-rabbit_mgmt_stats already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-rabbit_mgmt_stats \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_stats + touch ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_stats fi - name: CT rabbit_mgmt_test_db run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_test_db ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_test_db ]]; then echo "ct-rabbit_mgmt_test_db already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-rabbit_mgmt_test_db \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_test_db + touch ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_test_db fi - name: CT rabbit_mgmt_test_unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_test_unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_test_unit ]]; then echo "ct-rabbit_mgmt_test_unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-rabbit_mgmt_test_unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_test_unit + touch ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_test_unit fi - name: CT rabbit_mgmt_wm_auth run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_wm_auth ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_wm_auth ]]; then echo "ct-rabbit_mgmt_wm_auth already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-rabbit_mgmt_wm_auth \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_wm_auth + touch ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_wm_auth fi - name: CT stats run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-stats ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-stats ]]; then echo "ct-stats already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management \ ct-stats \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-stats + touch ${{ env.CACHE_PATH }}/ct-stats fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -4176,7 +4176,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_management_agent/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -4192,12 +4192,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management_agent-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management_agent-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management_agent-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management_agent-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management_agent- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management_agent-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management_agent-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management_agent-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -4210,73 +4210,73 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management_agent \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management_agent \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT exometer_slide run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-exometer_slide ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-exometer_slide ]]; then echo "ct-exometer_slide already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management_agent \ ct-exometer_slide \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-exometer_slide + touch ${{ env.CACHE_PATH }}/ct-exometer_slide fi - name: CT metrics run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-metrics ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-metrics ]]; then echo "ct-metrics already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management_agent \ ct-metrics \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-metrics + touch ${{ env.CACHE_PATH }}/ct-metrics fi - name: CT rabbit_mgmt_gc run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_gc ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_gc ]]; then echo "ct-rabbit_mgmt_gc already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management_agent \ ct-rabbit_mgmt_gc \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_gc + touch ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_gc fi - name: CT rabbit_mgmt_slide run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_slide ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_slide ]]; then echo "ct-rabbit_mgmt_slide already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_management_agent \ ct-rabbit_mgmt_slide \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_mgmt_slide + touch ${{ env.CACHE_PATH }}/ct-rabbit_mgmt_slide fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management_agent-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_management_agent-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -4298,7 +4298,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_mqtt/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -4314,12 +4314,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_mqtt-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_mqtt-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_mqtt-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_mqtt-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_mqtt- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_mqtt-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_mqtt-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_mqtt-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -4332,223 +4332,223 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT auth run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-auth ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-auth ]]; then echo "ct-auth already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-auth \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-auth + touch ${{ env.CACHE_PATH }}/ct-auth fi - name: CT cluster run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-cluster ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-cluster ]]; then echo "ct-cluster already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-cluster \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-cluster + touch ${{ env.CACHE_PATH }}/ct-cluster fi - name: CT command run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-command ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-command ]]; then echo "ct-command already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-command \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-command + touch ${{ env.CACHE_PATH }}/ct-command fi - name: CT config run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config ]]; then echo "ct-config already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-config \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config + touch ${{ env.CACHE_PATH }}/ct-config fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT ff run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-ff ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-ff ]]; then echo "ct-ff already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-ff \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-ff + touch ${{ env.CACHE_PATH }}/ct-ff fi - name: CT java run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-java ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-java ]]; then echo "ct-java already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-java \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-java + touch ${{ env.CACHE_PATH }}/ct-java fi - name: CT mc_mqtt run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-mc_mqtt ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-mc_mqtt ]]; then echo "ct-mc_mqtt already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-mc_mqtt \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-mc_mqtt + touch ${{ env.CACHE_PATH }}/ct-mc_mqtt fi - name: CT mqtt_machine run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-mqtt_machine ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-mqtt_machine ]]; then echo "ct-mqtt_machine already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-mqtt_machine \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-mqtt_machine + touch ${{ env.CACHE_PATH }}/ct-mqtt_machine fi - name: CT packet_prop run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-packet_prop ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-packet_prop ]]; then echo "ct-packet_prop already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-packet_prop \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-packet_prop + touch ${{ env.CACHE_PATH }}/ct-packet_prop fi - name: CT processor run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-processor ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-processor ]]; then echo "ct-processor already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-processor \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-processor + touch ${{ env.CACHE_PATH }}/ct-processor fi - name: CT protocol_interop run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-protocol_interop ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-protocol_interop ]]; then echo "ct-protocol_interop already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-protocol_interop \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-protocol_interop + touch ${{ env.CACHE_PATH }}/ct-protocol_interop fi - name: CT proxy_protocol run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-proxy_protocol ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-proxy_protocol ]]; then echo "ct-proxy_protocol already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-proxy_protocol \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-proxy_protocol + touch ${{ env.CACHE_PATH }}/ct-proxy_protocol fi - name: CT rabbit_mqtt_confirms run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_mqtt_confirms ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_mqtt_confirms ]]; then echo "ct-rabbit_mqtt_confirms already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-rabbit_mqtt_confirms \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_mqtt_confirms + touch ${{ env.CACHE_PATH }}/ct-rabbit_mqtt_confirms fi - name: CT reader run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-reader ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-reader ]]; then echo "ct-reader already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-reader \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-reader + touch ${{ env.CACHE_PATH }}/ct-reader fi - name: CT retainer run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-retainer ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-retainer ]]; then echo "ct-retainer already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-retainer \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-retainer + touch ${{ env.CACHE_PATH }}/ct-retainer fi - name: CT shared run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-shared ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-shared ]]; then echo "ct-shared already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-shared \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-shared + touch ${{ env.CACHE_PATH }}/ct-shared fi - name: CT util run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-util ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-util ]]; then echo "ct-util already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-util \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-util + touch ${{ env.CACHE_PATH }}/ct-util fi - name: CT v5 run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-v5 ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-v5 ]]; then echo "ct-v5 already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_mqtt \ ct-v5 \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-v5 + touch ${{ env.CACHE_PATH }}/ct-v5 fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_mqtt-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_mqtt-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -4570,7 +4570,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_peer_discovery_aws/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -4586,12 +4586,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_aws-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_aws-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_aws-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_aws-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_aws- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_aws-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_aws-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_aws-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -4604,64 +4604,64 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_aws \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_aws \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_aws \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT integration if: false run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-integration ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-integration ]]; then echo "ct-integration already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_aws \ ct-integration \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-integration + touch ${{ env.CACHE_PATH }}/ct-integration fi - name: CT unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit ]]; then echo "ct-unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_aws \ ct-unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit + touch ${{ env.CACHE_PATH }}/ct-unit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_aws-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_aws-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -4683,7 +4683,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_peer_discovery_common/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -4699,12 +4699,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_common-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_common-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_common-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_common- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -4717,43 +4717,43 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_common \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_common \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_common \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_common-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_common-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -4775,7 +4775,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_peer_discovery_consul/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -4791,12 +4791,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_consul-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_consul-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_consul-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_consul-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_consul- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_consul-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_consul-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_consul-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -4809,53 +4809,53 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_consul \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_consul \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_consul \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT rabbitmq_peer_discovery_consul run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbitmq_peer_discovery_consul ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbitmq_peer_discovery_consul ]]; then echo "ct-rabbitmq_peer_discovery_consul already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_consul \ ct-rabbitmq_peer_discovery_consul \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbitmq_peer_discovery_consul + touch ${{ env.CACHE_PATH }}/ct-rabbitmq_peer_discovery_consul fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_consul-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_consul-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -4877,7 +4877,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_peer_discovery_etcd/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -4893,12 +4893,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_etcd-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_etcd-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_etcd-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_etcd-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_etcd- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_etcd-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_etcd-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_etcd-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -4911,63 +4911,63 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_etcd \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_etcd \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_etcd \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-system ]]; then echo "ct-system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_etcd \ ct-system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-system + touch ${{ env.CACHE_PATH }}/ct-system fi - name: CT unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit ]]; then echo "ct-unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_etcd \ ct-unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit + touch ${{ env.CACHE_PATH }}/ct-unit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_etcd-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_etcd-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -4989,7 +4989,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_peer_discovery_k8s/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -5005,12 +5005,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_k8s-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_k8s-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_k8s-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_k8s-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_k8s- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_k8s-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_k8s-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_k8s-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -5023,53 +5023,53 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_k8s \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_k8s \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_k8s \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT rabbitmq_peer_discovery_k8s run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbitmq_peer_discovery_k8s ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbitmq_peer_discovery_k8s ]]; then echo "ct-rabbitmq_peer_discovery_k8s already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_peer_discovery_k8s \ ct-rabbitmq_peer_discovery_k8s \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbitmq_peer_discovery_k8s + touch ${{ env.CACHE_PATH }}/ct-rabbitmq_peer_discovery_k8s fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_k8s-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_peer_discovery_k8s-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -5091,7 +5091,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_prelaunch/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -5107,12 +5107,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prelaunch-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prelaunch-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prelaunch-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prelaunch-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prelaunch- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prelaunch-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prelaunch-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prelaunch-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -5125,53 +5125,53 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_prelaunch \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_prelaunch \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT rabbit_logger_std_h run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_logger_std_h ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_logger_std_h ]]; then echo "ct-rabbit_logger_std_h already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_prelaunch \ ct-rabbit_logger_std_h \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_logger_std_h + touch ${{ env.CACHE_PATH }}/ct-rabbit_logger_std_h fi - name: CT rabbit_prelaunch_file run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_prelaunch_file ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_prelaunch_file ]]; then echo "ct-rabbit_prelaunch_file already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_prelaunch \ ct-rabbit_prelaunch_file \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_prelaunch_file + touch ${{ env.CACHE_PATH }}/ct-rabbit_prelaunch_file fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prelaunch-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prelaunch-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -5193,7 +5193,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_prometheus/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -5209,12 +5209,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prometheus-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prometheus-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prometheus-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prometheus-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prometheus- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prometheus-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prometheus-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prometheus-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -5227,63 +5227,63 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_prometheus \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_prometheus \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_prometheus \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT prometheus_rabbitmq_federation_collector run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-prometheus_rabbitmq_federation_collector ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-prometheus_rabbitmq_federation_collector ]]; then echo "ct-prometheus_rabbitmq_federation_collector already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_prometheus \ ct-prometheus_rabbitmq_federation_collector \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-prometheus_rabbitmq_federation_collector + touch ${{ env.CACHE_PATH }}/ct-prometheus_rabbitmq_federation_collector fi - name: CT rabbit_prometheus_http run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_prometheus_http ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_prometheus_http ]]; then echo "ct-rabbit_prometheus_http already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_prometheus \ ct-rabbit_prometheus_http \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_prometheus_http + touch ${{ env.CACHE_PATH }}/ct-rabbit_prometheus_http fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prometheus-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_prometheus-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -5305,7 +5305,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_random_exchange/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -5321,12 +5321,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_random_exchange-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_random_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_random_exchange-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_random_exchange-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_random_exchange- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_random_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_random_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_random_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -5339,33 +5339,33 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_random_exchange \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_random_exchange \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_random_exchange-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_random_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -5387,7 +5387,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_recent_history_exchange/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -5403,12 +5403,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_recent_history_exchange-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_recent_history_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_recent_history_exchange-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_recent_history_exchange-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_recent_history_exchange- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_recent_history_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_recent_history_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_recent_history_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -5421,43 +5421,43 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_recent_history_exchange \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_recent_history_exchange \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-system ]]; then echo "ct-system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_recent_history_exchange \ ct-system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-system + touch ${{ env.CACHE_PATH }}/ct-system fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_recent_history_exchange-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_recent_history_exchange-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -5479,7 +5479,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_sharding/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -5495,12 +5495,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_sharding-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_sharding-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_sharding-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_sharding-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_sharding- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_sharding-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_sharding-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_sharding-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -5513,53 +5513,53 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_sharding \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_sharding \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT rabbit_hash_exchange run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_hash_exchange ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_hash_exchange ]]; then echo "ct-rabbit_hash_exchange already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_sharding \ ct-rabbit_hash_exchange \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_hash_exchange + touch ${{ env.CACHE_PATH }}/ct-rabbit_hash_exchange fi - name: CT rabbit_sharding run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_sharding ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_sharding ]]; then echo "ct-rabbit_sharding already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_sharding \ ct-rabbit_sharding \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_sharding + touch ${{ env.CACHE_PATH }}/ct-rabbit_sharding fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_sharding-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_sharding-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -5581,7 +5581,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_shovel/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -5597,12 +5597,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -5615,133 +5615,133 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT amqp10 run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-amqp10 ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-amqp10 ]]; then echo "ct-amqp10 already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ ct-amqp10 \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-amqp10 + touch ${{ env.CACHE_PATH }}/ct-amqp10 fi - name: CT amqp10_dynamic run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-amqp10_dynamic ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-amqp10_dynamic ]]; then echo "ct-amqp10_dynamic already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ ct-amqp10_dynamic \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-amqp10_dynamic + touch ${{ env.CACHE_PATH }}/ct-amqp10_dynamic fi - name: CT amqp10_shovel run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-amqp10_shovel ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-amqp10_shovel ]]; then echo "ct-amqp10_shovel already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ ct-amqp10_shovel \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-amqp10_shovel + touch ${{ env.CACHE_PATH }}/ct-amqp10_shovel fi - name: CT config run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config ]]; then echo "ct-config already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ ct-config \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config + touch ${{ env.CACHE_PATH }}/ct-config fi - name: CT configuration run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-configuration ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-configuration ]]; then echo "ct-configuration already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ ct-configuration \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-configuration + touch ${{ env.CACHE_PATH }}/ct-configuration fi - name: CT delete_shovel_command run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-delete_shovel_command ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-delete_shovel_command ]]; then echo "ct-delete_shovel_command already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ ct-delete_shovel_command \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-delete_shovel_command + touch ${{ env.CACHE_PATH }}/ct-delete_shovel_command fi - name: CT dynamic run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-dynamic ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-dynamic ]]; then echo "ct-dynamic already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ ct-dynamic \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-dynamic + touch ${{ env.CACHE_PATH }}/ct-dynamic fi - name: CT parameters run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-parameters ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-parameters ]]; then echo "ct-parameters already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ ct-parameters \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-parameters + touch ${{ env.CACHE_PATH }}/ct-parameters fi - name: CT rolling_upgrade run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rolling_upgrade ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rolling_upgrade ]]; then echo "ct-rolling_upgrade already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ ct-rolling_upgrade \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rolling_upgrade + touch ${{ env.CACHE_PATH }}/ct-rolling_upgrade fi - name: CT shovel_status_command run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-shovel_status_command ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-shovel_status_command ]]; then echo "ct-shovel_status_command already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel \ ct-shovel_status_command \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-shovel_status_command + touch ${{ env.CACHE_PATH }}/ct-shovel_status_command fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -5763,7 +5763,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_shovel_management/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -5779,12 +5779,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel_management-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel_management-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel_management-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel_management- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -5797,63 +5797,63 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel_management \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel_management \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT http run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-http ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-http ]]; then echo "ct-http already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel_management \ ct-http \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-http + touch ${{ env.CACHE_PATH }}/ct-http fi - name: CT rabbit_shovel_mgmt run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_shovel_mgmt ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_shovel_mgmt ]]; then echo "ct-rabbit_shovel_mgmt already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel_management \ ct-rabbit_shovel_mgmt \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_shovel_mgmt + touch ${{ env.CACHE_PATH }}/ct-rabbit_shovel_mgmt fi - name: CT rabbit_shovel_mgmt_util run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_shovel_mgmt_util ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_shovel_mgmt_util ]]; then echo "ct-rabbit_shovel_mgmt_util already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_shovel_management \ ct-rabbit_shovel_mgmt_util \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_shovel_mgmt_util + touch ${{ env.CACHE_PATH }}/ct-rabbit_shovel_mgmt_util fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel_management-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_shovel_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -5875,7 +5875,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_stomp/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -5891,12 +5891,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stomp-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stomp-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stomp-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stomp-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stomp- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stomp-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stomp-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stomp-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -5909,123 +5909,123 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stomp \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stomp \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT command run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-command ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-command ]]; then echo "ct-command already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stomp \ ct-command \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-command + touch ${{ env.CACHE_PATH }}/ct-command fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stomp \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT connections run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-connections ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-connections ]]; then echo "ct-connections already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stomp \ ct-connections \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-connections + touch ${{ env.CACHE_PATH }}/ct-connections fi - name: CT frame run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-frame ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-frame ]]; then echo "ct-frame already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stomp \ ct-frame \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-frame + touch ${{ env.CACHE_PATH }}/ct-frame fi - name: CT proxy_protocol run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-proxy_protocol ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-proxy_protocol ]]; then echo "ct-proxy_protocol already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stomp \ ct-proxy_protocol \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-proxy_protocol + touch ${{ env.CACHE_PATH }}/ct-proxy_protocol fi - name: CT python run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-python ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-python ]]; then echo "ct-python already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stomp \ ct-python \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-python + touch ${{ env.CACHE_PATH }}/ct-python fi - name: CT system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-system ]]; then echo "ct-system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stomp \ ct-system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-system + touch ${{ env.CACHE_PATH }}/ct-system fi - name: CT topic run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-topic ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-topic ]]; then echo "ct-topic already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stomp \ ct-topic \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-topic + touch ${{ env.CACHE_PATH }}/ct-topic fi - name: CT util run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-util ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-util ]]; then echo "ct-util already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stomp \ ct-util \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-util + touch ${{ env.CACHE_PATH }}/ct-util fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stomp-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stomp-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -6047,7 +6047,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_stream/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -6063,12 +6063,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -6081,103 +6081,103 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT commands run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-commands ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-commands ]]; then echo "ct-commands already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream \ ct-commands \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-commands + touch ${{ env.CACHE_PATH }}/ct-commands fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT protocol_interop run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-protocol_interop ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-protocol_interop ]]; then echo "ct-protocol_interop already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream \ ct-protocol_interop \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-protocol_interop + touch ${{ env.CACHE_PATH }}/ct-protocol_interop fi - name: CT rabbit_stream run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_stream ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_stream ]]; then echo "ct-rabbit_stream already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream \ ct-rabbit_stream \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_stream + touch ${{ env.CACHE_PATH }}/ct-rabbit_stream fi - name: CT rabbit_stream_manager run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_manager ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_stream_manager ]]; then echo "ct-rabbit_stream_manager already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream \ ct-rabbit_stream_manager \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_manager + touch ${{ env.CACHE_PATH }}/ct-rabbit_stream_manager fi - name: CT rabbit_stream_reader run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_reader ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_stream_reader ]]; then echo "ct-rabbit_stream_reader already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream \ ct-rabbit_stream_reader \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_reader + touch ${{ env.CACHE_PATH }}/ct-rabbit_stream_reader fi - name: CT rabbit_stream_utils run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_utils ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_stream_utils ]]; then echo "ct-rabbit_stream_utils already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream \ ct-rabbit_stream_utils \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_stream_utils + touch ${{ env.CACHE_PATH }}/ct-rabbit_stream_utils fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -6199,7 +6199,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_stream_management/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -6215,12 +6215,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_management-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_management-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_management-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_management- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -6233,43 +6233,43 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream_management \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream_management \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT http run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-http ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-http ]]; then echo "ct-http already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_stream_management \ ct-http \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-http + touch ${{ env.CACHE_PATH }}/ct-http fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_management-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_stream_management-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -6291,7 +6291,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_top/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -6307,12 +6307,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_top-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_top-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_top-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_top-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_top- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_top-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_top-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_top-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -6325,33 +6325,33 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_top \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_top \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_top-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_top-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -6373,7 +6373,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_tracing/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -6389,12 +6389,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_tracing-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_tracing-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_tracing-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_tracing-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_tracing- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_tracing-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_tracing-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_tracing-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -6407,43 +6407,43 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_tracing \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_tracing \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT rabbit_tracing run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_tracing ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_tracing ]]; then echo "ct-rabbit_tracing already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_tracing \ ct-rabbit_tracing \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_tracing + touch ${{ env.CACHE_PATH }}/ct-rabbit_tracing fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_tracing-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_tracing-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -6465,7 +6465,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_trust_store/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -6481,12 +6481,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_trust_store-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_trust_store-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_trust_store-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_trust_store-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_trust_store- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_trust_store-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_trust_store-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_trust_store-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -6499,53 +6499,53 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_trust_store \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_trust_store \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_trust_store \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-system ]]; then echo "ct-system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_trust_store \ ct-system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-system + touch ${{ env.CACHE_PATH }}/ct-system fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_trust_store-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_trust_store-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -6567,7 +6567,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_web_dispatch/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -6583,12 +6583,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_dispatch-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_dispatch-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_dispatch-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_dispatch-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_dispatch- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_dispatch-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_dispatch-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_dispatch-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -6601,53 +6601,53 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_dispatch \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_dispatch \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT rabbit_web_dispatch run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_web_dispatch ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_web_dispatch ]]; then echo "ct-rabbit_web_dispatch already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_dispatch \ ct-rabbit_web_dispatch \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_web_dispatch + touch ${{ env.CACHE_PATH }}/ct-rabbit_web_dispatch fi - name: CT rabbit_web_dispatch_unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-rabbit_web_dispatch_unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-rabbit_web_dispatch_unit ]]; then echo "ct-rabbit_web_dispatch_unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_dispatch \ ct-rabbit_web_dispatch_unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-rabbit_web_dispatch_unit + touch ${{ env.CACHE_PATH }}/ct-rabbit_web_dispatch_unit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_dispatch-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_dispatch-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -6669,7 +6669,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_web_mqtt/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -6685,12 +6685,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -6703,73 +6703,73 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_mqtt \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_mqtt \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT command run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-command ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-command ]]; then echo "ct-command already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_mqtt \ ct-command \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-command + touch ${{ env.CACHE_PATH }}/ct-command fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_mqtt \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT proxy_protocol run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-proxy_protocol ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-proxy_protocol ]]; then echo "ct-proxy_protocol already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_mqtt \ ct-proxy_protocol \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-proxy_protocol + touch ${{ env.CACHE_PATH }}/ct-proxy_protocol fi - name: CT system run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-system ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-system ]]; then echo "ct-system already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_mqtt \ ct-system \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-system + touch ${{ env.CACHE_PATH }}/ct-system fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -6791,7 +6791,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_web_mqtt_examples/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -6807,12 +6807,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt_examples-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt_examples-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt_examples-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt_examples-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt_examples- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt_examples-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt_examples-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt_examples-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -6825,33 +6825,33 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_mqtt_examples \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_mqtt_examples \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt_examples-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_mqtt_examples-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -6873,7 +6873,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_web_stomp/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -6889,12 +6889,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -6907,93 +6907,93 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_stomp \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_stomp \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: CT amqp_stomp run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-amqp_stomp ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-amqp_stomp ]]; then echo "ct-amqp_stomp already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_stomp \ ct-amqp_stomp \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-amqp_stomp + touch ${{ env.CACHE_PATH }}/ct-amqp_stomp fi - name: CT config_schema run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-config_schema ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-config_schema ]]; then echo "ct-config_schema already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_stomp \ ct-config_schema \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-config_schema + touch ${{ env.CACHE_PATH }}/ct-config_schema fi - name: CT cowboy_websocket run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-cowboy_websocket ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-cowboy_websocket ]]; then echo "ct-cowboy_websocket already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_stomp \ ct-cowboy_websocket \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-cowboy_websocket + touch ${{ env.CACHE_PATH }}/ct-cowboy_websocket fi - name: CT proxy_protocol run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-proxy_protocol ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-proxy_protocol ]]; then echo "ct-proxy_protocol already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_stomp \ ct-proxy_protocol \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-proxy_protocol + touch ${{ env.CACHE_PATH }}/ct-proxy_protocol fi - name: CT raw_websocket run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-raw_websocket ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-raw_websocket ]]; then echo "ct-raw_websocket already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_stomp \ ct-raw_websocket \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-raw_websocket + touch ${{ env.CACHE_PATH }}/ct-raw_websocket fi - name: CT unit run: | - if [[ -f ${{ env.SUCCESS_PATH }}/ct-unit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/ct-unit ]]; then echo "ct-unit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_stomp \ ct-unit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/ct-unit + touch ${{ env.CACHE_PATH }}/ct-unit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1 @@ -7015,7 +7015,7 @@ jobs: - khepri timeout-minutes: 180 env: - SUCCESS_PATH: /home/runner/test-result-cache/rabbitmq_web_stomp_examples/${{ matrix.metadata_store }}/${{ matrix.otp_version }} + CACHE_PATH: /home/runner/test-result-cache steps: - name: RESTORE BUILT REPO uses: actions/cache@v4 @@ -7031,12 +7031,12 @@ jobs: - name: RESTORE TEST RESULT CACHE uses: actions/cache/restore@v4 with: - path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp_examples-${{ github.run_number }}-${{ github.run_attempt }} + path: ${{ env.CACHE_PATH }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp_examples-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} restore-keys: | - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp_examples-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp_examples-${{ github.run_number }}- - ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp_examples- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp_examples-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ steps.previous-attempt-outputs.number }} + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp_examples-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}- + ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp_examples-${{ matrix.metadata_store }}-${{ matrix.otp_version }}- - name: PRINT CACHED RESULTS run: | set -x @@ -7049,33 +7049,33 @@ jobs: elixir-version: 1.15 - name: PREPARE run: | - mkdir -p ${{ env.SUCCESS_PATH }} + mkdir -p ${{ env.CACHE_PATH }} - name: DIALYZE run: | - if [[ -f ${{ env.SUCCESS_PATH }}/dialyze ]]; then + if [[ -f ${{ env.CACHE_PATH }}/dialyze ]]; then echo "dialyze already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_stomp_examples \ dialyze \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/dialyze + touch ${{ env.CACHE_PATH }}/dialyze fi continue-on-error: false - name: EUNIT run: | - if [[ -f ${{ env.SUCCESS_PATH }}/eunit ]]; then + if [[ -f ${{ env.CACHE_PATH }}/eunit ]]; then echo "eunit already passed for this key ${{ needs.xref.outputs.hash }}" else make -C deps/rabbitmq_web_stomp_examples \ eunit \ RABBITMQ_METADATA_STORE=${{ matrix.metadata_store }} - touch ${{ env.SUCCESS_PATH }}/eunit + touch ${{ env.CACHE_PATH }}/eunit fi - name: SAVE TEST RESULT CACHE uses: actions/cache/save@v4 with: path: /home/runner/test-result-cache/ - key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp_examples-${{ github.run_number }}-${{ github.run_attempt }} + key: ${{ runner.os }}-test-result-cache-${{ needs.xref.outputs.hash }}-rabbitmq_web_stomp_examples-${{ matrix.metadata_store }}-${{ matrix.otp_version }}-${{ github.run_number }}-${{ github.run_attempt }} - name: UPLOAD TEST ARTIFACTS if: always() uses: actions/upload-artifact@v4.3.1