Make minimal image ci
This commit is contained in:
parent
2cb7792258
commit
0a9efe85d2
1 changed files with 1 additions and 36 deletions
|
@ -9,44 +9,9 @@ before_script:
|
||||||
- export IMAGE_DOCKERHUB_PASSWORD=$DOCKERHUB_PASSWORD
|
- export IMAGE_DOCKERHUB_PASSWORD=$DOCKERHUB_PASSWORD
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- lint&test
|
|
||||||
- upload
|
|
||||||
- image
|
- image
|
||||||
|
|
||||||
lint:
|
|
||||||
stage: lint&test
|
|
||||||
script:
|
|
||||||
- pyb lint
|
|
||||||
|
|
||||||
pytest:
|
|
||||||
stage: lint&test
|
|
||||||
script:
|
|
||||||
- pip install -r dev_requirements.txt
|
|
||||||
- pyb test
|
|
||||||
|
|
||||||
pypi-stable:
|
|
||||||
stage: upload
|
|
||||||
rules:
|
|
||||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
|
||||||
when: never
|
|
||||||
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
|
||||||
script:
|
|
||||||
- pyb -P version=$CI_COMMIT_TAG publish upload
|
|
||||||
|
|
||||||
clojure-image-test-publish:
|
|
||||||
stage: image
|
|
||||||
rules:
|
|
||||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
|
||||||
when: never
|
|
||||||
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
|
||||||
script:
|
|
||||||
- cd infrastructure/clojure && pyb image test publish
|
|
||||||
|
|
||||||
devops-build-image-test-publish:
|
devops-build-image-test-publish:
|
||||||
stage: image
|
stage: image
|
||||||
rules:
|
|
||||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
|
||||||
when: never
|
|
||||||
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
|
||||||
script:
|
script:
|
||||||
- cd infrastructure/devops-build && pyb image test publish
|
- cd infrastructure/devops-build && pyb image
|
||||||
|
|
Loading…
Reference in a new issue