This is an automated email from the git hooks/post-receive script. New commit to branch feature/multi-ui in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 7c1b6527e8951253061f8041d05d22869d9c9ca3 Author: dcosse <cosse@codelutin.com> Date: Tue Oct 29 17:17:32 2019 +0100 update gitlab-ci to genarate feature registry --- .gitlab-ci.yml | 46 ++++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c62c52a..34a609c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ stages: - build -- demo +- docker - pages - release - sonar @@ -32,21 +32,6 @@ build-js: except: - schedules -demo: - image: registry.nuiton.org/codelutin/dockerfiles:docker - stage: demo - when: manual - script: - - docker build --no-cache -t registry.nuiton.org/chorem/pollen -f Dockerfile . - - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.nuiton.org - - docker push registry.nuiton.org/chorem/pollen - - docker logout registry.nuiton.org - dependencies: - - build-java - - build-js - tags: - - docker - release: image: registry.nuiton.org/codelutin/dockerfiles:maven-release-with-frequent-libraries stage: release @@ -136,11 +121,9 @@ sonar_job_ui: only: - schedules - - -docker: +docker:latest: image: registry.nuiton.org/codelutin/dockerfiles:docker - stage: release + stage: docker when: manual only: - /^(pollen-)?(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?$/i @@ -162,6 +145,29 @@ docker: tags: - docker +docker:feature: + image: registry.nuiton.org/codelutin/dockerfiles:docker + stage: docker + when: manual + only: + - /^feature.*$/ + artifacts: + paths: + - pollen-rest-api/target/pollen-rest-api-*.war + - pollen-ui-riot-js/target/dist + expire_in: 1 day + name: "${CI_COMMIT_REF_NAME}" + script: + - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.nuiton.org + - docker build --no-cache -t registry.nuiton.org/chorem/pollen:${CI_COMMIT_REF_NAME#feature/} -f Dockerfile . + - docker push registry.nuiton.org/chorem/pollen:${CI_COMMIT_REF_NAME#feature/} + - docker logout registry.nuiton.org + dependencies: + - build-java + - build-js + tags: + - docker + pages: image: python:alpine stage: pages -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.