Change in osmo-ci[master]: ttcn3-slave.yml: don't hard-code amd64 as the dpkg architecture

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
Wed Oct 21 18:50:48 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/20830 )


Change subject: ttcn3-slave.yml: don't hard-code amd64 as the dpkg architecture
......................................................................

ttcn3-slave.yml: don't hard-code amd64 as the dpkg architecture

We have no clue what the host architecture will be...

Change-Id: I32c0905c8e077faa02984ea67c452fcdb81440da
---
M ansible/roles/osmocom-jenkins-slave/tasks/ttcn3-slave.yml
1 file changed, 6 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/30/20830/1

diff --git a/ansible/roles/osmocom-jenkins-slave/tasks/ttcn3-slave.yml b/ansible/roles/osmocom-jenkins-slave/tasks/ttcn3-slave.yml
index 8e30cbf..227aad9 100644
--- a/ansible/roles/osmocom-jenkins-slave/tasks/ttcn3-slave.yml
+++ b/ansible/roles/osmocom-jenkins-slave/tasks/ttcn3-slave.yml
@@ -30,10 +30,14 @@
     update_cache: yes
     cache_valid_time: 3600
 
+- name: Get DEB architecture
+  shell: dpkg --print-architecture
+  register: deb_architecture
+
 - name: Install libfftranscode0
   apt:
-    deb: https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode0_0.1_amd64.deb
+    deb: https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode0_0.1_{{deb_architecture.stdout}}.deb
 
 - name: Install libfftranscode-dev
   apt:
-    deb: https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode-dev_0.1_amd64.deb
+    deb: https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode-dev_0.1_{{deb_architecture.stdout}}.deb

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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I32c0905c8e077faa02984ea67c452fcdb81440da
Gerrit-Change-Number: 20830
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201021/6898c715/attachment.htm>


More information about the gerrit-log mailing list