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

[UI] - Adding logic to enable init.sh execution on Alpine Linux #12041

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

izaac
Copy link
Contributor

@izaac izaac commented Sep 26, 2024

Summary

First part of rancher/qa-tasks#1549

Occurred changes and/or fixed issues

Adding logic to execute the Jenkins CI initialization script on Alpine Linux images. This allows the execution on the new runners.
Explicitly set the GOROOT to the downloaded golang extracted tar.
Everything else is shell agnostic and runs transparently in then ash shell.

Technical notes summary

Alpine Linux isn't binary compatible by default with the golang Linux binaries as it ships with the C lib musl. The go binaries require glibc. Adding gcompat fix this.

Areas or cases that should be tested

Jenkins

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

@izaac izaac added area/ci CI and automation related, e.g. GitHub Actions QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this labels Sep 26, 2024
@izaac izaac added this to the v2.10.0 milestone Sep 26, 2024
@izaac izaac self-assigned this Sep 26, 2024
rancher-max
rancher-max previously approved these changes Sep 26, 2024
cypress/jenkins/init.sh Outdated Show resolved Hide resolved
@izaac izaac merged commit 6a16cc3 into rancher:master Sep 26, 2024
30 checks passed
@izaac izaac deleted the jenkins_debug branch September 26, 2024 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci CI and automation related, e.g. GitHub Actions QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants