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