Mercurial > hg
comparison contrib/heptapod-ci.yml @ 45965:3302584ac0c7
heptapod-ci: do not publish changeset when doing the local clone
Otherwise, checks and script relying on some changeset being draft fails.
Differential Revision: https://phab.mercurial-scm.org/D9461
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 29 Nov 2020 15:17:14 +0100 |
parents | 3a3a510617e5 |
children | c7f40562389f |
comparison
equal
deleted
inserted
replaced
45964:46a16b2c082d | 45965:3302584ac0c7 |
---|---|
4 image: registry.heptapod.net/mercurial/ci-images/mercurial-core | 4 image: registry.heptapod.net/mercurial/ci-images/mercurial-core |
5 | 5 |
6 # The runner made a clone as root. | 6 # The runner made a clone as root. |
7 # We make a new clone owned by user used to run the step. | 7 # We make a new clone owned by user used to run the step. |
8 before_script: | 8 before_script: |
9 - hg clone . /tmp/mercurial-ci/ --noupdate | 9 - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no |
10 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` | 10 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` |
11 - cd /tmp/mercurial-ci/rust/rhg | 11 - cd /tmp/mercurial-ci/rust/rhg |
12 - cargo build | 12 - cargo build |
13 - cd /tmp/mercurial-ci/ | 13 - cd /tmp/mercurial-ci/ |
14 - ls -1 tests/test-check-*.* > /tmp/check-tests.txt | 14 - ls -1 tests/test-check-*.* > /tmp/check-tests.txt |