Skip to content

Conversation

@rabugopsl
Copy link
Contributor

Added shell script to simplify invocation of yamllint task.

This task will be executed by Prow.
openshift/release/pull/1138

@coreosbot
Copy link

Can one of the admins verify this patch?

@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 2, 2018
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added modules

Copy link
Member

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.

Copy link
Member

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 

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed trailing whitespace

@wking
Copy link
Member

wking commented Aug 2, 2018

/ok-to-test

@openshift-ci-robot openshift-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 2, 2018
@wking
Copy link
Member

wking commented Aug 2, 2018

The e2e-aws error was:

3 error(s) occurred:

* module.vpc.aws_route.to_nat_gw[3]: 1 error(s) occurred:

* aws_route.to_nat_gw.3: Error finding route after creating it: Unable to find matching route for Route Table (rtb-06425f78f948acba8) and destination CIDR block (0.0.0.0/0).
* module.vpc.aws_route.to_nat_gw[0]: 1 error(s) occurred:

* aws_route.to_nat_gw.0: Error finding route after creating it: Unable to find matching route for Route Table (rtb-06997bd3a24417c54) and destination CIDR block (0.0.0.0/0).
* module.vpc.aws_route.to_nat_gw[1]: 1 error(s) occurred:

* aws_route.to_nat_gw.1: Error finding route after creating it: Unable to find matching route for Route Table (rtb-00deab9b683160b7f) and destination CIDR block (0.0.0.0/0).

I'll leave it alone, and it will run a fresh test once you push updates.

@wking wking mentioned this pull request Aug 2, 2018
@wking
Copy link
Member

wking commented Aug 2, 2018

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, --rm addition, or aborted modules/ attempt for future readers :p. That's not a big deal though; I'm fine if approvers want to merge this PR without waiting for a squash.

@yifan-gu
Copy link
Contributor

yifan-gu commented Aug 3, 2018

+1, LGTM after squashing the commits. Thank you for the PR @rabugopsl !!

@rabugopsl rabugopsl force-pushed the CORS-745_Move_yaml-lint_to_prow branch from 08f30ae to 9b80523 Compare August 3, 2018 12:23
@rabugopsl
Copy link
Contributor Author

Commits squashed

@wking
Copy link
Member

wking commented Aug 3, 2018

/lgtm

This needs to go in next with the release PR merged.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 3, 2018
@openshift-ci-robot
Copy link
Contributor

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel 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 Aug 3, 2018
@openshift-merge-robot openshift-merge-robot merged commit 54ae4d3 into openshift:master Aug 3, 2018
@rabugopsl rabugopsl deleted the CORS-745_Move_yaml-lint_to_prow branch August 3, 2018 14:29
stbenjam pushed a commit to stbenjam/installer that referenced this pull request Feb 10, 2021
…penshift-4.8-ose-cluster-baremetal-operator

Updating ose-cluster-baremetal-operator builder & base images to be consistent with ART
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.

6 participants