Verified Commit 328fbdc3 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Start building cloud-qemu image

parent da0999a3
Pipeline #929 canceled with stages
in 25 seconds
......@@ -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:
......
......@@ -2,8 +2,9 @@
[![CI Status](https://gitlab.archlinux.org/archlinux/arch-boxes/badges/master/pipeline.svg)](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
......
......@@ -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"
]
}
......
Markdown is supported
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