Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[ta] Add "remerge" trigger to TA merge jobs
[ci-management.git]
/
jjb
/
akraino-templates
/
akraino-ta-common-macros.yaml
diff --git
a/jjb/akraino-templates/akraino-ta-common-macros.yaml
b/jjb/akraino-templates/akraino-ta-common-macros.yaml
index
874d166
..
33f7f00
100644
(file)
--- 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:
- lf-provide-maven-settings-cleanup
- config-file-provider:
files:
- - file-id: '
images-snapshots
-settings'
+ - file-id: '
ta
-settings'
variable: 'SETTINGS_FILE'
variable: 'SETTINGS_FILE'
+ - inject:
+ properties-content: 'ALT_NEXUS_URL=https://nexus3.akraino.org'
- lf-infra-create-netrc:
- 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.
- 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:
- 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
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
# (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 #
###########
###########
# 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
# 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}'
projects:
- project-compare-type: 'ANT'
project-pattern: '{project}'