Try using ISOs as artifacts instead of cache
This commit is contained in:
@@ -11,9 +11,6 @@ stages:
|
|||||||
- sources/build.pkr.hcl
|
- sources/build.pkr.hcl
|
||||||
paths:
|
paths:
|
||||||
- ./packer_config/
|
- ./packer_config/
|
||||||
- key: isofiles
|
|
||||||
paths:
|
|
||||||
- cache/*.iso
|
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
variables:
|
variables:
|
||||||
@@ -28,6 +25,9 @@ stages:
|
|||||||
- pipeline: $PARENT_PIPELINE_ID
|
- pipeline: $PARENT_PIPELINE_ID
|
||||||
job: generate
|
job: generate
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
- pipeline: $PARENT_PIPELINE_ID
|
||||||
|
job: download
|
||||||
|
artifacts: true
|
||||||
tags:
|
tags:
|
||||||
- ${tag}
|
- ${tag}
|
||||||
variables: &variables
|
variables: &variables
|
||||||
|
|||||||
+3
-7
@@ -13,10 +13,6 @@ default:
|
|||||||
|
|
||||||
generate:
|
generate:
|
||||||
stage: generate
|
stage: generate
|
||||||
cache:
|
|
||||||
- key: isofiles
|
|
||||||
paths:
|
|
||||||
- cache/*.iso
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- distros/**/*.pkrvars.hcl
|
- distros/**/*.pkrvars.hcl
|
||||||
@@ -66,10 +62,10 @@ shellcheck:
|
|||||||
# could get to them
|
# could get to them
|
||||||
downloads:
|
downloads:
|
||||||
stage: cache
|
stage: cache
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- cache/*.iso
|
||||||
cache:
|
cache:
|
||||||
- key: isofiles
|
|
||||||
paths:
|
|
||||||
- cache/*.iso
|
|
||||||
- key:
|
- key:
|
||||||
files:
|
files:
|
||||||
- sources/build.pkr.hcl
|
- sources/build.pkr.hcl
|
||||||
|
|||||||
Reference in New Issue
Block a user