-
Notifications
You must be signed in to change notification settings - Fork 19
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
ci: Update caching mechanism and refactor the actions #248
Conversation
af06740
to
ae45b36
Compare
ae45b36
to
19eecaf
Compare
It looks like the build still takes 27+ mins?
|
… key Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
1. Renamed workflows to follow a consistent naming convention (`action-*`) 2. Extracted reusable workflows Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
19eecaf
to
febdfb1
Compare
umm let me check what's going on. The previous run succeeded in 1m 41s: https://github.com/spinkube/containerd-shim-spin/actions/runs/12360411165/job/34497376173?pr=248 |
Okay I ru-ran the CI and this time the build finishes in 1m 44s: https://github.com/spinkube/containerd-shim-spin/actions/runs/12822111054/job/35754491970?pr=248 |
publish-node-installer-image: | ||
uses: ./.github/workflows/node-installer.yaml | ||
uses: ./.github/workflows/action-node-installer.yaml | ||
needs: build | ||
# This action requires use of the GITHUB_TOKEN to publish the image | ||
# By default, PRs from forks don't have access, so we only run when the PR branch is on origin. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this ran on the PR. Is that expected? From the comment it sounds like it shouldn't on forks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh looks like your branch is on the upstream repo here...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
I noticed that our CI isn't caching the build artifacts and thus each build takes more than 20 minutes to build and test. This is an attempt to cache the successful build in GitHub.
This PR also reorganizes the GitHub Action files and renamed a bunch of symbols to keey a consistent style.