X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fakraino-templates%2Fakraino-ta-common-macros.yaml;h=33f7f00186fa954f0f117ecd642d8106210e877f;hb=refs%2Fchanges%2F54%2F854%2F1;hp=874d166c9ed2813da647842c6a950ed3e8a96183;hpb=43090d9d26878bcabc7d46c0cce42f96ff7aaf6a;p=ci-management.git diff --git a/jjb/akraino-templates/akraino-ta-common-macros.yaml b/jjb/akraino-templates/akraino-ta-common-macros.yaml index 874d166..33f7f00 100644 --- a/jjb/akraino-templates/akraino-ta-common-macros.yaml +++ b/jjb/akraino-templates/akraino-ta-common-macros.yaml @@ -122,10 +122,12 @@ - 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. @@ -141,7 +143,7 @@ - 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 @@ -222,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 # ########### @@ -258,6 +268,8 @@ # Not sure if it would be better to use "change-merged" here and just clone the master # branch. With the current approach the SCM can be identical in verify and merge jobs. - ref-updated-event + - comment-added-contains-event: + comment-contains-value: 'remerge' projects: - project-compare-type: 'ANT' project-pattern: '{project}'