-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(tektoncd): add tektoncd v0.62.1 * ci: add tektoncd --------- Co-authored-by: Lorenzo Felletti <[email protected]>
- Loading branch information
Showing
2 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2358,6 +2358,7 @@ | |
- "securecodebox" | ||
- "spicedb-operator" | ||
- "strimzi" | ||
- "tektoncd" | ||
- "teleport-operator" | ||
- "traefik" | ||
- "triggermesh" | ||
|
@@ -2558,6 +2559,46 @@ | |
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}" | ||
"if": "steps.filter.outputs.workflows == 'true'" | ||
"run": "make libs/strimzi" | ||
"tektoncd": | ||
"name": "Generate tektoncd Jsonnet library and docs" | ||
"needs": | ||
- "build" | ||
- "repos" | ||
"runs-on": "ubuntu-latest" | ||
"steps": | ||
- "uses": "actions/checkout@v4" | ||
- "id": "filter" | ||
"uses": "dorny/paths-filter@v3" | ||
"with": | ||
"filters": | | ||
workflows: | ||
- '.github/**' | ||
- 'bin/**' | ||
- 'Dockerfile' | ||
- 'go.mod' | ||
- 'go.sum' | ||
- 'jsonnet/**' | ||
- 'main.go' | ||
- 'Makefile' | ||
- 'pkg/**' | ||
- 'scripts/**' | ||
- 'tf/**' | ||
- 'libs/tektoncd/**' | ||
- "if": "steps.filter.outputs.workflows == 'true'" | ||
"uses": "actions/download-artifact@v4" | ||
"with": | ||
"name": "docker-artifact" | ||
"path": "artifacts" | ||
- "if": "steps.filter.outputs.workflows == 'true'" | ||
"run": "make load" | ||
- "env": | ||
"DIFF": "true" | ||
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}" | ||
"GIT_COMMITTER_EMAIL": "[email protected]" | ||
"GIT_COMMITTER_NAME": "jsonnet-libs-bot" | ||
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}" | ||
"if": "steps.filter.outputs.workflows == 'true'" | ||
"run": "make libs/tektoncd" | ||
"teleport-operator": | ||
"name": "Generate teleport-operator Jsonnet library and docs" | ||
"needs": | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
local config = import 'jsonnet/config.jsonnet'; | ||
|
||
local urlTemplate = 'https://raw.githubusercontent.com/tektoncd/pipeline/v%(version)s/config/300-crds/300-%(crd)s.yaml'; | ||
local crds = [ | ||
'clustertask', | ||
'customrun', | ||
'pipeline', | ||
'pipelinerun', | ||
'resolutionrequest', | ||
'task', | ||
'taskrun', | ||
'verificationpolicy', | ||
]; | ||
|
||
local versions = ['0.62.1']; | ||
|
||
config.new( | ||
name='tektoncd', | ||
specs=[ | ||
{ | ||
output: version, | ||
prefix: '^dev\\.tekton.*', | ||
crds: [ | ||
urlTemplate % { crd: crd, version: version } | ||
for crd in crds | ||
], | ||
localName: 'tektoncd', | ||
} | ||
for version in versions | ||
] | ||
) |