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 support for v1beta1 API #245

Merged
merged 4 commits into from
Apr 15, 2020
Merged

Add support for v1beta1 API #245

merged 4 commits into from
Apr 15, 2020

Conversation

evidolob
Copy link
Collaborator

@evidolob evidolob commented Apr 14, 2020

PR upgrades snippet content, fix some indentation issues.
Snippets migrated to v1beta1 version according to https://github.com/tektoncd/pipeline/blob/master/docs/migrating-v1alpha1-to-v1beta1.md

This PR brings a new npm command to regenerate snippets json file.

Note: Tekton resource create with new snippets will not work on OpenShift until Tekton with v1beta1 version support will not released for OpenShift.

Fix: #183
Also this PR fix: #184, #185, #225, #176

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
…to v1beta1-api

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
@evidolob evidolob self-assigned this Apr 14, 2020
@codecov-io
Copy link

codecov-io commented Apr 14, 2020

Codecov Report

Merging #245 into master will decrease coverage by 0.11%.
The diff coverage is 58.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #245      +/-   ##
==========================================
- Coverage   71.15%   71.03%   -0.12%     
==========================================
  Files          37       37              
  Lines        2368     2372       +4     
  Branches      397      400       +3     
==========================================
  Hits         1685     1685              
- Misses        683      687       +4     
Impacted Files Coverage Δ
src/yaml-support/tkn-yaml-schema.ts 42.42% <0.00%> (-2.74%) ⬇️
src/tkn.ts 79.44% <87.50%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c4fbbe0...7cc4ffe. Read the comment docs.

@@ -3,6 +3,6 @@ kind: PipelineResource
metadata:
name: ${1:git-source}
spec:
type: ${2|git,image,pullRequest,cluster,storage|}
type: ${2|git,image,pullRequest,cluster,storage,gcs,build-gcs,cloudevent|}
Copy link
Contributor

Choose a reason for hiding this comment

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

apiVersion should be tekton.dev/v1beta1

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@evidolob evidolob merged commit 4fad6c8 into master Apr 15, 2020
@evidolob evidolob deleted the v1beta1-api branch April 15, 2020 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add snippets for trigger types Add support for v1beta1 API
3 participants