feat: circle ci configurations for op-ufm
This commit is contained in:
parent
58dde68c86
commit
381406dd3e
@ -16,6 +16,7 @@ workflows:
|
|||||||
# <regex path-to-test> <parameter-to-set> <value-of-pipeline-parameter>
|
# <regex path-to-test> <parameter-to-set> <value-of-pipeline-parameter>
|
||||||
mapping: |
|
mapping: |
|
||||||
op-conductor-mon/.* run-build-op-conductor-mon true
|
op-conductor-mon/.* run-build-op-conductor-mon true
|
||||||
|
op-ufm/.* run-build-op-ufm true
|
||||||
.circleci/.* run-all true
|
.circleci/.* run-all true
|
||||||
.github/.* run-all true
|
.github/.* run-all true
|
||||||
|
|
||||||
|
@ -10,6 +10,9 @@ parameters:
|
|||||||
run-build-op-conductor-mon:
|
run-build-op-conductor-mon:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
run-build-op-ufm:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
run-all:
|
run-all:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@ -357,3 +360,27 @@ workflows:
|
|||||||
- oplabs-gcr
|
- oplabs-gcr
|
||||||
requires:
|
requires:
|
||||||
- op-conductor-mon-docker-build
|
- op-conductor-mon-docker-build
|
||||||
|
op-ufm:
|
||||||
|
when:
|
||||||
|
or: [<< pipeline.parameters.run-build-op-ufm >>, << pipeline.parameters.run-all >>]
|
||||||
|
jobs:
|
||||||
|
- go-lint:
|
||||||
|
name: op-conductor-mon-lint
|
||||||
|
module: op-ufm
|
||||||
|
- go-test:
|
||||||
|
name: op-conductor-mon-tests
|
||||||
|
module: op-ufm
|
||||||
|
- docker-build:
|
||||||
|
name: op-ufm-docker-build
|
||||||
|
docker_file: op-ufm/Dockerfile
|
||||||
|
docker_name: op-ufm
|
||||||
|
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
|
||||||
|
docker_context: .
|
||||||
|
- docker-publish:
|
||||||
|
name: op-ufm-docker-publish
|
||||||
|
docker_name: op-ufm
|
||||||
|
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
|
||||||
|
context:
|
||||||
|
- oplabs-gcr
|
||||||
|
requires:
|
||||||
|
- op-ufm-docker-build
|
||||||
|
Loading…
Reference in New Issue
Block a user