Add 'git clean -fd' to before_script per gitlab issue #4080
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
parent
bc5972751f
commit
5214351fdd
@ -17,6 +17,8 @@ variables:
|
||||
TAG: "${CI_PIPELINE_IID}-${CI_COMMIT_REF_NAME}-${OS_DISTRO}-${PACKAGE_STREAM}"
|
||||
|
||||
build_image:
|
||||
before_script:
|
||||
- git clean -fd
|
||||
stage: "build"
|
||||
script:
|
||||
- ./scripts/build-dockerfile.sh
|
||||
@ -29,6 +31,8 @@ build_image:
|
||||
- triggers
|
||||
|
||||
test_image:
|
||||
before_script:
|
||||
- git clean -fd
|
||||
stage: "test"
|
||||
script:
|
||||
- ./scripts/test-image.sh
|
||||
@ -38,6 +42,8 @@ test_image:
|
||||
- triggers
|
||||
|
||||
publish_image:
|
||||
before_script:
|
||||
- git clean -fd
|
||||
stage: "publish"
|
||||
script:
|
||||
- ./scripts/promote-image.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user