eiffel: Switch build job triggers to GitHub trigger
The jobs were created to run periodically to settle the basics and
gather feedback from the projects.
ETOS project prefers the builds to be run upon merge of the commits
and this seems to be useful for other projects as well so the jobs
are modified to run based on GitHub triggers.
Jobs are renamed to reflect the fact as well.
Next change in the series enables posting comments back to PR if the
job is triggered due to merge of a PR.
Change-Id: I59a32c567def96550ee2297a985694f894339a85
diff --git a/jjb/eiffel/global-eiffel-container-build-merge.yaml b/jjb/eiffel/global-eiffel-container-build-merge.yaml
index 70596af..04d46f4 100644
--- a/jjb/eiffel/global-eiffel-container-build-merge.yaml
+++ b/jjb/eiffel/global-eiffel-container-build-merge.yaml
@@ -29,7 +29,9 @@
properties:
- logrotate
- github:
- url: '$GIT_BASE_HTTPS/{project-git-repo}'
+ # NOTE (fdegir): url is hardcoded here since env vars in job properties
+ # do not seem to be resolved correctly, causing job no to function properly
+ url: 'https://github.com/eiffel-community/{project-git-repo}'
parameters:
- project-parameters:
@@ -40,10 +42,6 @@
default: https://github.com/eiffel-community
description: HTTPS URL of Project Repo on GitHub to clone repo.
- string:
- name: GIT_BASE_SSH
- default: git@github.com:eiffel-community
- description: SSH URL of Project Repo on GitHub to clone repo.
- - string:
name: IMAGE_DOCKERFILE
default: '{image-dockerfile}'
description: Dockerfile to use for building the container image
@@ -78,7 +76,7 @@
scm:
- git:
- url: '$GIT_BASE_HTTPS/{project-git-repo}.git'
+ url: 'https://github.com/eiffel-community/{project-git-repo}.git'
branches:
- '*/{branch}'
refspec: ''
@@ -105,7 +103,7 @@
- nordixinfra-harbor-creds-wrapper
- mask-passwords
- openstack:
- single-use: True
+ single-use: true
builders:
- '{project-build-macro}'