Skip to content

Commit 8baae8d

Browse files
authored
Run CI against both :latest and :dev images (#151)
* Run CI against both :latest and :dev images * Consistently trigger CI when workflows themselves are changed
1 parent 2946909 commit 8baae8d

5 files changed

Lines changed: 51 additions & 10 deletions

File tree

.github/workflows/keycloak.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- cron: '0 2 * * 1-5'
66
push:
77
paths:
8+
- .github/workflows/keycloak.yml
89
- keycloak/**
910
branches:
1011
- main
@@ -25,6 +26,13 @@ jobs:
2526
permissions:
2627
contents: read
2728
timeout-minutes: 15
29+
strategy:
30+
matrix:
31+
tag:
32+
- latest
33+
- dev
34+
env:
35+
IMAGE_NAME: localstack/localstack-pro:${{matrix.tag}}
2836
steps:
2937
- name: Checkout
3038
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
@@ -35,8 +43,8 @@ jobs:
3543
run: |
3644
cd keycloak
3745
38-
docker pull localstack/localstack-pro &
39-
docker pull quay.io/keycloak/keycloak:26.0 &
46+
docker pull "$IMAGE_NAME"
47+
docker pull quay.io/keycloak/keycloak:26.0
4048
pip install localstack
4149
4250
make install

.github/workflows/miniflare.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- cron: '0 2 * * 1-5'
66
push:
77
paths:
8+
- .github/workflows/miniflare.yml
89
- miniflare/**
910
branches:
1011
- main
@@ -23,6 +24,13 @@ jobs:
2324
runs-on: ubuntu-latest
2425
permissions:
2526
contents: read
27+
strategy:
28+
matrix:
29+
tag:
30+
- latest
31+
- dev
32+
env:
33+
IMAGE_NAME: localstack/localstack-pro:${{matrix.tag}}
2634
steps:
2735
- name: Checkout
2836
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
@@ -33,7 +41,7 @@ jobs:
3341
run: |
3442
cd miniflare
3543
36-
docker pull localstack/localstack-pro &
44+
docker pull "$IMAGE_NAME"
3745
pip install localstack
3846
3947
make install

.github/workflows/paradedb.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- cron: '0 2 * * 1-5'
66
push:
77
paths:
8+
- .github/workflows/paradedb.yml
89
- paradedb/**
910
branches:
1011
- main
@@ -25,6 +26,13 @@ jobs:
2526
permissions:
2627
contents: read
2728
timeout-minutes: 10
29+
strategy:
30+
matrix:
31+
tag:
32+
- latest
33+
- dev
34+
env:
35+
IMAGE_NAME: localstack/localstack-pro:${{matrix.tag}}
2836
steps:
2937
- name: Checkout
3038
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
@@ -35,8 +43,8 @@ jobs:
3543
run: |
3644
cd paradedb
3745
38-
docker pull localstack/localstack-pro &
39-
docker pull paradedb/paradedb &
46+
docker pull "$IMAGE_NAME"
47+
docker pull paradedb/paradedb
4048
pip install localstack
4149
4250
make install

.github/workflows/typedb.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- cron: '0 2 * * 1-5'
66
push:
77
paths:
8+
- .github/workflows/typedb.yml
89
- typedb/**
910
branches:
1011
- main
@@ -25,6 +26,13 @@ jobs:
2526
permissions:
2627
contents: read
2728
timeout-minutes: 10
29+
strategy:
30+
matrix:
31+
tag:
32+
- latest
33+
- dev
34+
env:
35+
IMAGE_NAME: localstack/localstack-pro:${{matrix.tag}}
2836
steps:
2937
- name: Checkout
3038
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
@@ -35,8 +43,8 @@ jobs:
3543
run: |
3644
cd typedb
3745
38-
docker pull localstack/localstack-pro &
39-
docker pull typedb/typedb &
46+
docker pull "$IMAGE_NAME"
47+
docker pull typedb/typedb
4048
pip install localstack
4149
4250
make install

.github/workflows/wiremock.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ on:
77
branches:
88
- main
99
paths:
10+
- .github/workflows/wiremock.yml
1011
- 'wiremock/**'
1112
push:
1213
branches:
1314
- main
1415
paths:
16+
- .github/workflows/wiremock.yml
1517
- 'wiremock/**'
1618
workflow_dispatch:
1719

@@ -26,6 +28,13 @@ jobs:
2628
permissions:
2729
contents: read
2830
timeout-minutes: 10
31+
strategy:
32+
matrix:
33+
tag:
34+
- latest
35+
- dev
36+
env:
37+
IMAGE_NAME: localstack/localstack-pro:${{matrix.tag}}
2938
steps:
3039
- name: Checkout
3140
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
@@ -39,9 +48,9 @@ jobs:
3948
run: |
4049
cd wiremock
4150
42-
docker pull localstack/localstack-pro &
43-
docker pull wiremock/wiremock &
44-
docker pull public.ecr.aws/lambda/python:3.12 &
51+
docker pull "$IMAGE_NAME"
52+
docker pull wiremock/wiremock
53+
docker pull public.ecr.aws/lambda/python:3.12
4554
pip install localstack terraform-local awscli-local[ver1]
4655
4756
make install

0 commit comments

Comments
 (0)