-
Notifications
You must be signed in to change notification settings - Fork 2
/
arch.yaml
38 lines (33 loc) · 808 Bytes
/
arch.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
memory: 512
steps:
- uses: download
if_arch: 'x86_64'
with:
url: https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2
filename: disk.qcow2
attach:
type: disk
- uses: cloud_init_iso
with:
filename: cloud-init.iso
cloud_config: |
disable_root: false
users:
- name: root
ssh_authorized_keys:
- {vagrant_pubkey}
attach:
type: cdrom
- uses: run_console
with:
steps:
- name: Wait for cloud-init
wait: "Cloud-init .{,15} finished at "
- uses: ssh_poweroff
tests:
- name: Pacman version
run: pacman --version
expect: 'Pacman Development Team'
- name: Kernel version
run: uname -a
expect: '^Linux archlinux'