Mercurial > evolve
comparison .gitlab-ci.yml @ 4925:dbeb04ee6679 stable
heptapod-ci: add a --pure variant for the CI
The end goal is to migrate all piece of the evolve CI currently en Jenkins.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 14 Nov 2019 18:44:15 +0100 |
parents | cf1c67449fa7 |
children | 0fad1d376814 |
comparison
equal
deleted
inserted
replaced
4924:cf1c67449fa7 | 4925:dbeb04ee6679 |
---|---|
1 flake8: | 1 flake8: |
2 image: octobus/ci-py2-hgext3rd | 2 image: octobus/ci-py2-hgext3rd |
3 script: | 3 script: |
4 - hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' -X hgext3rd/evolve/thirdparty | xargs -0 flake8 | 4 - hg files -0 'set:(**.py or grep("^#!.*python")) - removed()' -X hgext3rd/evolve/thirdparty | xargs -0 flake8 |
5 tests: | 5 tests-py2-cext: |
6 image: octobus/ci-py2-hgext3rd | 6 image: octobus/ci-py2-hgext3rd |
7 script: | 7 script: |
8 - echo $PWD | 8 - echo $PWD |
9 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"` | 9 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"` |
10 - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/ | 10 - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/ |
11 - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'` | 11 - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'` |
12 - (cd tests; /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py) | 12 - (cd tests; /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py) |
13 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"` | 13 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"` |
14 | |
15 tests-py2-pure: | |
16 image: octobus/ci-py2-hgext3rd | |
17 script: | |
18 - echo $PWD | |
19 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"` | |
20 - hg clone https://mirror.octobus.net/hg/ /tmp/mercurial-clone-`hg log -r . -T "{node}"` --config share.pool=/tmp/ | |
21 - hg -R /tmp/mercurial-clone-`hg log -r . -T "{node}"` update `hg log -r . -T '{branch}'` | |
22 - (cd tests; /tmp/mercurial-clone-`hg log -r . -T "{node}"`/tests/run-tests.py --pure) | |
23 - rm -rf /tmp/mercurial-clone-`hg log -r . -T "{node}"` |