Change in osmo-ci[master]: ansible: osmocom-jenkins-slave: osmocom_build_deps: install osmo-pyth...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sat Aug 15 07:45:05 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/19661 )

Change subject: ansible: osmocom-jenkins-slave: osmocom_build_deps: install osmo-python-tests for py2 and py3
......................................................................

ansible: osmocom-jenkins-slave: osmocom_build_deps: install osmo-python-tests for py2 and py3

The osmo-python-tests will be used to test vty commands.
The old python2 package are only required to test old images because
the current master is only supporting python3.
Installing both doesn't conflict because the python site-packages are
different for the two version.

Change-Id: Ica279e83b763389ababb526336ebd95d45beee7a
---
M ansible/roles/osmocom-jenkins-slave/tasks/osmocom_build_deps.yml
1 file changed, 24 insertions(+), 0 deletions(-)

Approvals:
  lynxis lazus: Verified
  laforge: Looks good to me, approved



diff --git a/ansible/roles/osmocom-jenkins-slave/tasks/osmocom_build_deps.yml b/ansible/roles/osmocom-jenkins-slave/tasks/osmocom_build_deps.yml
index 90c86b0..e2196b6 100644
--- a/ansible/roles/osmocom-jenkins-slave/tasks/osmocom_build_deps.yml
+++ b/ansible/roles/osmocom-jenkins-slave/tasks/osmocom_build_deps.yml
@@ -169,3 +169,27 @@
     - libbson-dev
     - libyaml-dev
   when: ansible_distribution == 'Debian' and ansible_distribution_version|int >= 10
+
+- name: download osmo-python-tests for py2
+  git:
+    repo: "https://gerrit.osmocom.org/python/osmo-python-tests"
+    dest: "/home/{{ jenkins_user }}/osmo-python-tests2"
+    version: "fb4b813d4df62b7b2445bdced961eb1847267eed"
+
+- name: install osmo-python-tests for py2
+  shell:
+    cmd: "python2 setup.py clean build install && date > installed"
+    chdir: "/home/{{ jenkins_user }}/osmo-python-tests2"
+    creates: "/home/{{ jenkins_user }}/osmo-python-tests2/installed"
+
+- name: download osmo-python-tests for py3
+  git:
+    repo: "https://gerrit.osmocom.org/python/osmo-python-tests"
+    dest: "/home/{{ jenkins_user }}/osmo-python-tests3"
+    version: "be7fcf5f28a5d0f9ad35510f09b5979268d76598"
+
+- name: install osmo-python-tests for py3
+  shell:
+    cmd: "python3 setup.py clean build install && date > installed"
+    chdir: "/home/{{ jenkins_user }}/osmo-python-tests3"
+    creates: "/home/{{ jenkins_user }}/osmo-python-tests3/installed"

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/19661
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ica279e83b763389ababb526336ebd95d45beee7a
Gerrit-Change-Number: 19661
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200815/adf17516/attachment.htm>


More information about the gerrit-log mailing list