From: Saku Chydenius Date: Fri, 24 May 2019 12:02:20 +0000 (+0300) Subject: [ta] Install build time dependencies to slaves X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F828%2F1;p=ci-management.git [ta] Install build time dependencies to slaves These are required when building TA ISO image Change-Id: Ib5405b4ccea13dc99f460200d29a432e9bd3cb18 Signed-off-by: Saku Chydenius --- 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