diff options
author | Oliver Smith <osmith@sysmocom.de> | 2022-10-13 14:51:11 +0200 |
---|---|---|
committer | osmith <osmith@sysmocom.de> | 2022-10-20 09:18:25 +0000 |
commit | 1c7e7c21c3d0b00664469edb9122faeef84db472 (patch) | |
tree | 2301b427051d15dff3120f7f34b80ef2aa48cf8e | |
parent | 5be9a7442bb3903eb340d1d014cc6fd855d82a93 (diff) |
ansible/setup-simtest: pre-install pysim depends
Avoid spending time to install the depends of pysim in each CI job.
Closes: OS#5497
Change-Id: I1e9ddb93f05108146a219bd28cf1e9332764bf8e
-rw-r--r-- | ansible/setup-simtest.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ansible/setup-simtest.yml b/ansible/setup-simtest.yml index 6eb67fc..edc250d 100644 --- a/ansible/setup-simtest.yml +++ b/ansible/setup-simtest.yml @@ -21,6 +21,26 @@ - virtualenv install_recommends: no + - name: "pysim: get requirements.txt" + get_url: + url: https://gitea.osmocom.org/sim-card/pysim/raw/branch/master/requirements.txt + dest: /tmp/pysim_requirements.txt + + - name: "pysim: install deps from requirements.txt" + pip: + executable: pip3 + requirements: /tmp/pysim_requirements.txt + + # https://gitea.osmocom.org/sim-card/pysim/src/branch/master/contrib/jenkins.sh + - name: "pysim: install other deps needed for contrib/jenkins.sh" + pip: + executable: pip3 + name: + - "git+https://github.com/osmocom/sphinx-argparse@master#egg=sphinx-argparse" + - pylint + - sphinx + - sphinxcontrib-napoleon + roles: - name: osmocom-jenkins-slave generic_slave: false |