-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Conversation
ef84444
to
518d41a
Compare
518d41a
to
6a95baf
Compare
6a95baf
to
37c1e0e
Compare
Based on helm/chart-testing#1 |
cc @kubernetes/charts-maintainers |
test/helm-test-e2e.sh
Outdated
|
||
wget -q ${HELM_URL}/${HELM_TARBALL} -P ${WORKSPACE} | ||
tar xzfv ${WORKSPACE}/${HELM_TARBALL} -C ${WORKSPACE} | ||
wget -q "$HELM_URL/$HELM_TARBALL" -P "$WORKSPACE" |
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.
should this be packaged in the docker image?
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 script is for tests of a few whitelisted charts against Kubernetes master. It is not used in regular charts CI. I did not really do anything with that other than making ShellCheck happy. This should probably be tackled in a separate PR.
.circleci/config.yml
Outdated
command: test/circle/lint.sh | ||
build: | ||
docker: | ||
- image: unguiculus/chart-testing |
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.
please pin a docker version
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.
could you also add the source of this docker image in the git repo?
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.
never mind, I found it in the PR
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.
The image will be updated to gcr.io/kubernetes-charts-ci/test-image:v2.0.0
before the PR is merged.
@@ -27,19 +27,10 @@ The configuration of the Pull Request trigger is [in the config.json](https://gi | |||
|
|||
This snippet tells Test Infra to run the [test/e2e.sh](https://github.com/kubernetes/charts/blob/master/test/e2e.sh) | |||
when testing is triggered on a pull request. The e2e.sh script will use the [Charts test image](https://github.com/kubernetes/charts/blob/master/test/Dockerfile) | |||
to run the [test/changed.sh](https://github.com/kubernetes/charts/blob/master/test/changed.sh) script. This script | |||
to run the [chart_test.sh](https://github.com/kubernetes-helm/chart-testing/blob/master/chart_test.sh) script. This script |
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 chart_test.sh link is broken
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.
The links should work once helm/chart-testing#1 is merged.
/assign @mattfarina @viglesiasce |
I think it still needs helm/chart-testing#1 to be merged before this one can be? |
c9c59d0
to
e658f2c
Compare
ef4402d
to
73f0aa5
Compare
46c4bab
to
8a41c2d
Compare
8a41c2d
to
7819365
Compare
CircleCI should become green once #5847 is merged. |
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.
On the whole this looks good. I still need to look at the charts testing repo.
test/Dockerfile
Outdated
@@ -12,45 +12,19 @@ | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
|
|||
FROM debian:8.5 | |||
FROM gcr.io/kubernetes-charts-ci/chart-testing:v1.0.0 |
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.
Where is the source for this FROM? It's under our control which is why I'm curious.
Side note, I'm starting to ponder Quay because of the container image security scanning.
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.
That's the image containing the new factored out testing stuff.
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.
On the whole this looks good. I would like @viglesiasce or @prydonius to give it a thumbs up, too.
jobs: | ||
- build | ||
- lint-scripts | ||
- lint-charts |
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.
Note: Since this name is changing from build the required tests for branch will need to change when this goes in.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mattfarina, unguiculus 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 |
* [WIP][CI] Use factored out testing lib * Incorporate upstream changes * Update Docker image for CircleCI * Update Docker image * Update Docker image * Align with upstream changes * Remove dummy chart and bump a few charts for testing * Fix Dockerfile * Align with upstream changes * Add summary * Update Chart.yaml * Update Docker images * Remove chart test bumps * Align with upstream changes * Bump some charts for testing * Create v2.0.0 * Remove chart version bumps * Revert repo-sync.sh in favor of helm#5847 * Bump image version * Use latest chart testing image
* [WIP][CI] Use factored out testing lib * Incorporate upstream changes * Update Docker image for CircleCI * Update Docker image * Update Docker image * Align with upstream changes * Remove dummy chart and bump a few charts for testing * Fix Dockerfile * Align with upstream changes * Add summary * Update Chart.yaml * Update Docker images * Remove chart test bumps * Align with upstream changes * Bump some charts for testing * Create v2.0.0 * Remove chart version bumps * Revert repo-sync.sh in favor of helm#5847 * Bump image version * Use latest chart testing image Signed-off-by: voron <[email protected]>
Updates CI to use refactored testing library.
Fixes #3772
Fixes #3579