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

Adds release tasks and pipeline for triggers #122

Merged
merged 1 commit into from
Sep 18, 2019

Conversation

dibyom
Copy link
Member

@dibyom dibyom commented Sep 16, 2019

Changes

The release tasks and pipeline are based on the pipeline
project's release pipeline. The generated release.yaml file
is published at gcr.io/tekton-releases/triggers/latest.release.yaml.

The release tasks for triggers and pipelines are similar enough that we
could consider using a single one in the future.

Fixes #115

cc @bobcatfish @vdemeester

Submitter Checklist

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

@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dibyom

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 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 Sep 16, 2019
tekton/README.md Outdated
gcloud container clusters get-credentials prow --zone us-central1-a --project tekton-releases
```

6. Run the `release-pipeline` (assuming you are using the production cluster and
Copy link

Choose a reason for hiding this comment

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

The numbering here is off as well as in the Tekton repo. I made a small PR: tektoncd/pipeline#1321. Could we get this merged and then use this here?

Copy link
Member Author

Choose a reason for hiding this comment

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

done!

Copy link

Choose a reason for hiding this comment

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

Still see the numbering issue in this file. The 4th point needs to be intended more due to the code fence I believe.

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah...should be fixed now

@@ -0,0 +1,37 @@
apiVersion: tekton.dev/v1alpha1
Copy link

Choose a reason for hiding this comment

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

What is this file used for? Isn't the release Task used within the release Pipeline?

Copy link
Member Author

Choose a reason for hiding this comment

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

For one off testing of the publish task. Not super necessary but it makes it really quick to iterate on the publish task itself since you are not running the entire pipeline with unit tests and all!

Copy link
Member Author

Choose a reason for hiding this comment

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

(I'm leaving it in there though I'm not opposed to taking it out as well 🤷‍♂️ )

Copy link

@vtereso vtereso left a comment

Choose a reason for hiding this comment

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

Seems fine. Left a couple questions

The release tasks and pipeline are based on the pipeline
project's release pipeline. The generated `release.yaml` file
is published at `gcr.io/tekton-releases/triggers/latest.release.yaml`.

Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
@vtereso
Copy link

vtereso commented Sep 18, 2019

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 18, 2019
@tekton-robot tekton-robot merged commit fe41219 into tektoncd:master Sep 18, 2019
@dibyom dibyom deleted the rel_pipe branch November 15, 2019 16:20
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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup a release pipeline for Triggers!
3 participants