-
Notifications
You must be signed in to change notification settings - Fork 49
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
add deploy to GitHub packages #4996
base: master
Are you sure you want to change the base?
add deploy to GitHub packages #4996
Conversation
I think you got it right. Thanks! Should we move the |
Yeah! So if they are manually created - do you want to push them to |
It looks like it's mostly the .devcontainer and then various documentation:
|
It will take about a day to stage the base testenv images to ghcr because of my ADSL connection. Let me see if I can do that first. BTW, does ghcr.io allow read only, unauthenticated access to images? |
Yes it does. When you push it will default to private in most cases (unless you change the default) and then you can change the visibility in the container settings. Also note that if you manually push a container and then actions needs to push, the actions runner will need to be given permissions. If you push first from actions, given the actions runner in the repository permissions has that setting, it should work the first time. I guess in simpler terms if there is any issue just ping me! 😆 |
Just circling back - can I rebase here and then set merge on pass? Is this still desired? I noticed the same setup for the flux-sched repo - I could do the same thing I did here there (if there is interest)! |
Problem: Docker might be taking away OSS project repos Solution: Do a double deploy to include ghcr.io as a backup! Signed-off-by: vsoch <vsoch@users.noreply.github.com>
3f4757e
to
6af9645
Compare
Codecov Report
@@ Coverage Diff @@
## master #4996 +/- ##
==========================================
+ Coverage 83.12% 83.13% +0.01%
==========================================
Files 443 443
Lines 76173 76173
==========================================
+ Hits 63317 63329 +12
+ Misses 12856 12844 -12 |
@grondo do you want to do this soon? I propose we finish up this work and then remove the ubuntu builds here: https://github.com/flux-framework/flux-core/actions/runs/4592479440/jobs/8109553376 |
Sorry, this fell off my todo list since Docker retracted their plan to delete OSS project repos! I can try to work on this after our release this week. |
Ping! @grondo I think when we have separate testing repos, we will want these ghcr images, and built nightly so we can regularly test against the latest flux here. Do you have time to take a look sometime this week? |
I was just thinking that maybe these ghcr actions could take care of pulling the docker hub |
Yes! We absolutely could do that. We wouldn't just want to push, but maybe have the testenv build in another automated place. Where are they currently built from? |
Problem: Docker might be taking away OSS project repos
Solution: Do a double deploy to include ghcr.io as a backup!
I'm not super familiar with how the push is done - but I found a script that generates the build matrix, and the deploy shell script, and made changes to both.