There will be about 1h of downtime on 2020-03-02 at 13:00 UTC+1 (change of servers and upgrade to Heptapod 0.20.0 final)

Commit 6201b8f9 authored by Pierre-Yves David's avatar Pierre-Yves David 🐙

heptapod-ci: automatically refresh existing phabricator Diff on push

If a changeset have been submitted to Phabricator and a new version is pushed to
heptapod, we should refresh the state on Phabricator. If we do not do this, they
are a risk of an older version being applied from Phabricator. In this situation
content-divergence will be (rightfully) detected by evolution.

We only refresh the Diff if the test pass, to avoid updating Phabricator with
broken content.
parent 9d892165404f
Pipeline #13509 failed with stages
in 1 minute and 42 seconds
stages:
- tests
- phabricator
image: registry.heptapod.net/mercurial/ci-images/mercurial-core
......@@ -108,3 +109,8 @@ test-py2-chg:
variables:
RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt --chg"
TEST_HGMODULEPOLICY: "c"
phabricator-refresh:
stage: phabricator
script:
- ./contrib/phab-refresh-stack.sh
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment