contrib/heptapod-ci.yml
changeset 49182 e3ac39edaa94
parent 49164 a932cad26d37
parent 49181 477b5145e1a0
child 49188 a17ffde1e71b
equal deleted inserted replaced
49180:c577d394ed6b 49182:e3ac39edaa94
     9     TEST_HGMODULEPOLICY: "allow"
     9     TEST_HGMODULEPOLICY: "allow"
    10     HG_CI_IMAGE_TAG: "v1.0"
    10     HG_CI_IMAGE_TAG: "v1.0"
    11     TEST_HGTESTS_ALLOW_NETIO: "0"
    11     TEST_HGTESTS_ALLOW_NETIO: "0"
    12 
    12 
    13 .all_template: &all
    13 .all_template: &all
    14   when: always
    14   when: on_success
    15 
    15 
    16 .runtests_template: &runtests
    16 .runtests_template: &runtests
    17     <<: *all
    17     <<: *all
    18     stage: tests
    18     stage: tests
    19     # The runner made a clone as root.
    19     # The runner made a clone as root.
    44     variables:
    44     variables:
    45         PYTHON: python3
    45         PYTHON: python3
    46 
    46 
    47 phabricator-refresh:
    47 phabricator-refresh:
    48     stage: phabricator
    48     stage: phabricator
    49     rules:
    49     except:
    50       - if: '"$PHABRICATOR_TOKEN" != "NO-PHAB"'
    50       refs:
    51         when: on_success
    51         - merge_requests
    52       - if: '"$PHABRICATOR_TOKEN" == "NO-PHAB"'
    52       variables:
    53         when: never
    53         - $PHABRICATOR_TOKEN == "NO-PHAB"
    54     variables:
    54     variables:
    55       DEFAULT_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)"
    55       DEFAULT_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)"
    56       STABLE_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)\n⚠ This patch is intended for stable ⚠\n{image https://media.giphy.com/media/nYI8SmmChYXK0/source.gif}"
    56       STABLE_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)\n⚠ This patch is intended for stable ⚠\n{image https://media.giphy.com/media/nYI8SmmChYXK0/source.gif}"
    57     script:
    57     script:
    58       - |
    58       - |