1 | # Debian bullseye has podman
|
2 | #image: debian/bullseye
|
3 | image: debian/bookworm
|
4 | packages:
|
5 | # for running soil on the host
|
6 | #- python2
|
7 | - python3
|
8 | - time
|
9 | - zip
|
10 | # podman and its missing dependencies
|
11 | - podman
|
12 | - uidmap
|
13 | - slirp4netns
|
14 | # more space efficient than default storage driver
|
15 | # TODO: replace with native-overlayfs when kernel is available
|
16 | - fuse-overlayfs
|
17 |
|
18 | secrets:
|
19 | - 839206d4-55e5-4840-8b1f-867dc3ac622e
|
20 |
|
21 | tasks:
|
22 | - mount-perms: |
|
23 | cd oil
|
24 | soil/host-shim.sh mount-perms $PWD
|
25 |
|
26 | - dummy: |
|
27 | cd oil
|
28 | soil/host-shim.sh run-job-uke podman $PWD dummy
|
29 |
|
30 | # Relies on SSH key, so do it outside the container
|
31 | - publish-dummy: |
|
32 | cd oil
|
33 | soil/sourcehut.sh publish-html-assuming-ssh-key dummy
|
34 |
|
35 | - job-reset-1: |
|
36 | cd oil
|
37 | soil/host-shim.sh job-reset
|
38 |
|
39 | - pea: |
|
40 | cd oil
|
41 | soil/host-shim.sh run-job-uke podman $PWD pea
|
42 |
|
43 | - publish-pea: |
|
44 | cd oil
|
45 | soil/sourcehut.sh publish-html-assuming-ssh-key pea
|
46 |
|
47 | - job-reset-2: |
|
48 | cd oil
|
49 | soil/host-shim.sh job-reset
|
50 |
|
51 | - cpp-small: |
|
52 | cd oil
|
53 | soil/host-shim.sh run-job-uke podman $PWD cpp-small
|
54 |
|
55 | - publish-cpp-small: |
|
56 | cd oil
|
57 | soil/sourcehut.sh publish-html-assuming-ssh-key cpp-small
|
58 |
|
59 | # - cpp-coverage: |
|
60 | # cd oil
|
61 | # soil/host-shim.sh run-job-uke podman $PWD cpp-coverage
|
62 | #
|
63 | # - publish-cpp-coverage: |
|
64 | # cd oil
|
65 | # soil/sourcehut.sh publish-html-assuming-ssh-key
|
66 | #
|
67 | # - job-reset-2: |
|
68 | # cd oil
|
69 | # soil/host-shim.sh job-reset
|
70 |
|
71 |
|
72 | - did-all-succeed: |
|
73 | cd oil
|
74 | soil/host-shim.sh did-all-succeed dummy pea cpp-small
|
75 | #soil/host-shim.sh did-all-succeed pea cpp-coverage dummy
|