[ta] Install build time dependencies to slaves
[ci-management.git] / jjb / akraino-templates / akraino-ta-common-macros.yaml
index 874d166..217736d 100644 (file)
       - lf-provide-maven-settings-cleanup
       - config-file-provider:
           files:
-            - file-id: 'images-snapshots-settings'
+            - file-id: 'ta-settings'
               variable: 'SETTINGS_FILE'
+      - inject:
+          properties-content: 'ALT_NEXUS_URL=https://nexus3.akraino.org'
       - lf-infra-create-netrc:
-          server-id: images-snapshots
+          server-id: rpm.snapshots
       - shell: !include-raw:
           # Ensure python-tools are installed in case job template does not
           # call the lf-infra-pre-build macro.
       - lf-provide-maven-settings-cleanup
       - config-file-provider:
           files:
-            - file-id: 'images-snapshots-settings'
+            - file-id: 'ta-settings'
               variable: 'SETTINGS_FILE'
       - lf-infra-create-netrc:
           server-id: images-snapshots
           # (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 #
 ###########