132
132
CI_COMMIT_SHA : ${{ github.sha }}
133
133
CI_JOB_URL : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}
134
134
# 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 ' || '' }}"
136
136
DOCKER_PULL_SECRET_AVAILABLE : ${{ secrets.DOCKERHUB_PULL_USERNAME != '' && secrets.DOCKERHUB_PULL_TOKEN != '' && 'true' || 'false' }}
137
137
138
138
@@ -150,7 +150,7 @@ jobs:
150
150
exclude :
151
151
# skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
152
152
# 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' || ''}}
154
154
fail-fast : false
155
155
runs-on : ${{ matrix.runner }}
156
156
steps :
@@ -338,7 +338,7 @@ jobs:
338
338
exclude :
339
339
# skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
340
340
# 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' || ''}}
342
342
fail-fast : false
343
343
runs-on : ${{ matrix.runner }}
344
344
env :
@@ -489,7 +489,7 @@ jobs:
489
489
exclude :
490
490
# skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
491
491
# TODO ARM runners are not yet available for private repositories; skip them for potential private forks
492
- - arch : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'arm64' || ''}}
492
+ - arch : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/tags/v') && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'arm64' || ''}}
493
493
needs :
494
494
- test-integration
495
495
- test-bootstrap
@@ -535,7 +535,7 @@ jobs:
535
535
exclude :
536
536
# skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
537
537
# TODO ARM runners are not yet available for private repositories; skip them for potential private forks
538
- - runner : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'ubuntu-24.04-arm' || ''}}
538
+ - 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' || ''}}
539
539
fail-fast : false
540
540
runs-on : ${{ matrix.runner }}
541
541
env :
@@ -610,7 +610,7 @@ jobs:
610
610
exclude :
611
611
# skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
612
612
# TODO ARM runners are not yet available for private repositories; skip them for potential private forks
613
- - arch : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'arm64' || ''}}
613
+ - arch : ${{ ((github.repository != 'localstack/localstack') || (github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/tags/v') && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false)) && 'arm64' || ''}}
614
614
needs :
615
615
- test-acceptance
616
616
runs-on : ubuntu-latest
@@ -639,7 +639,7 @@ jobs:
639
639
640
640
test-cloudwatch-v1 :
641
641
name : Test CloudWatch V1
642
- if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || needs.test-preflight.outputs.cloudwatch-v1 == 'true') }}
642
+ if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') || needs.test-preflight.outputs.cloudwatch-v1 == 'true') }}
643
643
runs-on : ubuntu-latest
644
644
needs :
645
645
- test-preflight
@@ -689,7 +689,7 @@ jobs:
689
689
690
690
test-ddb-v2 :
691
691
name : Test DynamoDB(Streams) v2
692
- if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || needs.test-preflight.outputs.dynamodb-v2 == 'true') }}
692
+ if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') || needs.test-preflight.outputs.dynamodb-v2 == 'true') }}
693
693
runs-on : ubuntu-latest
694
694
needs :
695
695
- test-preflight
@@ -738,7 +738,7 @@ jobs:
738
738
739
739
test-events-v1 :
740
740
name : Test EventBridge v1
741
- if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || needs.test-preflight.outputs.events-v1 == 'true') }}
741
+ if : ${{ !inputs.onlyAcceptanceTests && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') || needs.test-preflight.outputs.events-v1 == 'true') }}
742
742
runs-on : ubuntu-latest
743
743
needs :
744
744
- test-preflight
@@ -787,7 +787,7 @@ jobs:
787
787
788
788
test-cfn-v2-engine :
789
789
name : Test CloudFormation Engine v2
790
- if : ${{ !inputs.onlyAcceptanceTests && ( github.ref == 'refs/heads/master' || needs.test-preflight.outputs.cloudformation-v2 == 'true' )}}
790
+ if : ${{ !inputs.onlyAcceptanceTests && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') || needs.test-preflight.outputs.cloudformation-v2 == 'true' )}}
791
791
runs-on : ubuntu-latest
792
792
needs :
793
793
- test-preflight
@@ -882,7 +882,7 @@ jobs:
882
882
883
883
capture-not-implemented :
884
884
name : " Capture Not Implemented"
885
- if : ${{ !inputs.onlyAcceptanceTests && github.ref == 'refs/heads/master' }}
885
+ if : ${{ !inputs.onlyAcceptanceTests && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') ) }}
886
886
runs-on : ubuntu-latest
887
887
needs : build
888
888
env :
0 commit comments