validation: Only run tagged docker build once 60/3360/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 15 Apr 2020 19:11:34 +0000 (21:11 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 15 Apr 2020 20:43:49 +0000 (22:43 +0200)
commitd75743b4b5b8bd7117a804af950d4b39e35bea04
treec8ab334f336e6b8260ce343ddb77d17d4fcdc8f3
parent0eea9db2878dc1df1ab33a2c29778dd5361c1da6
validation: Only run tagged docker build once

Previously, we used to manually change the release tag for the Docker
container image(s) built for the validation project, let the build run
once, then create another change that disabled the job to prevent
further (useless) rebuilds happening each night.

Instead of triggering the docker build job for the release (tag) using
cron, switch to triggering the job based on gerrit merge events
affecting the ci-management repository and only if the said merge event
affects the 'validation-docker.yaml' configuration file (the one where
the release tag is defined/updated).

Change-Id: Ia4493b558ee7d1319c42a04690aa1c7580eb3731
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
jjb/akraino-templates/akraino-validation-templates.yaml
jjb/validation/validation-docker.yaml