Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
arch-boxes
Commits
328fbdc3
Verified
Commit
328fbdc3
authored
Aug 12, 2020
by
Sven-Hendrik Haase
Browse files
Start building cloud-qemu image
parent
da0999a3
Pipeline
#929
canceled with stages
in 25 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
328fbdc3
...
...
@@ -43,7 +43,22 @@ validate-packer:
-
packer validate local.json
-
packer validate cloud.json
build:qemu:
build:cloud-qemu:
stage
:
build
tags
:
-
secure-kvm
before_script
:
-
pacman -Syu --needed --noconfirm packer qemu-headless
script
:
-
packer build -parallel-builds=1 -var 'headless=true' -var 'write_zeroes=yes' -except=sign cloud.json
artifacts
:
name
:
"
cloud-qemu"
paths
:
-
"
release/Arch-Linux-x86_64-cloudimg-*.img"
expire_in
:
2d
resource_group
:
vm-build
build:vagrant-qemu:
stage
:
build
tags
:
-
secure-kvm
...
...
@@ -52,13 +67,12 @@ build:qemu:
script
:
-
packer build -parallel-builds=1 -var 'headless=true' -var 'write_zeroes=yes' -only=qemu local.json
artifacts
:
name
:
"
qemu"
paths
:
-
"
Arch-Linux-x86_64-libvirt-*.box"
expire_in
:
2d
expire_in
:
3h
resource_group
:
vm-build
build:virtualbox:
build:
vagrant-
virtualbox:
stage
:
build
tags
:
-
secure-virtualbox
...
...
@@ -67,10 +81,9 @@ build:virtualbox:
script
:
-
packer build -parallel-builds=1 -var 'headless=true' -var 'write_zeroes=yes' -only=virtualbox-iso local.json
artifacts
:
name
:
"
virtualbox"
paths
:
-
"
Arch-Linux-x86_64-virtualbox-*.box"
expire_in
:
2d
expire_in
:
3h
resource_group
:
vm-build
publish
:
...
...
README.md
View file @
328fbdc3
...
...
@@ -2,8 +2,9 @@
[

](https://gitlab.archlinux.org/archlinux/arch-boxes/-/pipelines)
-
[
Vagrant Cloud
](
https://app.vagrantup.com/archlinux/boxes/archlinux
)
-
[
Browse latest QEMU build artifacts
](
https://gitlab.archlinux.org/archlinux/arch-boxes/-/jobs/artifacts/master/browse?job=build:qemu
)
-
[
Browse latest VirtualBox build artifacts
](
https://gitlab.archlinux.org/archlinux/arch-boxes/-/jobs/artifacts/master/browse?job=build:virtualbox
)
-
[
Download latest qcow2 image
](
https://gitlab.archlinux.org/archlinux/arch-boxes/-/jobs/artifacts/release/download?job=build:cloud-qemu
)
-
[
Browse latest QEMU build artifacts
](
https://gitlab.archlinux.org/archlinux/arch-boxes/-/jobs/artifacts/release/browse?job=build:vagrant-qemu
)
-
[
Browse latest VirtualBox build artifacts
](
https://gitlab.archlinux.org/archlinux/arch-boxes/-/jobs/artifacts/release/browse?job=build:vagrant-virtualbox
)
Arch-boxes provides automated builds of the Arch Linux releases for
different providers and post-processors. Check the providers or post-processor sections if you want to know
...
...
cloud.json
View file @
328fbdc3
...
...
@@ -69,13 +69,20 @@
"checksum_types"
:
[
"sha256"
],
"output"
:
"Arch-Linux-cloudimg-amd64-{{isotime
\"
2006-01-02
\"
}}.SHA256"
"output"
:
"
release/
Arch-Linux-cloudimg-amd64-{{isotime
\"
2006-01-02
\"
}}.SHA256"
},
{
"name"
:
"rename"
,
"type"
:
"shell-local"
,
"inline"
:
[
"mv release/packer-Arch-Linux-cloudimg-amd64-{{isotime
\"
2006-01-02
\"
}}.img release/Arch-Linux-cloudimg-amd64-{{isotime
\"
2006-01-02
\"
}}.img"
,
"sed -i 's/packer-//' Arch-Linux-cloudimg-amd64-{{isotime
\"
2006-01-02
\"
}}.SHA256"
,
"sed -i 's/packer-//' Arch-Linux-cloudimg-amd64-{{isotime
\"
2006-01-02
\"
}}.SHA256"
]
},
{
"name"
:
"sign"
,
"type"
:
"shell-local"
,
"inline"
:
[
"gpg --sign --detach-sign Arch-Linux-cloudimg-amd64-{{isotime
\"
2006-01-02
\"
}}.SHA256"
]
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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