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

Add a specific version and context support for kaniko #32

Merged
merged 1 commit into from
May 24, 2019

Conversation

houshengbo
Copy link

@houshengbo houshengbo commented May 22, 2019

We need to pin to specific version rather than go with the dynamic latest commit. The version v0.9.0 seems to be a stable one.

Add the parameter context support for kaniko.

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide
for more details.

@tekton-robot tekton-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 22, 2019
@houshengbo
Copy link
Author

houshengbo commented May 22, 2019

The similar PR is submitted to Tektoncd pipeline as well: tektoncd/pipeline#878 for version change.

@houshengbo
Copy link
Author

/assign @vdemeester

@houshengbo houshengbo changed the title Add a specific verion for the image gcr.io/kaniko-project/executor Add a specific version and context support for kaniko May 22, 2019
@houshengbo houshengbo force-pushed the add-specific-version branch 2 times, most recently from ad0c68c to 43c65c2 Compare May 22, 2019 18:09
We need to pin to specific version rather than go with the dynamic
latest commit. The version v0.9.0 seems to be a stable one.

Add the parameter context support for kaniko.
@tekton-robot tekton-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 22, 2019
Copy link
Member

@imjasonh imjasonh left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

Thanks!

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 23, 2019
@imjasonh
Copy link
Member

/ok-to-test

@tekton-robot tekton-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 23, 2019
Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

/lgtm

@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: houshengbo, ImJasonH, vdemeester

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 24, 2019
@tekton-robot tekton-robot merged commit 3abf4f2 into tektoncd:master May 24, 2019
@@ -30,4 +32,5 @@ spec:
command:
- /kaniko/executor
- --dockerfile=${inputs.params.DOCKERFILE}
- --context=/workspace/source/${inputs.params.CONTEXT} # The user does not need to care the workspace and the source.
Copy link
Contributor

Choose a reason for hiding this comment

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

nice!! :D p.s. with path templating (i.e. in this case ${inputs.resouces.source.path}/${inputs.params.CONTEXT}) the author of the Task wouldnt have to worry about it either :D

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.

5 participants