Skip to content

Commit e122de0

Browse files
authored
Add cluster-api-bootstrap-provider-talos (#650)
1 parent 2186e6d commit e122de0

2 files changed

Lines changed: 60 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,46 @@
771771
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
772772
"if": "steps.filter.outputs.workflows == 'true'"
773773
"run": "make libs/cluster-api"
774+
"cluster-api-bootstrap-provider-talos":
775+
"name": "Generate cluster-api-bootstrap-provider-talos Jsonnet library and docs"
776+
"needs":
777+
- "build"
778+
- "repos"
779+
"runs-on": "ubuntu-latest"
780+
"steps":
781+
- "uses": "actions/checkout@v4"
782+
- "id": "filter"
783+
"uses": "dorny/paths-filter@v3"
784+
"with":
785+
"filters": |
786+
workflows:
787+
- '.github/**'
788+
- 'bin/**'
789+
- 'Dockerfile'
790+
- 'go.mod'
791+
- 'go.sum'
792+
- 'jsonnet/**'
793+
- 'main.go'
794+
- 'Makefile'
795+
- 'pkg/**'
796+
- 'scripts/**'
797+
- 'tf/**'
798+
- 'libs/cluster-api-bootstrap-provider-talos/**'
799+
- "if": "steps.filter.outputs.workflows == 'true'"
800+
"uses": "actions/download-artifact@v4"
801+
"with":
802+
"name": "docker-artifact"
803+
"path": "artifacts"
804+
- "if": "steps.filter.outputs.workflows == 'true'"
805+
"run": "make load"
806+
- "env":
807+
"DIFF": "true"
808+
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}"
809+
"GIT_COMMITTER_EMAIL": "86770550+jsonnet-libs-bot@users.noreply.github.com"
810+
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
811+
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
812+
"if": "steps.filter.outputs.workflows == 'true'"
813+
"run": "make libs/cluster-api-bootstrap-provider-talos"
774814
"cluster-api-operator":
775815
"name": "Generate cluster-api-operator Jsonnet library and docs"
776816
"needs":
@@ -3317,6 +3357,7 @@
33173357
- "cloudnative-pg"
33183358
- "cloudnative-pg-barman-cloud-plugin"
33193359
- "cluster-api"
3360+
- "cluster-api-bootstrap-provider-talos"
33203361
- "cluster-api-operator"
33213362
- "cluster-api-provider-aws"
33223363
- "cluster-api-provider-tinkerbell"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
local config = import 'jsonnet/config.jsonnet';
2+
3+
local versions = [
4+
'v0.6.12',
5+
];
6+
7+
config.new(
8+
name='cluster-api-bootstrap-provider-talos',
9+
specs=[
10+
{
11+
output: version,
12+
openapi: 'http://localhost:8001/openapi/v2',
13+
prefix: '^io\\.x-k8s\\.cluster\\.bootstrap\\..*',
14+
crds: ['https://github.com/siderolabs/cluster-api-bootstrap-provider-talos/releases/download/%(version)s/bootstrap-components.yaml' % { version: version }],
15+
localName: 'cluster-api-bootstrap-provider-talos',
16+
}
17+
for version in versions
18+
]
19+
)

0 commit comments

Comments
 (0)