[ta] Install build time dependencies to slaves 28/828/1
authorSaku Chydenius <saku.chydenius@nokia.com>
Fri, 24 May 2019 12:02:20 +0000 (15:02 +0300)
committerSaku Chydenius <saku.chydenius@nokia.com>
Fri, 24 May 2019 12:03:11 +0000 (15:03 +0300)
These are required when building TA ISO image

Change-Id: Ib5405b4ccea13dc99f460200d29a432e9bd3cb18
Signed-off-by: Saku Chydenius <saku.chydenius@nokia.com>
jjb/akraino-templates/akraino-ta-common-macros.yaml
jjb/akraino-templates/akraino-ta-common-templates.yaml

index 7cfbfe1..217736d 100644 (file)
           # (adding to the group would require re-login)
           sudo chmod 777 /var/run/docker.sock
 
+- builder:
+    name: ta-builder-install-build-tools
+    builders:
+      - shell: |2-
+          sudo yum -y install createrepo libguestfs-tools-c jq
+          sudo systemctl start libvirtd
+          systemctl status libvirtd
+
 ###########
 # TRIGGER #
 ###########
index 426ab12..2484ccb 100644 (file)
           project: 'ta/build-tools'
           ref: '$SCM_REFSPEC_BUILD_TOOLS'
       - ta-builder-install-docker
+      - ta-builder-install-build-tools
       - shell: |2-
-          sudo yum -y install createrepo
           ta/build-tools/build_images.sh -m ta/manifest -w work
           find work
       - ta-lf-infra-ship-isos