Skip to content
Snippets Groups Projects
Commit d824bf68 authored by GitBot's avatar GitBot
Browse files

Integrate gitlab-ci/keep_artifacts

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@de9851be

ci: add a job to handle artifacts after merge

In the latest commit in the manifest it often happens, that the pipeline
does not contain the artifacts itself, but just a link to the pipeline of the MR.

Added a python script with corresponding GitLab CI job to launch this script.
The script searches for the latest pipelines for default branch in manifest repo,
and then decides either to keep or delete artifacts for particular build.

The build artifacts are kept for:
- the latest commit
- the last successful build
- the tagged commits (e.g. "fngsystem/47.0", "kirkstone/20.0")
parent b7a434bf
No related branches found
No related tags found
1 merge request!245Integrate gitlab-ci/keep_artifacts
Pipeline #123294 passed with stage
in 12 seconds
Subproject commit 1299a9d671826104a620e4b2fd8ce278dd306987 Subproject commit de9851beff4cbb43172bc3e2ad4709f8d9e00790
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
include: include:
- project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci' - project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci'
ref: 1299a9d671826104a620e4b2fd8ce278dd306987 ref: de9851beff4cbb43172bc3e2ad4709f8d9e00790
file: 'manifest-integration.yml' file: 'manifest-integration.yml'
variables: variables:
GITLAB_CI_REVISION: 1299a9d671826104a620e4b2fd8ce278dd306987 GITLAB_CI_REVISION: de9851beff4cbb43172bc3e2ad4709f8d9e00790
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment