D8011: heptapod-ci: add a basic file to be able to run tests with heptapod

2020-01-26 Thread marmoute (Pierre-Yves David)
marmoute created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Having this yaml file somewhere in the main mercurial repository makes it
  trivial for contributors using heptapod to run CI on their in-progress work.
  There are alot of different combination (python2/python3 pure/cext/rust/pypy)
  to be tested and making sure all of them are covered manually is cumbersome.
  Automatic CI runnig on draft really helps in that matters. We start small bu
  later changesets will add more step testing more of the variants.
  
  The series is targetted on stable to make it available to the widest amount 
of contribution possible.
  
  The definition of the docker files used for this are available here:
  
https://dev.heptapod.net/octobus/ci-dockerfiles

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D8011

AFFECTED FILES
  contrib/heptapod-ci.yml

CHANGE DETAILS

diff --git a/contrib/heptapod-ci.yml b/contrib/heptapod-ci.yml
new file mode 100644
--- /dev/null
+++ b/contrib/heptapod-ci.yml
@@ -0,0 +1,13 @@
+image: octobus/ci-mercurial-core
+
+# 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 -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
+- cd /tmp/mercurial-ci/
+
+checks-py2:
+script:
+- cd tests/
+- python run-tests.py --time test-check-*.*



To: marmoute, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D8011: heptapod-ci: add a basic file to be able to run tests with heptapod

2020-01-31 Thread pulkit (Pulkit Goyal)
pulkit added a comment.


  @marmoute wants the series to be pushed for stable so that the yaml files are 
present on that branch and heptapod can run tests for that too. That seems okay 
to me, however I will wait for 3-4 days to see if anyone has objections.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8011/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8011

To: marmoute, #hg-reviewers, pulkit
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D8011: heptapod-ci: add a basic file to be able to run tests with heptapod

2020-02-07 Thread marmoute (Pierre-Yves David)
marmoute added a comment.


  (Gentle Ping)

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8011/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8011

To: marmoute, #hg-reviewers, pulkit
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D8011: heptapod-ci: add a basic file to be able to run tests with heptapod

2020-02-07 Thread marmoute (Pierre-Yves David)
Closed by commit rHG8b1dd3f42396: heptapod-ci: add a basic file to be able to 
run tests with heptapod (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8011?vs=19621&id=19987

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8011/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8011

AFFECTED FILES
  contrib/heptapod-ci.yml

CHANGE DETAILS

diff --git a/contrib/heptapod-ci.yml b/contrib/heptapod-ci.yml
new file mode 100644
--- /dev/null
+++ b/contrib/heptapod-ci.yml
@@ -0,0 +1,13 @@
+image: octobus/ci-mercurial-core
+
+# 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 -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
+- cd /tmp/mercurial-ci/
+
+checks-py2:
+script:
+- cd tests/
+- python run-tests.py --time test-check-*.*



To: marmoute, #hg-reviewers, pulkit
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel