diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-25 17:29:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-25 17:29:55 +0300 |
commit | ff1b59e68d7bbdfdc7ccce6283ebb0a83fbd196c (patch) | |
tree | 58d7ba6f7385506830d9eca4621e19eaeef12725 | |
parent | dc503629f57290b802dd4d9b7ed5cabfb146a247 (diff) | |
download | clientdata-ff1b59e68d7bbdfdc7ccce6283ebb0a83fbd196c.tar.gz clientdata-ff1b59e68d7bbdfdc7ccce6283ebb0a83fbd196c.tar.bz2 clientdata-ff1b59e68d7bbdfdc7ccce6283ebb0a83fbd196c.tar.xz clientdata-ff1b59e68d7bbdfdc7ccce6283ebb0a83fbd196c.zip |
In .gitlab-ci.yml split deploy into test and deploy.
-rw-r--r-- | .gitlab-ci.yml | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28f873f4..8f836cfa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,5 @@ stages: +- test - deploy - fail - ok @@ -7,16 +8,33 @@ image: debian:stable before_script: - uname -a +testxml: + stage: test + script: + - apt-get update + - apt-get -y -qq install git-core zip gcc zlib1g-dev ca-certificates libxml2-utils python python-pyvorbis python-ogg python-pil + - cd .. + - rm -rf tools + - git clone https://gitlab.com/evol/evol-tools.git tools + - pwd + - ./tools/gitlab-ci/clientdata/testxml.sh + - pwd + - ls clientdata/shared + artifacts: + paths: + - shared + - public + pages: stage: deploy script: - apt-get update - - apt-get -y -qq install git-core zip gcc zlib1g-dev ca-certificates libxml2-utils python python-pyvorbis python-ogg python-pil + - apt-get -y -qq install git-core zip gcc zlib1g-dev ca-certificates libxml2-utils python - cd .. - rm -rf tools - git clone https://gitlab.com/evol/evol-tools.git tools - pwd - - ./tools/gitlab-ci/clientdata.sh + - ./tools/gitlab-ci/clientdata/deploy.sh - pwd - ls clientdata/shared artifacts: @@ -35,10 +53,6 @@ ok_job: artifacts: paths: - shared - dependencies: - - pages - only: - - master fail_job: stage: fail @@ -49,7 +63,3 @@ fail_job: # artifacts: # paths: # - shared - dependencies: - - pages - only: - - master |