-
Notifications
You must be signed in to change notification settings - Fork 2k
OpenStack: fix binaries in test image #8065
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
OpenStack: fix binaries in test image #8065
Conversation
|
/uncc patrickdillon jstuever |
|
/test pj-rehearse |
|
For future reference, the change in origin that broke us: openshift/origin#24560 |
|
/test pj-rehearse |
1 similar comment
|
/test pj-rehearse |
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.
Please set -euo pipefail
6c59492 to
05af7db
Compare
|
|
/test pj-rehearse |
Hmm if you look at the timestamp of this job, it ran on April 1st. Something fishy is going on... |
|
/test pj-rehearse |
3 similar comments
|
/test pj-rehearse |
|
/test pj-rehearse |
|
/test pj-rehearse |
Newer $IMAGE_TESTS now have /usr/bin/openshift-tests and /usr/bin/openshift-tests-kubernetes. We need to copy both of them. Also /usr/bin/kubectl is a symlink pointing to /usr/bin/oc, so unless the openstack image has the file exists on the OpenStack test image, this won't work or won't point to the expected version of the binary. This commit copies all the symlinks pointing to `oc` from the $IMAGE_TESTS to their new location. Additionally, copy binaries from $IMAGE_TESTS into a subdirectory in /tmp/shared to prevent name collision since this directory is prepended to the PATH and we create files such as `exit` that could shadow real commands.
05af7db to
0769f01
Compare
|
/lgtm |
|
[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 |
|
@mandre: Updated the following 4 configmaps:
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. |
Newer $IMAGE_TESTS now have /usr/bin/openshift-tests and
/usr/bin/openshift-tests-kubernetes. We need to copy both of them.
Also /usr/bin/kubectl is a symlink pointing to /usr/bin/oc, so unless
the openstack image has the file exists on the OpenStack test image,
this won't work or won't point to the expected version of the binary.
This commit copies all the symlinks pointing to
ocfrom the$IMAGE_TESTS to their new location.
Additionally, copy binaries from $IMAGE_TESTS into a subdirectory in
/tmp/shared to prevent name collision since this directory is prepended
to the PATH and we create files such as
exitthat could shadow realcommands.