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
32b56003
Verified
Commit
32b56003
authored
Aug 16, 2020
by
Sven-Hendrik Haase
Browse files
Move around cloudimg output locations
parent
08b391b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
32b56003
...
...
@@ -3,4 +3,5 @@ packer_cache/
*.swp
output-*
.vscode
release/
*.SHA256
*.qcow2
.gitlab-ci.yml
View file @
32b56003
...
...
@@ -28,7 +28,7 @@ validate-packer:
before_script
:
-
pacman -Syu --needed --noconfirm packer
script
:
-
packer validate -var "iso_checksum_url=https://mirror.pkgbuild.com/iso/latest/sha1sums.txt" -except=
vagrant-cloud
vagrant.json
-
packer validate -var "iso_checksum_url=https://mirror.pkgbuild.com/iso/latest/sha1sums.txt" -except=
publish
vagrant.json
-
packer validate cloud.json
# Note: We explicitly need the `ipv6` tag here because otherwise we'd get random
...
...
@@ -44,7 +44,7 @@ build:cloud-qemu:
artifacts
:
name
:
"
qcow2"
paths
:
-
"
release/
Arch-Linux-x86_64-cloudimg-*.
qcow2
"
-
"
Arch-Linux-x86_64-cloudimg-*.
*
"
expire_in
:
2d
build:vagrant-qemu:
...
...
cloud.json
View file @
32b56003
...
...
@@ -10,11 +10,9 @@
},
"builders"
:
[
{
"name"
:
"Arch-Linux-x86_64-cloudimg-{{isotime
\"
2006-01-02
\"
}}.qcow2"
,
"type"
:
"qemu"
,
"cpus"
:
2
,
"memory"
:
1024
,
"output_directory"
:
"release"
,
"boot_wait"
:
"{{user `boot_wait`}}"
,
"http_directory"
:
"http"
,
"disk_size"
:
"{{user `disk_size`}}"
,
...
...
@@ -26,7 +24,7 @@
"ssh_port"
:
22
,
"ssh_timeout"
:
"2000s"
,
"shutdown_command"
:
"sudo systemctl poweroff"
,
"v
nc_bind_address"
:
"0.0.0.0
"
,
"v
m_name"
:
"Arch-Linux-x86_64-cloudimg-{{isotime
\"
2006-01-02
\"
}}.qcow2
"
,
"headless"
:
"{{user `headless`}}"
,
"accelerator"
:
"{{user `accelerator`}}"
,
"disk_compression"
:
true
,
...
...
@@ -51,21 +49,20 @@
],
"post-processors"
:
[
[
{
"type"
:
"checksum"
,
"checksum_types"
:
[
"sha256"
],
"output"
:
"release/Arch-Linux-x86_64-cloudimg-{{isotime
\"
2006-01-02
\"
}}.SHA256"
},
{
"name"
:
"rename"
,
"type"
:
"shell-local"
,
"inline"
:
[
"mv release/packer-Arch-Linux-x86_64-cloudimg-{{isotime
\"
2006-01-02
\"
}}.qcow2 release/Arch-Linux-x86_64-cloudimg-{{isotime
\"
2006-01-02
\"
}}.qcow2"
,
"sed -i 's/packer-//' release/Arch-Linux-x86_64-cloudimg-{{isotime
\"
2006-01-02
\"
}}.SHA256"
"mv output-qemu/Arch-Linux-x86_64-cloudimg-{{isotime
\"
2006-01-02
\"
}}.qcow2 Arch-Linux-x86_64-cloudimg-{{isotime
\"
2006-01-02
\"
}}.qcow2"
]
},
{
"type"
:
"checksum"
,
"checksum_types"
:
[
"sha256"
],
"output"
:
"Arch-Linux-x86_64-cloudimg-{{isotime
\"
2006-01-02
\"
}}.SHA256"
},
{
"name"
:
"sign"
,
"type"
:
"shell-local"
,
...
...
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