feat: circle ci configurations for op-ufm

This commit is contained in:
Jacob Elias 2024-05-30 12:41:36 -05:00
parent 58dde68c86
commit 381406dd3e
2 changed files with 28 additions and 0 deletions

@ -16,6 +16,7 @@ workflows:
# <regex path-to-test> <parameter-to-set> <value-of-pipeline-parameter>
mapping: |
op-conductor-mon/.* run-build-op-conductor-mon true
op-ufm/.* run-build-op-ufm true
.circleci/.* run-all true
.github/.* run-all true

@ -10,6 +10,9 @@ parameters:
run-build-op-conductor-mon:
type: boolean
default: false
run-build-op-ufm:
type: boolean
default: false
run-all:
type: boolean
default: false
@ -357,3 +360,27 @@ workflows:
- oplabs-gcr
requires:
- 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