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 build release yaml in pipeline third-party folder #88

Merged
merged 2 commits into from
Oct 4, 2018

Conversation

nader-ziada
Copy link
Member

@nader-ziada nader-ziada commented Oct 3, 2018

related to #59

Proposed changes

  • To make deployment of the build dependency easier
  • Allows build pipeline to control which release of build to consume

/cc @imjasonh @shashwathi @bobcatfish @aaron-prindle

 - To make deployment of the build dependency easier
 - Allows build pipeline to control which release of build to consume
@knative-prow-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pivotal-nader-ziada

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 [pivotal-nader-ziada]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Oct 3, 2018
name: build-controller
namespace: knative-build
---
apiVersion: apiextensions.k8s.io/v1beta1
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these copied over from somewhere? This is a naive question, but how do user install all the build crds on their clusters?

Copy link
Member Author

Choose a reason for hiding this comment

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

Its copied from the build CRD release, serving has the same. You install it by running kubectl apply -f release.yaml

Copy link
Contributor

Choose a reason for hiding this comment

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

if its something practiced elsewhere i am fine.
I was thinking if we can instead use a pinned version and add instructions to download from here.
https://github.com/knative/serving/releases/download/v0.1.1/release.yaml

Copy link
Member Author

Choose a reason for hiding this comment

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

The third-party folder is how serving adds the build dependency

- -logtostderr
- -stderrthreshold
- INFO
image: gcr.io/knative-releases/github.com/knative/build/cmd/webhook@sha256:4f6458cafbe29413bf5187ca560c0e68f004080f123afe32dcd2c8c6b27ed3d3
Copy link
Contributor

@tejal29 tejal29 Oct 3, 2018

Choose a reason for hiding this comment

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

How do you feel about depending on specific tag of image and then use the https://github.com/grafeas/kritis/tree/master/cmd/kritis/kubectl/plugins/resolve plugin to resolve the tag.

Copy link
Member Author

Choose a reason for hiding this comment

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

not sure how this would work, but sounds cool. We can refactor to change that?

Copy link
Contributor

Choose a reason for hiding this comment

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

yep, we can follow up on that later

@bobcatfish
Copy link
Collaborator

Whoops just ran into this with @dlorenc ! Very handy and timely :D

@nader-ziada
Copy link
Member Author

@bobcatfish @tejal29 are we okay with this PR, or do you want me to change something?

@tejal29
Copy link
Contributor

tejal29 commented Oct 4, 2018

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 4, 2018
@knative-prow-robot knative-prow-robot merged commit d2a6825 into tektoncd:master Oct 4, 2018
@nader-ziada nader-ziada deleted the build-yaml branch October 11, 2018 20:27
chmouel pushed a commit to chmouel/tektoncd-pipeline that referenced this pull request Jul 17, 2019
🤖 Triggering CI on branch 'release-next' after synching to upstream/master
pradeepitm12 pushed a commit to pradeepitm12/pipeline that referenced this pull request Jan 28, 2021
Fixes tektoncd#88 Make TriggerBindings more reusable

This is the first pass at moving static parameters out of the
TriggerBinding. This implementation moves static parameters into the
EventListener where the user currently specifies all of the other static
information.
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/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants