Mercurial > evolve
comparison .gitlab-ci.yml @ 5677:9a16cf248b05 stable
heptapod-ci: new address for base Docker images
Primary motivation is rate limiting on Docker Hub
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Fri, 20 Nov 2020 21:32:38 +0100 |
parents | bec8a04d2f6a |
children | 4737d3db1671 |
comparison
equal
deleted
inserted
replaced
5664:1d80cda7fe93 | 5677:9a16cf248b05 |
---|---|
4 - hg -R /ci/repos/mercurial/ update "$hg_branch" | 4 - hg -R /ci/repos/mercurial/ update "$hg_branch" |
5 - hg_rev=$(hg log -R /ci/repos/mercurial/ -r . -T '{node}') | 5 - hg_rev=$(hg log -R /ci/repos/mercurial/ -r . -T '{node}') |
6 - echo testing with mercurial branch="$hg_branch", revision="$hg_rev" | 6 - echo testing with mercurial branch="$hg_branch", revision="$hg_rev" |
7 | 7 |
8 pytype: | 8 pytype: |
9 image: octobus/ci-py3-hgext3rd | 9 image: registry.heptapod.net/mercurial/ci-images/py3-hgext3rd |
10 script: | 10 script: |
11 - *prepare_hg | 11 - *prepare_hg |
12 - pytype --version | 12 - pytype --version |
13 - jobs=$(python -c 'import multiprocessing; print multiprocessing.cpu_count()') | 13 - jobs=$(python -c 'import multiprocessing; print multiprocessing.cpu_count()') |
14 - pytype -P /ci/repos/mercurial/:hgext3rd -k hgext3rd -x hgext3rd/evolve/thirdparty -j $jobs || true | 14 - pytype -P /ci/repos/mercurial/:hgext3rd -k hgext3rd -x hgext3rd/evolve/thirdparty -j $jobs || true |
19 PYTHON: python | 19 PYTHON: python |
20 RUNTEST_ARGS: "" | 20 RUNTEST_ARGS: "" |
21 TEST_HGMODULEPOLICY: "allow" | 21 TEST_HGMODULEPOLICY: "allow" |
22 | 22 |
23 .runtests_template: &runtests | 23 .runtests_template: &runtests |
24 image: octobus/ci-$PY-hgext3rd | 24 image: registry.heptapod.net/mercurial/ci-images/$PY-hgext3rd |
25 before_script: | 25 before_script: |
26 - (cd tests; ls -1 test-check-*.t > /tmp/check-tests.txt) | 26 - (cd tests; ls -1 test-check-*.t > /tmp/check-tests.txt) |
27 script: | 27 script: |
28 - *prepare_hg | 28 - *prepare_hg |
29 - ("$PYTHON" --version) | 29 - ("$PYTHON" --version) |