Verified Commit 3183086e authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Add separate publish stage

parent 072caa3d
Pipeline #837 passed with stages
in 20 minutes and 25 seconds
......@@ -4,6 +4,7 @@ default:
stages:
- lint
- build
- publish
shellcheck:
stage: lint
......@@ -50,4 +51,14 @@ build:
before_script:
- pacman -Syu --needed --noconfirm qemu-headless virtualbox packer
script:
packer build -parallel-builds=1 -var 'vagrant_cloud_token=${VAGRANT_API_TOKEN}'-var 'headless=true' -var 'write_zeroes=yes' -except=vmware-iso vagrant.json
packer build -parallel-builds=1 -var 'headless=true' -var 'write_zeroes=yes' -except=vmware-iso local.json
publish:
stage: publish
tags:
- secure-kvm
- secure-virtualbox
before_script:
- pacman -Syu --needed --noconfirm qemu-headless virtualbox packer
script:
packer build -parallel-builds=1 -var "vagrant_cloud_token=$VAGRANT_API_TOKEN" -var 'headless=true' -var 'write_zeroes=yes' -except=vmware-iso vagrant.json
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment