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

Iss1888 - Reference images in GHCR "docker proxy" instead of Harbor & fix broken adduser/addgroup for 'galasa' #337

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

jadecarino
Copy link
Contributor

Why?

For galasa-dev/projectmanagement#1888

Replacing references to images stored in Harbor with GHCR now they have been moved over to our "docker proxy cache". Harbor has been experiencing unexplained issues so pulling/pushing images there has been failing, and so PR builds have been failing sporadically all day. Moving our regularly used based images to GHCR removes the chance for these outages which affect our delivery.

&

As part of another story, to give the galasactl-x86_64 image access to bash, the FROM image of the image was updated from Alpine to Ubuntu. Since then this has broken the command to add a user and group of galasa as the syntax used in the Dockerfile is for Alpine Linux, not Ubuntu. In Ubuntu, adduser works differently, and useradd and groupadd should be used instead.

This fix has been tested by running the image within my fork (see workflow run here which is failing for another reason but is correctly being run with the galasa user, compared to a previous workflow run here where the user galasa wasn't found).

@galasa-team
Copy link

Build failed, see http://localhost:8001/api/v1/namespaces/tekton-pipelines/services/tekton-dashboard:http/proxy/#/namespaces/galasa-build/pipelineruns/repo-cli-pr-337-pcnzc for details. If you are unable to do so, please contact a member of the Galasa team.

@galasa-team
Copy link

Build successful

@jadecarino
Copy link
Contributor Author

CodeQL check still not running for forks so merging with my admin rights.

@jadecarino jadecarino merged commit 2938fd3 into galasa-dev:main Feb 13, 2025
4 checks passed
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.

3 participants