-
Notifications
You must be signed in to change notification settings - Fork 2.1k
CAPO: use rhel8 base image to run unit tests #39007
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
|
/hold |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mandre The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/pj-rehearse |
|
/pj-rehearse |
|
/pj-rehearse |
|
/pj-rehearse |
|
/pj-rehearse |
The golang-1.17 image is based on centos 7, which is too old for our needs. Use a rhel8 based image instead. Also unset GOFLAGS to remove `-mod=vendor` since that prevents us from building envtest, and set XDG variables to workaround permission issues.
|
/pj-rehearse |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse |
|
@mandre: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
This is ready for review |
| tests: | ||
| - as: unit | ||
| commands: make test | ||
| commands: GOFLAGS= XDG_DATA_HOME=/tmp/.local/share XDG_CACHE_HOME=/tmp/.cache make |
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.
Shouldn't we vendor dependencies (as a downstream patch) and remove the GOFLAGS override?
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.
Possibly, but since we're only using CAPO as a library in MAPO (we vendor in MAPO), is it important?
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mandre, pierreprinetti The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/pj-rehearse ack |
|
/pj-rehearse ack |
|
@mandre: Updated the
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The golang-1.17 image is based on centos 7, which is too old for our
needs. Use a rhel8 based image instead.
Also unset GOFLAGS to remove
-mod=vendorsince that prevents us frombuilding envtest, and set XDG variables to workaround permission issues.