-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add milvus-operator CRDs * undo pipeline changes * updated ci
- Loading branch information
1 parent
91eace2
commit ead352a
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1899,6 +1899,46 @@ | |
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}" | ||
"if": "steps.filter.outputs.workflows == 'true'" | ||
"run": "make libs/litmus-chaos" | ||
"milvus-operator": | ||
"name": "Generate milvus-operator Jsonnet library and docs" | ||
"needs": | ||
- "build" | ||
- "repos" | ||
"runs-on": "ubuntu-latest" | ||
"steps": | ||
- "uses": "actions/checkout@v3" | ||
- "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/milvus-operator/**' | ||
- "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/milvus-operator" | ||
"minio-operator": | ||
"name": "Generate minio-operator Jsonnet library and docs" | ||
"needs": | ||
|
@@ -2225,6 +2265,7 @@ | |
- "kubevela" | ||
- "kyverno" | ||
- "litmus-chaos" | ||
- "milvus-operator" | ||
- "minio-operator" | ||
- "mysql-operator" | ||
- "openshift" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// libs/milvus-operator/config.jsonnet | ||
local config = import 'jsonnet/config.jsonnet'; | ||
|
||
local versions = [ | ||
{ output: '0.9', version: '0.9.15' }, | ||
]; | ||
|
||
config.new( | ||
name='milvus-operator', | ||
specs=[ | ||
{ | ||
crds: [ | ||
'https://raw.githubusercontent.com/zilliztech/milvus-operator/v%s/config/crd/bases/milvus.io_milvusclusters.yaml' % v.version, | ||
'https://raw.githubusercontent.com/zilliztech/milvus-operator/v%s/config/crd/bases/milvus.io_milvuses.yaml' % v.version, | ||
'https://raw.githubusercontent.com/zilliztech/milvus-operator/v%s/config/crd/bases/milvus.io_milvusupgrades.yaml' % v.version, | ||
], | ||
localName: 'milvus-operator', | ||
output: v.output, | ||
prefix: '^io\\.milvus\\..*', | ||
} | ||
for v in versions | ||
] | ||
) |