Skip to content

Parallel workflows in Astarte#1418

Merged
noaccOS merged 1 commit intoastarte-platform:release-1.3from
eddbbt:dashboard_on_e2e
Jul 29, 2025
Merged

Parallel workflows in Astarte#1418
noaccOS merged 1 commit intoastarte-platform:release-1.3from
eddbbt:dashboard_on_e2e

Conversation

@eddbbt
Copy link
Contributor

@eddbbt eddbbt commented Jul 9, 2025

This aim to make astarte build and e2e two different jobs, in order to reuse them with more flexibility in the future

@github-actions github-actions bot added the size/m label Jul 9, 2025
@eddbbt eddbbt force-pushed the dashboard_on_e2e branch 7 times, most recently from f738298 to ac41f00 Compare July 9, 2025 15:01
@github-actions github-actions bot added the size/s label Jul 9, 2025
@eddbbt eddbbt force-pushed the dashboard_on_e2e branch 3 times, most recently from 8b38163 to 06c8ab2 Compare July 10, 2025 09:25
@eddbbt eddbbt force-pushed the dashboard_on_e2e branch 17 times, most recently from c426842 to 6454986 Compare July 10, 2025 15:45
@eddbbt eddbbt force-pushed the dashboard_on_e2e branch 17 times, most recently from ebe5ecc to 2e4880a Compare July 28, 2025 10:15
@eddbbt eddbbt changed the title test sequential workflows Parallel workflows in Astarte, with Dashboard partecipations Jul 28, 2025
@eddbbt eddbbt changed the title Parallel workflows in Astarte, with Dashboard partecipations Parallel workflows in Astarte Jul 28, 2025
@eddbbt eddbbt force-pushed the dashboard_on_e2e branch 2 times, most recently from fc2eb4f to 6208c3c Compare July 28, 2025 10:38
@eddbbt eddbbt marked this pull request as ready for review July 28, 2025 10:38
E2E_MAIL_SUBJECT: "Subj: Astarte Notification"
run: mix run --no-halt
run: |
mix deps.get
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this done in the e2e-build workflow? doing it here would also mean no caching

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mhhh, I'll try to add a cache action also for this

Comment on lines +5 to +6


Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably missing a format

@eddbbt eddbbt force-pushed the dashboard_on_e2e branch from 6208c3c to de2edc8 Compare July 28, 2025 13:06
Comment on lines +16 to +26
- name: Cache Astarte E2E deps
uses: actions/cache@v4
with:
path: tools/astarte_e2e/deps
key: e2e-deps-${{ env.otp_version }}-${{ env.elixir_version }}-${{ hashFiles(format('{0}{1}{2}', github.workspace, '/tools/astarte_e2e', '/mix.lock')) }}
- name: Cache Astarte E2E build
uses: actions/cache@v4
with:
path: tools/astarte_e2e/_build
key: e2e-build-${{ env.otp_version }}-${{ env.elixir_version }}
- name: Cache Astarte E2E deps
uses: actions/cache@v4
with:
path: tools/astarte_e2e/deps
key: e2e-build-${{ env.otp_version }}-${{ env.elixir_version }}
- uses: erlef/setup-beam@v1.15
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two cache steps for tools/astarte_e2e/deps using different cache keys. Is this intentional, or could these be consolidated or clarified.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed, a silly letfover, fixed

Copy link
Contributor

@Dam-99 Dam-99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx for removing the unused env from the astarte-build workflow🤙🏻

Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants