osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/29740 )
Change subject: ansible/setup-simtest: pre-install pysim depends ......................................................................
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 --- M ansible/setup-simtest.yml 1 file changed, 17 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/40/29740/1
diff --git a/ansible/setup-simtest.yml b/ansible/setup-simtest.yml index 6eb67fc..abd0fed 100644 --- a/ansible/setup-simtest.yml +++ b/ansible/setup-simtest.yml @@ -21,6 +21,23 @@ - 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: + requirements: /tmp/pysim_requirements.txt + + # https://gitea.osmocom.org/sim-card/pysim/src/branch/master/contrib/jenkins.s... + - name: "pysim: install other deps needed for contrib/jenkins.sh" + pip: + requirements: + - pylint + - sphinx + - sphinxcontrib-napoleon + roles: - name: osmocom-jenkins-slave generic_slave: false