comparison .gitlab-ci.yml @ 6776:76c2f08b57ee stable

ci: pull the hg clone explicitly from m-s.o only mirror.octobus.net is down.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 26 May 2024 13:03:21 +0400
parents d0e2b0101bfc
children 8275a04db4ae f46913e52954 184614020008
comparison
equal deleted inserted replaced
6774:564e3d3d9799 6776:76c2f08b57ee
1 .prepare_hg: &prepare_hg 1 .prepare_hg: &prepare_hg
2 - hg pull -R /ci/repos/mercurial/ 2 - hg pull -R /ci/repos/mercurial/ https://repo.mercurial-scm.org/hg
3 - hg pull -R /ci/repos/mercurial/ https://www.mercurial-scm.org/repo/hg-committed
4 - hg_branch=${HG_BRANCH:-$(tests/testlib/map-hg-rev.sh "$(hg identify --branch)")} 3 - hg_branch=${HG_BRANCH:-$(tests/testlib/map-hg-rev.sh "$(hg identify --branch)")}
5 - hg -R /ci/repos/mercurial/ update "$hg_branch" 4 - hg -R /ci/repos/mercurial/ update "$hg_branch"
6 - hg_rev=$(hg log -R /ci/repos/mercurial/ -r . -T '{node}') 5 - hg_rev=$(hg log -R /ci/repos/mercurial/ -r . -T '{node}')
7 - echo testing with mercurial branch="$hg_branch", revision="$hg_rev" 6 - echo testing with mercurial branch="$hg_branch", revision="$hg_rev"
8 7