heptapod-ci: do not publish changeset when doing the local clone
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 29 Nov 2020 15:17:14 +0100
changeset 45965 3302584ac0c7
parent 45964 46a16b2c082d
child 45966 f6a1540dc572
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
contrib/heptapod-ci.yml
--- a/contrib/heptapod-ci.yml	Mon Nov 02 19:25:26 2020 +0100
+++ b/contrib/heptapod-ci.yml	Sun Nov 29 15:17:14 2020 +0100
@@ -6,7 +6,7 @@
 # The runner made a clone as root.
 # We make a new clone owned by user used to run the step.
 before_script:
-    - hg clone . /tmp/mercurial-ci/ --noupdate
+    - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no
     - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
     - cd /tmp/mercurial-ci/rust/rhg
     - cargo build