Changeset View
Changeset View
Standalone View
Standalone View
jobs/swh-environment.yaml
Show All 20 Lines | wrappers: | ||||
- timeout: | - timeout: | ||||
timeout: 120 | timeout: 120 | ||||
abort: true | abort: true | ||||
- timestamps | - timestamps | ||||
builders: | builders: | ||||
- shell: | | - shell: | | ||||
#!/bin/bash | #!/bin/bash | ||||
# Don't fetch potentially large branches, we only need master | |||||
sed -i 's/git clone/git clone --single-branch/g' .mrconfig | |||||
# fetch swh repositories | # fetch swh repositories | ||||
mr -j 4 -t update | mr -j 4 -t update | ||||
# setup a virtualenv | # setup a virtualenv | ||||
python3 -m venv .venv | python3 -m venv .venv | ||||
. .venv/bin/activate | . .venv/bin/activate | ||||
# upgrade pip as default installed version is too outdated to properly | # upgrade pip as default installed version is too outdated to properly | ||||
# install all swh dependencies | # install all swh dependencies | ||||
pip install --upgrade pip | pip install --upgrade pip | ||||
Show All 37 Lines |