Refactor: Cleanup JJB for pre-commit This includes removing the file "static-slaves-ci-jobs", which does not conform to modern naming conventions, and is no longer needed. Change-Id: If1495c79ba85dea00f7a423f3055abee517dce7e Signed-off-by: Eric Ball <eball@linuxfoundation.org> Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Fix: Add lf-infra-publish to all jobs Some jobs did not have this publisher, which meant that logs were not being archived, and that we were not receiving job cost data for these jobs. Change-Id: If380ad31104fc68935f59490bbc8d55de7a5b1af Issue-ID: LF-Jira RELENG-4322 Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Replace ubuntu1604 with ubuntu1804 Replace the agent and all scripts that reference it. Issue: LF-Jira RELENG-3483 Change-Id: Iffe5d0a2a0a2dc50ccb20f5d32a9bcc3c5b7fcca Signed-off-by: Eric Ball <eball@linuxfoundation.org>
bluval: Extend job description with BP, lab, layer bluval jobs are shared across different blueprints, labs and layers, so display some useful information in the job history overview pane. Change-Id: I38e7c700774765066524a99da1e5786c5fec1b58 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
validation: bluval: Use own repo logparser rules Instead of creating the logparser rules.txt file on the fly, rely on the project's git repository providing it. While at it, add and configure the 'robot' publisher in order to enable Jenkins dashboard integration and display some nice summaries directly in the 'blueval' view (using the 'Robot Results + Duration Trend' column), as well as on the job's overview webpage. JIRA: VAL-104 Depends-on: I1506d84a44926e80913562f67f24885a98f94df7 Change-Id: I971ae6f8949caac8debc1aee0f35e0b35b8f65e6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
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>
Fix SCM macro usage of refspec, branches - fix ignored refspec SCM parameter (hardcoded to empty string): s/refspec: ''/refspec: '$GERRIT_REFSPEC'/g - fix IEC SCM configuration regression (broken in previous commit): s/branches: '$GERRIT_BRANCH'/branch: 'GERRIT_BRANCH'/g - add missing lf-infra-parameters macro to bluval job; - use lf-infra-gerrit-scm macro in IEC templates (now that submodule recursive cloning parametrization is supported); - retire 'validation-job-parameters' parameters macro, which is only an alias for 'lf-infra-parameters'; - rework validation SCM handling for refs/tags/...; JIRA: VAL-103 Change-Id: I94957fb02afdfe8a01330e768dc5fde15f5ea05d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
[validation] Improve relationship between jobs - Added a fix so that when bluval-run-daily-tests job fails, the upstream akraino-validation-lab-daily job also fails. - Made the validation parameters more generic (the tests can be ran on openstack too, not just on k8s clusters) - Moved the templates from the project folder to the templates folder JIRA: VAL-98 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> Change-Id: I915ff9a0347e20390b297483b39a051f39fdf205
Fix build-blocker level param typos s/blocking-level/block-level/g as per [1]. [1] https://docs.openstack.org/infra/jenkins-job-builder/properties.html Change-Id: Iea628d0a7c8b3285ece13280abdda1aa85dbea2b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
[validation] Build release images The tag for the release has been made for the validation project at [1] Added the jobs that will build the container images from this tag Also moved the project templates in the akraino-templates folder [1] https://gerrit.akraino.org/r/admin/repos/validation,tags Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> Change-Id: Ia6a1750a37ff8deabfe87667a0d8d91efe4ca8ce