Commit 27cf25de authored by Recteur LP's avatar Recteur LP

Simple gitlab build for multiple runner

parent 05921972
Pipeline #1154 passed with stages
in 21 minutes and 56 seconds
......@@ -2,7 +2,6 @@
stages:
- test
- build
- release
Python 3 Unit Tests:
stage: test
......@@ -83,49 +82,18 @@ Docker Goss Tests:
- master
- tags
Docker Python 3 Build:
Docker Build & Release:
stage: build
tags:
- docker
script:
- make build CI_COMMIT_TAG=${CI_COMMIT_TAG:-latest}
- docker-clean
only:
- master
- tags
Docker Python 2 Build:
stage: build
tags:
- docker
script:
- make build27 CI_COMMIT_TAG=${CI_COMMIT_TAG:-latest}
- docker-clean
only:
- master
- tags
PyRmin Registry Release:
stage: release
tags:
- docker
script:
- make build CI_COMMIT_TAG=${CI_COMMIT_TAG:-latest}
- docker-clean
- /usr/bin/docker push pyrmin.io/pyrmin/pyrmin:${CI_COMMIT_TAG:-latest}
- /usr/bin/docker push pyrmin.io/pyrmin/pyrmin:27-${CI_COMMIT_TAG:-latest}
only:
- master
- tags
Docker Hub Release:
stage: release
tags:
- docker
script:
- docker tag pyrmin.io/pyrmin/pyrmin:${CI_COMMIT_TAG:-latest} pyrmin/pyrmin:${CI_COMMIT_TAG:-latest}
- docker-clean
- /usr/bin/docker tag pyrmin.io/pyrmin/pyrmin:${CI_COMMIT_TAG:-latest} pyrmin/pyrmin:${CI_COMMIT_TAG:-latest}
- /usr/bin/docker push pyrmin/pyrmin:${CI_COMMIT_TAG:-latest}
- docker-clean
only:
- master
- tags
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment