-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Added yaml-lint shell script. Updated travis file to use yaml-lint sh… #101
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
Added yaml-lint shell script. Updated travis file to use yaml-lint sh… #101
Conversation
|
Can one of the admins verify this patch? |
hack/yaml-lint.sh
Outdated
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.
This is not an issue for Travis, but if we want to support devs running this locally, I think we want docker run -t --rm ... here.
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.
Done
hack/yaml-lint.sh
Outdated
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.
This would change the logic from what was in Travis, but we may want to lint modules as well. I'm not sure why that wasn't added when the Travis logic landed in coreos/tectonic-installer#3268.
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.
Added modules
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.
Added
modules
Following up on this, @rabugopsl tried and turned up some errors. So we're punting on including modules for now, and we'll revisit after this PR lands.
hack/yaml-lint.sh
Outdated
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.
$ git show --check --oneline origin/pr/101
4136934 Added yaml-lint shell script. Updated travis file to use yaml-lint shell script
hack/yaml-lint.sh:2: trailing whitespace.
+if [ "$IS_CONTAINER" != "" ]; then 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.
removed trailing whitespace
|
/ok-to-test |
|
The e2e-aws error was: I'll leave it alone, and it will run a fresh test once you push updates. |
|
The changes through 08f30ae4 look good to me. Can you squash down to a single commit? I don't think we need to preserve the whitespace removal, |
|
+1, LGTM after squashing the commits. Thank you for the PR @rabugopsl !! |
08f30ae to
9b80523
Compare
|
Commits squashed |
|
/lgtm This needs to go in next with the release PR merged. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rabugopsl, wking 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 |
…penshift-4.8-ose-cluster-baremetal-operator Updating ose-cluster-baremetal-operator builder & base images to be consistent with ART
Added shell script to simplify invocation of yamllint task.
This task will be executed by Prow.
openshift/release/pull/1138