Commit 026c91a3 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

ci: new python image breaks evolve integration

parent 94dd09f11ad0
Pipeline #83707 passed with stage
in 20 minutes and 32 seconds
...@@ -35,16 +35,17 @@ py3: ...@@ -35,16 +35,17 @@ py3:
- tox -e py3 - tox -e py3
auto-mr: auto-mr:
image: debian:buster
only: only:
variables: variables:
- $AUTO_MR - $AUTO_MR
before_script: before_script:
- pip install -r requirements.txt
- pip install -e .
- echo -e "[extensions]\nevolve =\ntopic =" >> ~/.hgrc
- apt-get update - apt-get update
- apt-get install python-pip -y - apt-get install python-pip python3-pip mercurial -y
- python2 -m pip install hg-evolve - python2 -m pip install hg-evolve
- pip3 install -r requirements.txt
- pip3 install -e .
- echo -e "[extensions]\nevolve =\ntopic =" >> ~/.hgrc
- echo -e "[ui]" >> ~/.hgrc - echo -e "[ui]" >> ~/.hgrc
- echo -e "username = Cube Doctor <cube-doctor@logilab.fr>" >> ~/.hgrc - echo -e "username = Cube Doctor <cube-doctor@logilab.fr>" >> ~/.hgrc
- echo -e "[auth]" >> ~/.hgrc - echo -e "[auth]" >> ~/.hgrc
...@@ -52,9 +53,9 @@ auto-mr: ...@@ -52,9 +53,9 @@ auto-mr:
- echo -e "forge.username = token-cube-doctor" >> ~/.hgrc - echo -e "forge.username = token-cube-doctor" >> ~/.hgrc
- echo -e "forge.password = $GITLAB_TOKEN" >> ~/.hgrc - echo -e "forge.password = $GITLAB_TOKEN" >> ~/.hgrc
script: script:
- python cube_doctor/doctor_hg.py rebase-all-my-mrs -a - cube-doctor rebase-all-my-mrs -a
- python cube_doctor/doctor_hg.py auto-mr -m - cube-doctor auto-mr -m
- python cube_doctor/doctor_hg.py auto-mr - cube-doctor auto-mr
artifacts: artifacts:
paths: paths:
- created_mr.log - created_mr.log
...@@ -70,17 +71,18 @@ relaunch_broken_ci_jobs: ...@@ -70,17 +71,18 @@ relaunch_broken_ci_jobs:
- python relaunch_broken_ci_jobs.py - python relaunch_broken_ci_jobs.py
update-flake8-ok-files: update-flake8-ok-files:
image: debian:buster
only: only:
variables: variables:
- $BASH_SCRIPTS - $BASH_SCRIPTS
- $UPDATE_FLAKE8_OK_FILES - $UPDATE_FLAKE8_OK_FILES
before_script: before_script:
- pip install -r requirements.txt
- pip install -e .
- echo -e "[extensions]\nevolve =\ntopic =\nshelve =" >> ~/.hgrc
- apt-get update - apt-get update
- apt-get install python-pip -y - apt-get install python-pip python3-pip mercurial -y
- python2 -m pip install hg-evolve - python2 -m pip install hg-evolve
- pip3 install -r requirements.txt
- pip3 install -e .
- echo -e "[extensions]\nevolve =\ntopic =\nshelve =" >> ~/.hgrc
- echo -e "[ui]" >> ~/.hgrc - echo -e "[ui]" >> ~/.hgrc
- echo -e "username = Laurent Peuch <cortex@worlddomination.be>" >> ~/.hgrc - echo -e "username = Laurent Peuch <cortex@worlddomination.be>" >> ~/.hgrc
- echo -e "[auth]" >> ~/.hgrc - echo -e "[auth]" >> ~/.hgrc
......
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