Skip to content

Commit 0a40d11

Browse files
authored
feat: add argocd-operator (#554)
1 parent 59ba1ef commit 0a40d11

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

.github/workflows/main.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,46 @@
240240
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
241241
"if": "steps.filter.outputs.workflows == 'true'"
242242
"run": "make libs/argo-workflows"
243+
"argocd-operator":
244+
"name": "Generate argocd-operator Jsonnet library and docs"
245+
"needs":
246+
- "build"
247+
- "repos"
248+
"runs-on": "ubuntu-latest"
249+
"steps":
250+
- "uses": "actions/checkout@v4"
251+
- "id": "filter"
252+
"uses": "dorny/paths-filter@v3"
253+
"with":
254+
"filters": |
255+
workflows:
256+
- '.github/**'
257+
- 'bin/**'
258+
- 'Dockerfile'
259+
- 'go.mod'
260+
- 'go.sum'
261+
- 'jsonnet/**'
262+
- 'main.go'
263+
- 'Makefile'
264+
- 'pkg/**'
265+
- 'scripts/**'
266+
- 'tf/**'
267+
- 'libs/argocd-operator/**'
268+
- "if": "steps.filter.outputs.workflows == 'true'"
269+
"uses": "actions/download-artifact@v4"
270+
"with":
271+
"name": "docker-artifact"
272+
"path": "artifacts"
273+
- "if": "steps.filter.outputs.workflows == 'true'"
274+
"run": "make load"
275+
- "env":
276+
"DIFF": "true"
277+
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}"
278+
"GIT_COMMITTER_EMAIL": "[email protected]"
279+
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
280+
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
281+
"if": "steps.filter.outputs.workflows == 'true'"
282+
"run": "make libs/argocd-operator"
243283
"aws-load-balancer-controller":
244284
"name": "Generate aws-load-balancer-controller Jsonnet library and docs"
245285
"needs":
@@ -2544,6 +2584,7 @@
25442584
- "argo-cd"
25452585
- "argo-rollouts"
25462586
- "argo-workflows"
2587+
- "argocd-operator"
25472588
- "aws-load-balancer-controller"
25482589
- "aws-rds-controller"
25492590
- "banzai-logging"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
local config = import 'jsonnet/config.jsonnet';
2+
local versions =
3+
[
4+
'0.12.2',
5+
'0.13.1',
6+
'0.14.1',
7+
];
8+
local manifests = ['argoproj.io_applicationsets.yaml', 'argoproj.io_applications.yaml', 'argoproj.io_appprojects.yaml', 'argoproj.io_argocdexports.yaml', 'argoproj.io_argocds.yaml', 'argoproj.io_notificationsconfigurations.yaml'];
9+
10+
config.new(
11+
name='argocd-operator',
12+
specs=[
13+
{
14+
output: version,
15+
prefix: '^io\\.argoproj\\..*',
16+
localName: 'argocd_operator',
17+
crds: [
18+
'https://raw.githubusercontent.com/argoproj-labs/argocd-operator/v%s/bundle/manifests/%s' %
19+
[version, manifest]
20+
for manifest in manifests
21+
],
22+
}
23+
for version in versions
24+
]
25+
)

0 commit comments

Comments
 (0)