From ec96180a4cc504d4bf2672a17a55dd0cdc696495 Mon Sep 17 00:00:00 2001 From: releaser-duniter <admin@duniter.org> Date: Mon, 15 Jan 2018 19:00:37 +0000 Subject: [PATCH] explain the path to each artifacts --- .gitlab-ci.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2478c5e35..b1087be5b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,14 +3,6 @@ stages: - github-sync - release - release-message - -debug: - stage: debug - image: tensorflow/tensorflow:latest-py3 - tags: - - redshift-duniter-builder - script: - - python3 .gitlab/test.py push_to_github: stage: github-sync @@ -35,18 +27,22 @@ release_linux:test: image: duniter/release-builder:v1.0.1 tags: - redshift-duniter-builder + variables: + TEST_TAG: "$(date +%Y%m%d).$(date +%H%M).$(date +%S)" script: - - bash "release/arch/linux/build-lin.sh" "$(date +%Y%m%d).$(date +%H%M).$(date +%S)" + - bash "release/arch/linux/build-lin.sh" "${TEST_TAG}" artifacts: paths: - - work/bin/ + - work/bin/duniter-desktop-"${TEST_TAG}"-linux-x64.deb + - work/bin/duniter-desktop-"${TEST_TAG}"-linux-x64.tar.gz + - work/bin/duniter-server-"${TEST_TAG}"-linux-x64.deb expire_in: 8h when: manual except: - tags -release_linux:deploy: +release_linux:deploy:desktop: stage: release image: duniter/release-builder:v1.0.1 tags: @@ -55,7 +51,9 @@ release_linux:deploy: - bash "release/arch/linux/build-lin.sh" "${CI_COMMIT_TAG#v}" artifacts: paths: - - work/bin/ + - work/bin/duniter-desktop-"${CI_COMMIT_TAG}"-linux-x64.deb + - work/bin/duniter-desktop-"${CI_COMMIT_TAG}"-linux-x64.tar.gz + - work/bin/duniter-server-"${CI_COMMIT_TAG}"-linux-x64.deb expire_in: 8h when: manual only: -- GitLab