Skip to content

Commit 0766fee

Browse files
authored
feat: generate library for upbound's provider-opentofu (#518)
* feat: generate library for upbound's provider-opentofu * fix: rename * fix: ci
1 parent b1f3287 commit 0766fee

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

.github/workflows/main.yml

+41
Original file line numberDiff line numberDiff line change
@@ -2567,6 +2567,7 @@
25672567
- "teleport-operator"
25682568
- "traefik"
25692569
- "triggermesh"
2570+
- "upbound-provider-opentofu"
25702571
- "vault-secrets-operator"
25712572
- "vertical-pod-autoscaler"
25722573
- "victoria-metrics-operator"
@@ -2925,6 +2926,46 @@
29252926
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
29262927
"if": "steps.filter.outputs.workflows == 'true'"
29272928
"run": "make libs/triggermesh"
2929+
"upbound-provider-opentofu":
2930+
"name": "Generate upbound-provider-opentofu Jsonnet library and docs"
2931+
"needs":
2932+
- "build"
2933+
- "repos"
2934+
"runs-on": "ubuntu-latest"
2935+
"steps":
2936+
- "uses": "actions/checkout@v4"
2937+
- "id": "filter"
2938+
"uses": "dorny/paths-filter@v3"
2939+
"with":
2940+
"filters": |
2941+
workflows:
2942+
- '.github/**'
2943+
- 'bin/**'
2944+
- 'Dockerfile'
2945+
- 'go.mod'
2946+
- 'go.sum'
2947+
- 'jsonnet/**'
2948+
- 'main.go'
2949+
- 'Makefile'
2950+
- 'pkg/**'
2951+
- 'scripts/**'
2952+
- 'tf/**'
2953+
- 'libs/upbound-provider-opentofu/**'
2954+
- "if": "steps.filter.outputs.workflows == 'true'"
2955+
"uses": "actions/download-artifact@v4"
2956+
"with":
2957+
"name": "docker-artifact"
2958+
"path": "artifacts"
2959+
- "if": "steps.filter.outputs.workflows == 'true'"
2960+
"run": "make load"
2961+
- "env":
2962+
"DIFF": "true"
2963+
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}"
2964+
"GIT_COMMITTER_EMAIL": "[email protected]"
2965+
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
2966+
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
2967+
"if": "steps.filter.outputs.workflows == 'true'"
2968+
"run": "make libs/upbound-provider-opentofu"
29282969
"vault-secrets-operator":
29292970
"name": "Generate vault-secrets-operator Jsonnet library and docs"
29302971
"needs":
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
local config = import 'jsonnet/config.jsonnet';
2+
3+
config.new(
4+
'upbound-provider-opentofu',
5+
[
6+
{
7+
output: 'provider-opentofu/0.2',
8+
prefix: '^io\\.upbound\\.opentofu\\..*',
9+
crds: ['https://doc.crds.dev/raw/github.com/upbound/[email protected]'],
10+
localName: 'upbound_opentofu',
11+
},
12+
]
13+
)

0 commit comments

Comments
 (0)