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 @@ -2561,6 +2561,7 @@
- "rabbitmq-messaging-topology-operator"
- "secrets-store-csi-driver"
- "securecodebox"
- "spark-operator"
- "spicedb-operator"
- "strimzi"
- "tektoncd"
Expand Down Expand Up @@ -2686,6 +2687,46 @@
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/securecodebox"
"spark-operator":
"name": "Generate spark-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/spark-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/spark-operator"
"spicedb-operator":
"name": "Generate spicedb-operator Jsonnet library and docs"
"needs":
Expand Down
21 changes: 21 additions & 0 deletions libs/spark-operator/config.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
local config = import 'jsonnet/config.jsonnet';

local versions = [
'2.2.1',
];

config.new(
name='spark-operator',
specs=[
{
crds: [
'https://raw.githubusercontent.com/kubeflow/spark-operator/v%s/charts/spark-operator-chart/crds/sparkoperator.k8s.io_scheduledsparkapplications.yaml' %v,
'https://raw.githubusercontent.com/kubeflow/spark-operator/v%s/charts/spark-operator-chart/crds/sparkoperator.k8s.io_sparkapplications.yaml' %v,
],
localName: 'spark-operator',
output: v,
prefix: '^io\\.k8s\\.sparkoperator',
}
for v in versions
]
)
Loading