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

Vendor and build gcs-fetcher image in release #1159

Merged
merged 1 commit into from
Aug 14, 2019

Conversation

imjasonh
Copy link
Member

@imjasonh imjasonh commented Aug 5, 2019

This changes the default value of the gcs-build resource image to an
image vendored into the pipelines repo and built during release (or ko
apply for local development).

This gives us more control over the version used by users, since the
image will be built by us from vendored/versioned source.

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.

Double check this list of stuff that's easy to miss:

I think this doesn't apply to this PR, but someone who knows more should probably double-check.

Release Notes

The image used to fetch source for `build-gcs` resources is vendored and versioned along with Tekton Pipelines components.

@tekton-robot tekton-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Aug 5, 2019
@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Aug 5, 2019
@tekton-robot tekton-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Aug 5, 2019
@imjasonh
Copy link
Member Author

imjasonh commented Aug 5, 2019

/test pull-tekton-pipeline-integration-tests

@bobcatfish
Copy link
Collaborator

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 5, 2019
@bobcatfish
Copy link
Collaborator

(also testing my prow update.... 😅 )

@bobcatfish
Copy link
Collaborator

/test pull-tekton-pipeline-unit-tests

@bobcatfish
Copy link
Collaborator

Wait can I only re-run failed stuff? I don't even know how this works....

@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Aug 5, 2019
@bobcatfish
Copy link
Collaborator

/test all

@tekton-robot tekton-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 5, 2019
@bobcatfish
Copy link
Collaborator

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 5, 2019
@vdemeester
Copy link
Member

@imjasonh

I0805 20:33:53.763]     - lastTransitionTime: "2019-08-05T20:23:08Z"
I0805 20:33:53.763]       message: 'build step "step-storage-fetch-rules-n8kk7" is pending with reason
I0805 20:33:53.763]         "Failed to apply default image tag \"github.com/GoogleCloudPlatform/cloud-builders/gcs-fetcher/cmd/gcs-fetcher\":
I0805 20:33:53.764]         couldn''t parse image reference \"github.com/GoogleCloudPlatform/c

@tekton-robot tekton-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 7, 2019
@vdemeester
Copy link
Member

/test pull-tekton-pipeline-integration-tests

@imjasonh imjasonh force-pushed the gcs-fetcher branch 2 times, most recently from 4143725 to 7eb873b Compare August 12, 2019 20:05
@tekton-robot tekton-robot removed the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 12, 2019
@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 12, 2019
@tekton-robot tekton-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 12, 2019
@@ -41,6 +41,8 @@ spec:
"-entrypoint-image", "github.com/tektoncd/pipeline/cmd/entrypoint",
"-imagedigest-exporter-image", "github.com/tektoncd/pipeline/cmd/imagedigestexporter",
"-pr-image", "github.com/tektoncd/pipeline/cmd/pullrequest-init",
"-build-gcs-fetcher-image", "github.com/tektoncd/pipeline/vendor/github.com/GoogleCloudPlatform/cloud-builders/gcs-fetcher/cmd/gcs-fetcher",
"-build-gcs-uploader-image", "github.com/tektoncd/pipeline/vendor/github.com/GoogleCloudPlatform/cloud-builders/gcs-fetcher/cmd/gcs-uploader",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think there's an indentation inconsistency?

@dlorenc
Copy link
Contributor

dlorenc commented Aug 13, 2019

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 13, 2019
@bobcatfish
Copy link
Collaborator

/hold

@tekton-robot tekton-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 13, 2019
This changes the default value of the gcs-build resource image to an
image vendored into the pipelines repo and built during release (or ko
apply for local development).

This gives us more control over the version used by users, since the
image will be built by us from vendored/versioned source.
@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Aug 13, 2019
@imjasonh
Copy link
Member Author

/hold cancel

Spacing issue is resolved.

@tekton-robot tekton-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 13, 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 tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 14, 2019
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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:
  • OWNERS [ImJasonH,vdemeester]

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 merged commit 0557159 into tektoncd:master Aug 14, 2019
dibyom added a commit to dibyom/pipeline that referenced this pull request Aug 14, 2019
These two images were added in tektoncd#1159 and the release task and pipeline
have to be updated for a release to be successful. Also, fixes a typo in
the pull request resource image name.

Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
dibyom added a commit to dibyom/pipeline that referenced this pull request Aug 14, 2019
These two images were added in tektoncd#1159 and the release task and pipeline
have to be updated for a release to be successful. Also, fixes a typo in
the pull request resource image name.

Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
tekton-robot pushed a commit that referenced this pull request Aug 14, 2019
These two images were added in #1159 and the release task and pipeline
have to be updated for a release to be successful. Also, fixes a typo in
the pull request resource image name.

Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
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. cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants