-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gitlab-ci.yml
48 lines (42 loc) · 1 KB
/
.gitlab-ci.yml
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
39
40
41
42
43
44
45
46
47
48
stages:
- build
- deploy
.setup: &setup
before_script:
# create all loopback devices
- mknod /dev/loop0 -m0660 b 7 0
- mknod /dev/loop1 -m0660 b 7 1
- mknod /dev/loop2 -m0660 b 7 2
- mknod /dev/loop3 -m0660 b 7 3
- mknod /dev/loop4 -m0660 b 7 4
- mknod /dev/loop5 -m0660 b 7 5
- mknod /dev/loop6 -m0660 b 7 6
- mknod /dev/loop7 -m0660 b 7 7
- mknod /dev/loop8 -m0660 b 7 8
- mknod /dev/loop9 -m0660 b 7 9
# install archiso
- pacman --noconfirm -Syu
- pacman --noconfirm -S base base-devel
- pacman --noconfirm -S archiso
default:
stage: build
image: archlinux/base:latest
<<: *setup
script:
- make default
- mv *.iso archlinux-installer.iso
artifacts:
name: "archlinux-installer"
paths:
- archlinux-*.iso
ssh:
stage: build
image: archlinux/base:latest
<<: *setup
script:
- make ssh
- mv *.iso archlinux-installer-ssh.iso
artifacts:
name: "archlinux-installer-ssh"
paths:
- archlinux-*.iso