Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,46 @@
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/argo-workflows"
"argocd-operator":
"name": "Generate argocd-operator Jsonnet library and docs"
"needs":
- "build"
- "repos"
"runs-on": "ubuntu-latest"
"steps":
- "uses": "actions/checkout@v4"
- "id": "filter"
"uses": "dorny/paths-filter@v3"
"with":
"filters": |
workflows:
- '.github/**'
- 'bin/**'
- 'Dockerfile'
- 'go.mod'
- 'go.sum'
- 'jsonnet/**'
- 'main.go'
- 'Makefile'
- 'pkg/**'
- 'scripts/**'
- 'tf/**'
- 'libs/argocd-operator/**'
- "if": "steps.filter.outputs.workflows == 'true'"
"uses": "actions/download-artifact@v4"
"with":
"name": "docker-artifact"
"path": "artifacts"
- "if": "steps.filter.outputs.workflows == 'true'"
"run": "make load"
- "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 }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/argocd-operator"
"aws-load-balancer-controller":
"name": "Generate aws-load-balancer-controller Jsonnet library and docs"
"needs":
Expand Down Expand Up @@ -2504,6 +2544,7 @@
- "argo-cd"
- "argo-rollouts"
- "argo-workflows"
- "argocd-operator"
- "aws-load-balancer-controller"
- "aws-rds-controller"
- "banzai-logging"
Expand Down
25 changes: 25 additions & 0 deletions libs/argocd-operator/config.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
local config = import 'jsonnet/config.jsonnet';
local versions =
[
'0.12.2',
'0.13.1',
'0.14.1',
];
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'];

config.new(
name='argocd-operator',
specs=[
{
output: version,
prefix: '^io\\.argoproj\\..*',
localName: 'argocd_operator',
crds: [
'https://raw.githubusercontent.com/argoproj-labs/argocd-operator/v%s/bundle/manifests/%s' %
[version, manifest]
for manifest in manifests
],
}
for version in versions
]
)