Skip to content

Add checks and creation for CI cleanup YAML files#4408

Merged
abhishek-sa1 merged 1 commit into
dell:pub/build_streamfrom
balajikumaran-c-s:pub/build_stream
May 13, 2026
Merged

Add checks and creation for CI cleanup YAML files#4408
abhishek-sa1 merged 1 commit into
dell:pub/build_streamfrom
balajikumaran-c-s:pub/build_stream

Conversation

@balajikumaran-c-s
Copy link
Copy Markdown
Contributor

@balajikumaran-c-s balajikumaran-c-s commented May 13, 2026

Summary

This PR fixes a bug where GitLab cleanup pipeline scripts were not being copied to the GitLab project during hosted mode deployment.

Problem

During GitLab hosted mode deployment, the CI/CD pipeline file upload task only copied build and deploy pipeline files to the GitLab repository, missing the cleanup pipeline scripts. This prevented users from using the cleanup pipeline functionality after deployment.

Missing files:

  • .gitlab-ci-cleanup.yml
  • .gitlab-ci-cleanup-child-template.yml

Solution

Added logic to check for and upload the cleanup pipeline scripts to the GitLab repository, following the same pattern used for other CI files:

  1. Check if file exists in repository
  2. Copy from role files directory if missing
  3. Upload to repository via GitLab API

Changes

  • Added cleanup pipeline file upload logic to the CI file push task

Signed-off-by: balajikumaran.cs <balajikumaran.c.s@gmail.com>
@abhishek-sa1 abhishek-sa1 merged commit 35568d3 into dell:pub/build_stream May 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants