forked from jsonnet-libs/k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add github actions-runner-controller (jsonnet-libs#76)
* Add github actions-runner-controller * Don't include patch version in output
- Loading branch information
1 parent
05d5ff3
commit ef0a03c
Showing
2 changed files
with
39 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 |
---|---|---|
@@ -1,5 +1,18 @@ | ||
# Generated by `make configure`, please do not edit manually. | ||
"jobs": | ||
"actions-runner-controller": | ||
"name": "Generate actions-runner-controller Jsonnet library and docs" | ||
"needs": "repos" | ||
"runs-on": "ubuntu-latest" | ||
"steps": | ||
- "uses": "actions/checkout@v2" | ||
- "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 }}" | ||
"run": "make build libs/actions-runner-controller" | ||
"argo-workflows": | ||
"name": "Generate argo-workflows Jsonnet library and docs" | ||
"needs": "repos" | ||
|
@@ -203,6 +216,7 @@ | |
"repos_with_pages": | ||
"name": "Set up gh-pages branch" | ||
"needs": | ||
- "actions-runner-controller" | ||
- "argo-workflows" | ||
- "calico" | ||
- "cert-manager" | ||
|
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,25 @@ | ||
local config = import 'jsonnet/config.jsonnet'; | ||
|
||
local versions = [ | ||
{output: '0.20', version: '0.20.3'} | ||
]; | ||
|
||
config.new( | ||
name='actions-runner-controller', | ||
specs=[ | ||
{ | ||
local url = 'https://raw.githubusercontent.com/actions-runner-controller/actions-runner-controller/v%s/charts/actions-runner-controller/crds' % v.version, | ||
output: v.output, | ||
prefix: '^dev\\.summerwind\\.actions\\..*', | ||
crds: [ | ||
'%s/actions.summerwind.dev_horizontalrunnerautoscalers.yaml' % url, | ||
'%s/actions.summerwind.dev_runnerdeployments.yaml' % url, | ||
'%s/actions.summerwind.dev_runnerreplicasets.yaml' % url, | ||
'%s/actions.summerwind.dev_runners.yaml' % url, | ||
'%s/actions.summerwind.dev_runnersets.yaml' % url, | ||
], | ||
localName: 'actions-runner-controller', | ||
} | ||
for v in versions | ||
] | ||
) |