Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
arch-boxes
Commits
3b05a87a
Verified
Commit
3b05a87a
authored
Aug 11, 2020
by
Sven-Hendrik Haase
Browse files
Split up virtualbox and qemu build into separate builds
parent
4af5a23e
Pipeline
#892
passed with stages
in 12 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3b05a87a
...
@@ -43,19 +43,32 @@ validate-packer:
...
@@ -43,19 +43,32 @@ validate-packer:
-
packer validate local.json
-
packer validate local.json
-
packer validate cloud.json
-
packer validate cloud.json
build
:
build:
qemu:
stage
:
build
stage
:
build
tags
:
tags
:
-
secure-kvm
-
secure-kvm
-
secure-virtualbox
before_script
:
before_script
:
-
pacman -Syu --needed --noconfirm qemu-headless
virtualbox packer
-
pacman -Syu --needed --noconfirm
packer
qemu-headless
script
:
script
:
packer build -parallel-builds=1 -var 'headless=true' -var 'write_zeroes=yes' -
except=vmware-iso
local.json
-
packer build -parallel-builds=1 -var 'headless=true' -var 'write_zeroes=yes' -
only=qemu
local.json
artifacts
:
artifacts
:
paths
:
paths
:
-
"
*.box"
-
"
Arch-Linux-x86_64-qemu-
*.box"
-
"
output-qemu"
-
"
output-qemu"
expire_in
:
2d
resource_group
:
vm-build
build:virtualbox:
stage
:
build
tags
:
-
secure-virtualbox
before_script
:
-
pacman -Syu --needed --noconfirm packer virtualbox
script
:
-
packer build -parallel-builds=1 -var 'headless=true' -var 'write_zeroes=yes' -only=virtualbox-iso local.json
artifacts
:
paths
:
-
"
Arch-Linux-x86_64-virtualbox-*.box"
-
"
output-virtualbox-iso"
-
"
output-virtualbox-iso"
expire_in
:
2d
expire_in
:
2d
resource_group
:
vm-build
resource_group
:
vm-build
...
@@ -68,7 +81,7 @@ publish:
...
@@ -68,7 +81,7 @@ publish:
before_script
:
before_script
:
-
pacman -Syu --needed --noconfirm qemu-headless virtualbox packer
-
pacman -Syu --needed --noconfirm qemu-headless virtualbox packer
script
:
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 "vagrant_cloud_token=$VAGRANT_API_TOKEN" -var 'headless=true' -var 'write_zeroes=yes' -except=vmware-iso vagrant.json
only
:
only
:
variables
:
variables
:
-
$SCHEDULED_PUBLISH == "TRUE"
-
$SCHEDULED_PUBLISH == "TRUE"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment