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}"
|
TAG: "${CI_PIPELINE_IID}-${CI_COMMIT_REF_NAME}-${OS_DISTRO}-${PACKAGE_STREAM}"
|
||||||
|
|
||||||
build_image:
|
build_image:
|
||||||
|
before_script:
|
||||||
|
- git clean -fd
|
||||||
stage: "build"
|
stage: "build"
|
||||||
script:
|
script:
|
||||||
- ./scripts/build-dockerfile.sh
|
- ./scripts/build-dockerfile.sh
|
||||||
@ -29,6 +31,8 @@ build_image:
|
|||||||
- triggers
|
- triggers
|
||||||
|
|
||||||
test_image:
|
test_image:
|
||||||
|
before_script:
|
||||||
|
- git clean -fd
|
||||||
stage: "test"
|
stage: "test"
|
||||||
script:
|
script:
|
||||||
- ./scripts/test-image.sh
|
- ./scripts/test-image.sh
|
||||||
@ -38,6 +42,8 @@ test_image:
|
|||||||
- triggers
|
- triggers
|
||||||
|
|
||||||
publish_image:
|
publish_image:
|
||||||
|
before_script:
|
||||||
|
- git clean -fd
|
||||||
stage: "publish"
|
stage: "publish"
|
||||||
script:
|
script:
|
||||||
- ./scripts/promote-image.sh
|
- ./scripts/promote-image.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user