Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple clean build CI job from prod build #1814

Merged
merged 12 commits into from Aug 28, 2023

Conversation

frederikrothenberger
Copy link
Member

@frederikrothenberger frederikrothenberger commented Aug 24, 2023

This PR splits the canister_tests clean build CI job into two parts: the clean build & the hash check.

This allows to start the clean build immediately instead of just after the prod build.

Also, the clean build now really builds
the prod build from scratch, including the dev build that's hashed into it due to dfx deps (if applicable, i.e. only release builds).

Link to successful release build check run: https://github.com/dfinity/internet-identity/actions/runs/5975993428


🟡 Some screens were changed

This PR splits the canister_tests clean build CI job
into two parts: the clean build & the hash check.

This allows to start the clean build immediately instead of
just after the prod build.

Also, the clean build now really builds
the prod build from scratch, including the dev build that's hashed
into it due to dfx deps (if applicable, i.e. only release builds).
@@ -70,7 +70,6 @@ jobs:

# Since the release build check is a scheduled job, a failure won't be shown on any
# PR status. To notify the team, we send a message to our Slack channel on failure.
- uses: actions/checkout@v3 # checks out the latest slack action
Copy link
Member Author

Choose a reason for hiding this comment

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

This checkout action has been removed because the post-run actions of the check-build action crash with out-of index if the number of steps in that action has changed since the last release.

@frederikrothenberger frederikrothenberger marked this pull request as ready for review August 25, 2023 12:59
Copy link
Collaborator

@przydatek przydatek left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

.github/actions/check-build/action.yml Outdated Show resolved Hide resolved
@frederikrothenberger frederikrothenberger added this pull request to the merge queue Aug 28, 2023
Merged via the queue into main with commit e0a6d6d Aug 28, 2023
49 checks passed
@frederikrothenberger frederikrothenberger deleted the frederik/reorder-clean-build branch August 28, 2023 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants