132132 CI_COMMIT_SHA : ${{ github.sha }}
133133 CI_JOB_URL : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}
134134 # report to tinybird if executed on master
135- TINYBIRD_PYTEST_ARGS : " ${{ github.repository == 'localstack/localstack' && github.ref == 'refs/heads/master' && '--report-to-tinybird ' || '' }}"
135+ TINYBIRD_PYTEST_ARGS : " ${{ github.repository == 'localstack/localstack' && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') ) && '--report-to-tinybird ' || '' }}"
136136 DOCKER_PULL_SECRET_AVAILABLE : ${{ secrets.DOCKERHUB_PULL_USERNAME != '' && secrets.DOCKERHUB_PULL_TOKEN != '' && 'true' || 'false' }}
137137
138138
@@ -150,7 +150,7 @@ jobs:
150150 exclude :
151151 # skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
152152 # TODO ARM runners are not yet available for private repositories; skip them for potential private forks
153- - runner : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'ubuntu-24.04-arm' || ''}}
153+ - runner : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/tags/v') && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'ubuntu-24.04-arm' || ''}}
154154 fail-fast : false
155155 runs-on : ${{ matrix.runner }}
156156 steps :
@@ -338,7 +338,7 @@ jobs:
338338 exclude :
339339 # skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
340340 # TODO ARM runners are not yet available for private repositories; skip them for potential private forks
341- - runner : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'ubuntu-24.04-arm' || ''}}
341+ - runner : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/tags/v') && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'ubuntu-24.04-arm' || ''}}
342342 fail-fast : false
343343 runs-on : ${{ matrix.runner }}
344344 env :
@@ -497,7 +497,7 @@ jobs:
497497 exclude :
498498 # skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
499499 # TODO ARM runners are not yet available for private repositories; skip them for potential private forks
500- - arch : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'arm64' || ''}}
500+ - arch : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/tags/v') && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'arm64' || ''}}
501501 needs :
502502 - test-integration
503503 - test-bootstrap
@@ -543,7 +543,7 @@ jobs:
543543 exclude :
544544 # skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
545545 # TODO ARM runners are not yet available for private repositories; skip them for potential private forks
546- - runner : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'ubuntu-24.04-arm' || ''}}
546+ - runner : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/tags/v') && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'ubuntu-24.04-arm' || ''}}
547547 fail-fast : false
548548 runs-on : ${{ matrix.runner }}
549549 env :
@@ -618,7 +618,7 @@ jobs:
618618 exclude :
619619 # skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
620620 # TODO ARM runners are not yet available for private repositories; skip them for potential private forks
621- - arch : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'arm64' || ''}}
621+ - arch : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/tags/v') && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'arm64' || ''}}
622622 needs :
623623 - test-acceptance
624624 runs-on : ubuntu-latest
@@ -647,7 +647,7 @@ jobs:
647647
648648 test-cloudwatch-v1 :
649649 name : Test CloudWatch V1
650- if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || needs.test-preflight.outputs.cloudwatch-v1 == 'true') }}
650+ if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') || needs.test-preflight.outputs.cloudwatch-v1 == 'true') }}
651651 runs-on : ubuntu-latest
652652 needs :
653653 - test-preflight
@@ -697,7 +697,7 @@ jobs:
697697
698698 test-ddb-v2 :
699699 name : Test DynamoDB(Streams) v2
700- if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || needs.test-preflight.outputs.dynamodb-v2 == 'true') }}
700+ if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') || needs.test-preflight.outputs.dynamodb-v2 == 'true') }}
701701 runs-on : ubuntu-latest
702702 needs :
703703 - test-preflight
@@ -746,7 +746,7 @@ jobs:
746746
747747 test-events-v1 :
748748 name : Test EventBridge v1
749- if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || needs.test-preflight.outputs.events-v1 == 'true') }}
749+ if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') || needs.test-preflight.outputs.events-v1 == 'true') }}
750750 runs-on : ubuntu-latest
751751 needs :
752752 - test-preflight
@@ -795,7 +795,7 @@ jobs:
795795
796796 test-cfn-v2-engine :
797797 name : Test CloudFormation Engine v2
798- if : ${{ !inputs.onlyAcceptanceTests && ( github.ref == 'refs/heads/master' || needs.test-preflight.outputs.cloudformation-v2 == 'true' )}}
798+ if : ${{ !inputs.onlyAcceptanceTests && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') || needs.test-preflight.outputs.cloudformation-v2 == 'true' )}}
799799 runs-on : ubuntu-latest
800800 needs :
801801 - test-preflight
@@ -890,7 +890,7 @@ jobs:
890890
891891 capture-not-implemented :
892892 name : " Capture Not Implemented"
893- if : ${{ !inputs.onlyAcceptanceTests && github.ref == 'refs/heads/master' }}
893+ if : ${{ !inputs.onlyAcceptanceTests && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') ) }}
894894 runs-on : ubuntu-latest
895895 needs : build
896896 env :
0 commit comments