-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Moved shared init code into hack/lib/init.sh #10300
Moved shared init code into hack/lib/init.sh #10300
Conversation
[test] |
@Miciah would you please look at this and let me know if it looks good? |
Extended test hit a bunch of flakes but the Bash worked fine. |
@@ -43,6 +38,4 @@ REQUIRED_BINS=( | |||
"./..." | |||
) | |||
|
|||
pushd "${ORIGIN_ROOT}" > /dev/null |
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.
now the script will fail if I'm not running from the root?
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.
As of this commit, hack/lib/init.sh
will ensure you're in the root after you source
it so these statements were superfluous.
51db960
to
8ba5b5a
Compare
this LGTM. I'll give it a merge after tests... |
8ba5b5a
to
7183ded
Compare
@eparis unclear how much weight we should give the tests. |
Green |
7183ded
to
3bdd33d
Compare
Rebased, re[merge] |
3bdd33d
to
3a6faa6
Compare
@openshift-bot, the last build failed from the following flakes:
|
3a6faa6
to
54afea3
Compare
re[merge] |
All of our Bash scripts made a number of initialization steps: setting Bash flags, finding and moving into the Origin root directory. This commit moves all of those steps into hack/lib/init.sh in order to cut down on the amount of boilerplate in our files. Signed-off-by: Steve Kuznetsov <[email protected]>
54afea3
to
614bf6c
Compare
rebased, re[merge] |
Evaluated for origin test up to 614bf6c |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/7845/) |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/7845/) (Image: devenv-rhel7_4814) |
@openshift-bot, the last build failed from the following flakes: re[merge] |
Evaluated for origin merge up to 614bf6c |
All of our Bash scripts made a number of initialization
steps: setting Bash flags, finding and moving into the
Origin root directory. This commit moves all of those
steps into hack/lib/init.sh in order to cut down on the
amount of boilerplate in our files.
Signed-off-by: Steve Kuznetsov [email protected]