Skip to content

Use kubernetes-helm/chart-testing scripts to verify helm chart - #703

Merged
munnerz merged 3 commits into
cert-manager:masterfrom
munnerz:chart-verify
Jul 4, 2018
Merged

munnerz merged 3 commits into
cert-manager:masterfrom
munnerz:chart-verify

Conversation

@munnerz

@munnerz munnerz commented Jul 4, 2018

Copy link
Copy Markdown
Member

What this PR does / why we need it:

Switches us to use more modern chart verification techniques.

This also switches us to use docker for verifying the chart version, which has involved some changes to our test-infra to run dind.

Special notes for your reviewer:

This fixes issues seen in #680 and #702

/release-note-none
/assign

@jetstack-bot

Copy link
Copy Markdown
Contributor

@munnerz: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

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.

@jetstack-bot jetstack-bot added the do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. label Jul 4, 2018
@jetstack-bot
jetstack-bot requested a review from kragniz July 4, 2018 13:12
@jetstack-bot jetstack-bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jul 4, 2018
@munnerz

munnerz commented Jul 4, 2018

Copy link
Copy Markdown
Member Author

/release-note-none

@jetstack-bot jetstack-bot added release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Jul 4, 2018
## subdirectory, we must modify the below line from $1/$2 to be $1/$2/$3.
## In future, we should PR upstream so we no longer hardcode the depth of
## directories required for this script.
done < <(git diff --find-renames --name-only "$merge_base" "${CHART_DIRS[@]}" | awk -F/ '{ print $1"/"$2"/"$3 }' | uniq)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This single line change is the reason why we can't just use the upstream docker image on its own for running the test 😢

I'd love to get this fixed upstream! Right now though, we cannot merge changes to our Helm chart, so I have opted to vendor the bash library for the time being.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@jetstack-bot

Copy link
Copy Markdown
Contributor

@munnerz: GitHub didn't allow me to request PR reviews from the following users: unguiculus.

Note that only jetstack members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

/cc @unguiculus

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.

@munnerz munnerz added 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. labels Jul 4, 2018
@jetstack-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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

@munnerz

munnerz commented Jul 4, 2018

Copy link
Copy Markdown
Member Author

Manually overriding as the previous functionality is already broken, and this is blocking a v0.3.2 release containing a critical bugfix.

@munnerz

munnerz commented Jul 4, 2018

Copy link
Copy Markdown
Member Author

/retest

@munnerz
munnerz merged commit 959aba2 into cert-manager:master Jul 4, 2018
jetstack-bot added a commit that referenced this pull request Jul 4, 2018
…stream-release-0.3

Automated cherry pick of #703
@munnerz
munnerz deleted the chart-verify branch January 29, 2019 23:36
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. release-note-none Denotes a PR that doesn't merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants