-
Notifications
You must be signed in to change notification settings - Fork 3
Refactoring the container build process in Github Actions for improved reliability #659
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
Conversation
for more information, see https://pre-commit.ci
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #659 +/- ##
=======================================
Coverage 42.37% 42.37%
=======================================
Files 30 30
Lines 2834 2834
=======================================
Hits 1201 1201
Misses 1633 1633
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@dylanhmorris not sure what's going on with the format-suggest check, but otherwise, I removed the cacheing code and the container successfully builds and post to ghcr.io. Let me know if there's a way I can help test the functionality of the container, or if that's even necessary given our automated tests. If not necessary, please feel free to review or provide feedback! Thanks, |
Thanks, @jkislin! I think the best way to test functionality before merging to try running a job in Azure with the |
I am still getting a Manifest unknown error. I will investigate more tomorrow. |
|
@jkislin I think with these simplifications we can just remove the Might resolve the manifest issues and should in general be more robust |
…nto jk-rm-cache
@jkislin What do you think of this? |
It's possible that would help, I am noticing that there's either inappropriate (or we just don't understand exactly) redirect behavior when specifying image tags on ghcr.io.
Any tag I supply directs here. There's a "latest" meta-tag that applies even if the image pushed wasn't tagged "latest". I'm now also getting this error on the pool itself. I'm going to see if making "latest" the actual "latest" changes things. |
|
I've refactored for the build-and-push action, and we can toggle cacheing via commenting/uncommenting the final two lines. |
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.
Thanks, @jkislin! Should be good to go with deletion of old shell script
dylanhmorris
left a comment
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!


Running tests. Will request review. It probably makes sense to leave the cache code commented in the script as we may change our mind again!