-
Notifications
You must be signed in to change notification settings - Fork 21
Switch to native arm builder + docker/metadata #250
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
89259fd to
899c777
Compare
6670b53 to
1571f44
Compare
cedric-anne
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.
IMHO, we should keep only the .github/workflows/_glpi-build.yml and trigger calls directly from GLPI.
Also, maybe we could add a on.push event with a step that uses default inputs, to trigger the ci build (without pushing images) when the workflow is updated.
glpi/files/opt/glpi/entrypoint.sh
Outdated
| # Source GLPI environment variables (includes GLPI_MARKETPLACE_DIR detected at build time) | ||
| if [ -f /etc/glpi_env ]; then | ||
| export $(cat /etc/glpi_env | xargs) | ||
| fi |
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.
The issue with this is that it will erase any custom value defined by the admin.
We could decide to not support it if we do not find a better solution.
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.
I didn't find any cleaner way to support both 10 and 11 at the build time. I guess that's why it was in the set variable step before.
I could rollback this commit and let it in the set variable step
Add a `on.push/pr` to trigger the ci build (without pushing images) when the workflow is updated
0d9b5d2 to
07ca706
Compare
Co-authored-by: Cédric Anne <[email protected]>
Co-authored-by: Cédric Anne <[email protected]>
The modifications are based on docker recommendation
Native arm runner are available for free github project (so no problem for glpi-project/docker-images) or for paid enterprise plan