From a0004f999a916c2419d92aafad3a0ad4294c648e Mon Sep 17 00:00:00 2001 From: Saku Chydenius Date: Fri, 24 May 2019 15:02:20 +0300 Subject: [PATCH] [ta] Install build time dependencies to slaves These are required when building TA ISO image Change-Id: Ib5405b4ccea13dc99f460200d29a432e9bd3cb18 Signed-off-by: Saku Chydenius --- jjb/akraino-templates/akraino-ta-common-macros.yaml | 8 ++++++++ jjb/akraino-templates/akraino-ta-common-templates.yaml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/jjb/akraino-templates/akraino-ta-common-macros.yaml b/jjb/akraino-templates/akraino-ta-common-macros.yaml index 7cfbfe1..217736d 100644 --- a/jjb/akraino-templates/akraino-ta-common-macros.yaml +++ b/jjb/akraino-templates/akraino-ta-common-macros.yaml @@ -224,6 +224,14 @@ # (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 # ########### diff --git a/jjb/akraino-templates/akraino-ta-common-templates.yaml b/jjb/akraino-templates/akraino-ta-common-templates.yaml index 426ab12..2484ccb 100644 --- a/jjb/akraino-templates/akraino-ta-common-templates.yaml +++ b/jjb/akraino-templates/akraino-ta-common-templates.yaml @@ -262,8 +262,8 @@ 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 -- 2.16.6