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 :
@@ -497,7 +497,7 @@ jobs:
497
497
exclude :
498
498
# skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
499
499
# 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' || ''}}
501
501
needs :
502
502
-test-integration
503
503
-test-bootstrap
@@ -543,7 +543,7 @@ jobs:
543
543
exclude :
544
544
# skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
545
545
# 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' || ''}}
547
547
fail-fast :false
548
548
runs-on :${{ matrix.runner }}
549
549
env :
@@ -618,7 +618,7 @@ jobs:
618
618
exclude :
619
619
# skip the ARM integration tests in forks, and also if not on master/upgrade-dependencies and forceARMTests is not set to true
620
620
# 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' || ''}}
622
622
needs :
623
623
-test-acceptance
624
624
runs-on :ubuntu-latest
@@ -647,7 +647,7 @@ jobs:
647
647
648
648
test-cloudwatch-v1 :
649
649
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') }}
651
651
runs-on :ubuntu-latest
652
652
needs :
653
653
-test-preflight
@@ -697,7 +697,7 @@ jobs:
697
697
698
698
test-ddb-v2 :
699
699
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') }}
701
701
runs-on :ubuntu-latest
702
702
needs :
703
703
-test-preflight
@@ -746,7 +746,7 @@ jobs:
746
746
747
747
test-events-v1 :
748
748
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') }}
750
750
runs-on :ubuntu-latest
751
751
needs :
752
752
-test-preflight
@@ -795,7 +795,7 @@ jobs:
795
795
796
796
test-cfn-v2-engine :
797
797
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' )}}
799
799
runs-on :ubuntu-latest
800
800
needs :
801
801
-test-preflight
@@ -890,7 +890,7 @@ jobs:
890
890
891
891
capture-not-implemented :
892
892
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') ) }}
894
894
runs-on :ubuntu-latest
895
895
needs :build
896
896
env :