Skip to content
Snippets Groups Projects
Commit dcad47e5 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Add clean up stage in pipeline

parent 1ba34d7d
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ cache:
stages:
- build
- cleanup
setup_environment:
stage: build
......@@ -79,3 +80,14 @@ build_image:
- sed -i 's/inventory_file.*/extra_arguments=[\"-vvv\"]/' openstack/nodeimage.pkr.hcl
- cat openstack/nodeimage.pkr.hcl
- $CI_PROJECT_DIR/bin/packer build openstack
cleanup:
when: always
stage: cleanup
tags:
- build
script:
- >
cd CRI_XCBC;
git checkout uab-prod;
git branch -D integration;
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