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

Fixes Triggers release pipeline and tasks #1024

Merged
merged 1 commit into from
Mar 31, 2021

Conversation

nikhil-thomas
Copy link
Member

Fix ko resolve step in publish-tekton-triggers task

Fix koparse error

Expected images did not match: Images ['gcr.io/tekton-nightly/github.com/tektoncd/triggers/cmd/binding-eval:v20210331-6cc9094a8a', 'gcr.io/tekton-nightly/github.com/tektoncd/triggers/cmd/triggerrun:v20210331-6cc9094a8a', 'gcr.io/tekton-nightly/github.com/tektoncd/triggers/cmd/interceptors:v20210331-6cc9094a8a'] were expected but missing.

Rename release pipeline to release instead of triggers-release as
kustomization in plumbing will add the triggers- prefix while updating the
pipeline on dogfooding cluster (namespace: tekton-nigtly), every hour.

Without this patch the name of the Triggers release pipeline created on dogfooding cluster
will be triggers-triggers-release.

Note: The TriggerTemplate refers to pipelineref: triggers-release.

ref: https://github.com/tektoncd/plumbing/blob/9dcf14d1320bd10674d44673cebac8ecc6bae30e/tekton/resources/nightly-release/overlays/triggers/kustomization.yaml#L1

Signed-off-by: Nikhil Thomas nikthoma@redhat.com

Changes

Submitter Checklist

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

  • Includes tests (if functionality changed/added)
  • Includes docs (if user facing)
  • Commit messages follow commit message best practices
  • Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.

Release Notes

NONE

@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Mar 31, 2021
@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Mar 31, 2021
@nikhil-thomas nikhil-thomas force-pushed the update/release-pipelines branch 2 times, most recently from 5be5dd5 to 3e621e8 Compare March 31, 2021 13:35
Fix `ko resolve` step in `publish-tekton-triggers` task

Fix `koparse` error

```
Expected images did not match: Images ['gcr.io/tekton-nightly/github.com/tektoncd/triggers/cmd/binding-eval:v20210331-6cc9094a8a', 'gcr.io/tekton-nightly/github.com/tektoncd/triggers/cmd/triggerrun:v20210331-6cc9094a8a', 'gcr.io/tekton-nightly/github.com/tektoncd/triggers/cmd/interceptors:v20210331-6cc9094a8a'] were expected but missing.
```

Tested by running a nightly release: https://dashboard.dogfooding.tekton.dev/#/namespaces/tekton-nightly/pipelineruns/triggers-release-nightly-vp46d?pipelineTask=git-clone&step=clone

Signed-off-by: Nikhil Thomas <nikthoma@redhat.com>
@nikhil-thomas nikhil-thomas force-pushed the update/release-pipelines branch from 3e621e8 to 190b396 Compare March 31, 2021 13:36
@jmcshane
Copy link
Contributor

/retest

@dibyom
Copy link
Member

dibyom commented Mar 31, 2021

/test pull-tekton-triggers-build-tests

@dibyom
Copy link
Member

dibyom commented Mar 31, 2021

Not sure what is going on with the build tests.

@jmcshane
Copy link
Contributor

its odd because the test logs don't show any errors...i had the same thing happen on the other PR I submitted this morning

@dibyom
Copy link
Member

dibyom commented Mar 31, 2021

I guess prow must have been running into issues.

Copy link
Member

@dibyom dibyom 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 Mar 31, 2021
@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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 31, 2021
@tekton-robot tekton-robot merged commit f0c544c into tektoncd:main Mar 31, 2021
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 Denotes a PR that will be considered when it comes time to generate release notes. 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.

4 participants