branch develop updated (d143ba0 -> 840f3d1)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from d143ba0 a la création d'un sondage n'envoyer le mail que si le courriel n'est pas vide new 840f3d1 creation du job de release The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 840f3d19faca2ac89f8bf0869c0b57d6a85d30a1 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu Mar 30 16:53:08 2017 +0200 creation du job de release Summary of changes: .gitlab-ci.yml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 840f3d19faca2ac89f8bf0869c0b57d6a85d30a1 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu Mar 30 16:53:08 2017 +0200 creation du job de release --- .gitlab-ci.yml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6590d73..bf47d49 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ stages: - build - demo +- release build-java: image: registry.nuiton.org/codelutin/dockerfiles:debian-dev-java8 @@ -44,5 +45,31 @@ demo: - docker - server - +release: + image: registry.nuiton.org/codelutin/dockerfiles:docker + stage: release + when: manual + only: + - /^\b(pollen-)?(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?\b$/ig + except: + - tags + artifacts: + paths: + - target/${CI_BUILD_NAME}.zip + name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}" + script: + - mkdir target/${CI_BUILD_NAME} + - cp pollen-rest-api/target/pollen-rest-api-*.war target/${CI_BUILD_NAME}/. + - cp -r pollen-ui-riot-js/target/dist target/${CI_BUILD_NAME}/. + - zip -r target/${CI_BUILD_NAME}.zip target/${CI_BUILD_NAME} + - 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:${CI_BUILD_NAME} + dependencies: + - build-java + - build-js + tags: + - release + - docker + - server -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm