Skip to content

Commit

Permalink
Add github actions-runner-controller (jsonnet-libs#76)
Browse files Browse the repository at this point in the history
* Add github actions-runner-controller

* Don't include patch version in output
  • Loading branch information
hamishforbes authored Nov 10, 2021
1 parent 05d5ff3 commit ef0a03c
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
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"
Expand Down Expand Up @@ -203,6 +216,7 @@
"repos_with_pages":
"name": "Set up gh-pages branch"
"needs":
- "actions-runner-controller"
- "argo-workflows"
- "calico"
- "cert-manager"
Expand Down
25 changes: 25 additions & 0 deletions libs/actions-runner-controller/config.jsonnet
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
]
)

0 comments on commit ef0a03c

Please sign in to comment.