Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add argo-rollouts v1.6.0 #346

Merged
merged 1 commit into from
Sep 27, 2023
Merged
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 @@ -120,6 +120,46 @@
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/argo-cd"
"argo-rollouts":
"name": "Generate argo-rollouts Jsonnet library and docs"
"needs":
- "build"
- "repos"
"runs-on": "ubuntu-latest"
"steps":
- "uses": "actions/checkout@v2"
- "id": "filter"
"uses": "dorny/paths-filter@v2"
"with":
"filters": |
workflows:
- '.github/**'
- 'bin/**'
- 'Dockerfile'
- 'go.mod'
- 'go.sum'
- 'jsonnet/**'
- 'main.go'
- 'Makefile'
- 'pkg/**'
- 'scripts/**'
- 'tf/**'
- 'libs/argo-rollouts/**'
- "if": "steps.filter.outputs.workflows == 'true'"
"uses": "actions/download-artifact@v2"
"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/argo-rollouts"
"argo-workflows":
"name": "Generate argo-workflows Jsonnet library and docs"
"needs":
Expand Down Expand Up @@ -1581,6 +1621,7 @@
- "actions-runner-controller"
- "aiven"
- "argo-cd"
- "argo-rollouts"
- "argo-workflows"
- "aws-load-balancer-controller"
- "banzai-logging"
Expand Down
28 changes: 28 additions & 0 deletions libs/argo-rollouts/config.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
local config = import 'jsonnet/config.jsonnet';
local manifests = [
'analysis-run-crd.yaml',
'analysis-template-crd.yaml',
'cluster-analysis-template-crd.yaml',
'experiment-crd.yaml',
'rollout-crd.yaml',
];
local versions = [
'1.6.0'
];

config.new(
name='argo-rollouts',
specs=[
{
output: std.join('.', std.split(version, '.')[:2]),
prefix: '^io\\.argoproj\\..*',
localName: 'argo_rollouts',
crds: [
'https://raw.githubusercontent.com/argoproj/argo-rollouts/v%s/manifests/crds/%s' %
[version, manifest]
for manifest in manifests
],
}
for version in versions
]
)
Loading