Skip to content

Commit eadba81

Browse files
authored
ci: publish actual snapshot images (astarte-platform#1610)
The `astarte-apps-build` workflow was called without the `app` argument when in the context of validation testing before publishing snapshot images of Astarte services. Since the `app` argument is required, this made the whole publishing job fail. Fix this by passing the right argument to all instances. copy-paste goes brrrrrrrrrrrrrr Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
1 parent 9785ccf commit eadba81

1 file changed

Lines changed: 61 additions & 2 deletions

File tree

.github/workflows/publish-snapshot-to-dockerhub-workflow.yaml

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,61 @@ on:
1616
- 'release-*'
1717

1818
jobs:
19-
container_tests:
19+
astarte_appengine_api:
2020
uses: ./.github/workflows/astarte-apps-build-workflow.yaml
21+
with:
22+
app: "astarte_appengine_api"
2123
secrets: inherit
2224

25+
astarte_data_updater_plant:
26+
uses: ./.github/workflows/astarte-apps-build-workflow.yaml
27+
with:
28+
app: "astarte_data_updater_plant"
29+
secrets: inherit
30+
31+
astarte_housekeeping_api:
32+
uses: ./.github/workflows/astarte-apps-build-workflow.yaml
33+
with:
34+
app: "astarte_housekeeping_api"
35+
secrets: inherit
36+
37+
astarte_housekeeping:
38+
uses: ./.github/workflows/astarte-apps-build-workflow.yaml
39+
with:
40+
app: "astarte_housekeeping"
41+
secrets: inherit
42+
43+
astarte_pairing_api:
44+
uses: ./.github/workflows/astarte-apps-build-workflow.yaml
45+
with:
46+
app: "astarte_pairing_api"
47+
secrets: inherit
48+
49+
astarte_pairing:
50+
uses: ./.github/workflows/astarte-apps-build-workflow.yaml
51+
with:
52+
app: "astarte_pairing"
53+
secrets: inherit
54+
55+
astarte_realm_management_api:
56+
uses: ./.github/workflows/astarte-apps-build-workflow.yaml
57+
with:
58+
app: "astarte_realm_management_api"
59+
secrets: inherit
60+
61+
astarte_realm_management:
62+
uses: ./.github/workflows/astarte-apps-build-workflow.yaml
63+
with:
64+
app: "astarte_realm_management"
65+
secrets: inherit
66+
67+
astarte_trigger_engine:
68+
uses: ./.github/workflows/astarte-apps-build-workflow.yaml
69+
with:
70+
app: "astarte_trigger_engine"
71+
secrets: inherit
72+
73+
2374
e2e_tests:
2475
uses: ./.github/workflows/astarte-end-to-end-test-workflow.yaml
2576

@@ -32,7 +83,15 @@ jobs:
3283
attestations: write
3384
id-token: write
3485
needs:
35-
- container_tests
86+
- astarte_appengine_api
87+
- astarte_data_updater_plant
88+
- astarte_housekeeping
89+
- astarte_housekeeping_api
90+
- astarte_pairing
91+
- astarte_pairing_api
92+
- astarte_realm_management
93+
- astarte_realm_management_api
94+
- astarte_trigger_engine
3695
- e2e_tests
3796
strategy:
3897
fail-fast: true

0 commit comments

Comments
 (0)