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

Fix cloudformation lint job #10256

Merged
merged 1 commit into from
Nov 18, 2020
Merged

Conversation

rifelpet
Copy link
Member

@rifelpet rifelpet commented Nov 18, 2020

The Dockerfile we were using in the cfn-python-lint repo wasn't actually pinned to the version associated with the git tag, it always installs the latest version.
A recent release consolidated error rules regarding invalid values (aws-cloudformation/cfn-lint#1750)

We use an intentionally invalid "us-test-1" region and zones in much of our testing. We used to be able to ignore this "invalid AZ" error (E2510), but now we would need to ignore all invalid values for all resource properties.

This pins cfn-python-lint to an older version by providing our own Dockerfile, but we'll have to figure out how we want to handle this longer term.

Fixes https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kops/9666/pull-kops-verify-cloudformation/1328738395379208192

@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 18, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rifelpet

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 18, 2020
@rifelpet
Copy link
Member Author

/test pull-kops-verify-cloudformation

@rifelpet rifelpet marked this pull request as ready for review November 18, 2020 01:25
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 18, 2020
The dockerfile we were using in the cfn-python-lint repo wasn't actually pinned to the version associated with the git tag, it always installs the latest version.
A recent release consolidated error rules regarding invalid values.
We use an invalid "us-test-1" region and zones in much of our testing.
We used to be able to ignore this "invalid AZ" error, but now we would need to ignore all invalid values for all resource properties.
This pins cfn-python-lint to an older version but we'll have to figure out how we want to handle this longer term.
@johngmyers
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 18, 2020
@k8s-ci-robot k8s-ci-robot merged commit a0c8925 into kubernetes:master Nov 18, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.20 milestone Nov 18, 2020
k8s-ci-robot added a commit that referenced this pull request Nov 21, 2020
…9666-upstream-release-1.19

Automated cherry pick of #10256: Fix cloudformation lint job #9666: feat(aws): add PolicyNames for ELB to change listener's
@rifelpet rifelpet deleted the cfn-python-lint branch May 5, 2021 13:46
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", 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.

None yet

3 participants