Try manually running uploads

This commit is contained in:
Greg Hellings
2024-06-21 10:48:58 -05:00
parent d16e79b850
commit 13f2dc7943
3 changed files with 8 additions and 17 deletions
+2 -12
View File
@@ -11,10 +11,6 @@ stages:
- sources/build.pkr.hcl
paths:
- ./packer_config/
- key: isofiles
paths:
- ./cache/*.iso
policy: pull
rules:
- if: $CI_COMMIT_TAG
variables:
@@ -46,6 +42,8 @@ stages:
before_script:
- packer init sources
- echo $COMMAND
- mc alias add storage "localhost:9000" root "$MINIO_SECRET"
- mc get storage/isos
script:
- ls -l cache/
- echo $COMMAND > build.sh
@@ -68,10 +66,6 @@ virtualbox-iso.amd64:
tag: vbox
parallel:
matrix: []
after_script: |-
if [ "$CI_JOB_STATUS" == "success" ]; then
xonsh test.xsh
fi
hyperv-iso.amd64:
extends: .build
@@ -85,10 +79,6 @@ hyperv-iso.amd64:
- echo $env:COMMAND > build.ps1
- echo 'if (-not $?) { throw "Error in build"}' >> build.ps1
- pwsh .\build.ps1
after_script: |-
if ( "$CI_JOB_STATUS" -eq "success" ) {
xonsh test.xsh
}
"Create release":
stage: release
+5 -4
View File
@@ -69,13 +69,14 @@ downloads:
- sources/build.pkr.hcl
paths:
- ./packer_config/
- key: isofiles
paths:
- ./cache/*.iso
policy: pull-push
script:
- packer init sources
- bash cache.sh
- mc alias add storage "localhost:9000" root "$MINIO_SECRET"
- |
for f in cache/*; do
mc put "$f" "storage/isos/$(basename "$f")"
end
trigger:
stage: trigger
+1 -1
View File
@@ -23,4 +23,4 @@ echo "Downloading ${files[*]}"
curl --parallel -L "${files[@]}"
popd
ls -l cache/
ls -lh cache/