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

Support Alpine and RedHat distro based images #9

Open
2 tasks
pauldoomgov opened this issue Jun 26, 2024 · 2 comments
Open
2 tasks

Support Alpine and RedHat distro based images #9

pauldoomgov opened this issue Jun 26, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@pauldoomgov
Copy link
Contributor

pauldoomgov commented Jun 26, 2024

As a GitLab Runner user,
I would like to run job steps with images based on non-Debian distros,
So I may avoid having to build new base images and other silly things just because the cloud.gov runner doesn't know how to install packages correctly.

Proposed Solution

  • Add package install support for Alpine (apk seems busted right now)
  • Add package install support for RedHat (there is no rpm install at all right now)
  • Consider a potential fail-safe that would pull binaries with curl and check sigs?

Acceptance Criteria

  • Jobs run with an Alpine based image work
  • Jobs run with a RedHat based image work

Additional Info

The current guilty code:

https://github.com/GSA-TTS/gitlab-runner-cloudgov/blob/11f09a79aa62d992a23bac0cabccbddf9c835588/runner/cf-driver/prepare.sh#L113C1-L137C1

@pauldoomgov pauldoomgov added the enhancement New feature or request label Jun 26, 2024
@zjrgov
Copy link
Contributor

zjrgov commented Jun 26, 2024

APK seems to just be missing which is odd. Also odd is npm not being available on a Node image. Could be related?

@callaghangsa
Copy link

Bookmark until post-GO runner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants