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

hack/lib/init.sh: minor shell and readme improvement #17501

Merged
merged 1 commit into from
Nov 30, 2017

Conversation

pgier
Copy link
Contributor

@pgier pgier commented Nov 28, 2017

hack/lib/init.sh: minor shell and readme improvement

Use ${BASH_SOURCE[0]} instead of $0 for consistent behavior when
script is run directly or using 'source hack/lib/init.sh', and
fix regex.

Use tabs instead of spaces for indenting in shell scripts.

The example in the CONTRIBUTING doc adds the locally built
oc binary dir at the end of the PATH. If the user already has oc
in the path then this command won't override it. This just
changes the example to add the local build to the beginning of the PATH

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 28, 2017
@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: pgier
We suggest the following additional approver: liggitt

Assign the PR to them by writing /assign @liggitt in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 28, 2017
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 29, 2017
Use ${BASH_SOURCE[0]} instead of $0 for consistent behavior when
script is run directly or using 'source hack/lib/init.sh', and
fix regex.

Use tabs instead of spaces for indenting in shell scripts.

The example in the CONTRIBUTING doc adds the locally built
oc binary dir at the end of the PATH.  If the user already has oc
in the path then this command won't override it.  This just
changes the example to add the local build to the beginning of the PATH
@pgier pgier force-pushed the init-script-minor-fix branch from 8fc53c8 to 644ad02 Compare November 29, 2017 15:21
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 29, 2017
@pgier pgier changed the title hack/lib/init.sh: fix using bash source on init.sh script hack/lib/init.sh: minor shell and readme improvement Nov 29, 2017
@fabianofranz
Copy link
Member

@stevekuznetsov PTAL

@stevekuznetsov
Copy link
Contributor

Sure, seems reasonable

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 29, 2017
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pgier, stevekuznetsov

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 29, 2017
@stevekuznetsov
Copy link
Contributor

/test all

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@stevekuznetsov
Copy link
Contributor

/retest

@openshift-ci-robot
Copy link

openshift-ci-robot commented Nov 30, 2017

@pgier: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/openshift-jenkins/extended_conformance_install_update 644ad02 link /test extended_conformance_install_update

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue (batch tested with PRs 17451, 17501).

@openshift-merge-robot openshift-merge-robot merged commit fc3e2b7 into openshift:master Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants