| 1 | # Debian Bookworm asserts that the dev setup doesn't depend on Python 2!
 | 
| 2 | # Rather, it builds a Python 2 wedge.
 | 
| 3 | # Doesn't work with Soil right now!
 | 
| 4 | 
 | 
| 5 | image: debian/bookworm
 | 
| 6 |   #image: debian/bullseye
 | 
| 7 | 
 | 
| 8 | packages:
 | 
| 9 |   # for running soil on the host
 | 
| 10 |   - python3
 | 
| 11 |   - time
 | 
| 12 |   - zip
 | 
| 13 |   # podman and its missing dependencies
 | 
| 14 |   - podman
 | 
| 15 |   - uidmap
 | 
| 16 |   - slirp4netns
 | 
| 17 |     # more space efficient than default storage driver
 | 
| 18 |     # TODO: replace with native-overlayfs when kernel is available
 | 
| 19 |   - fuse-overlayfs
 | 
| 20 | 
 | 
| 21 | secrets:
 | 
| 22 |   - 839206d4-55e5-4840-8b1f-867dc3ac622e
 | 
| 23 | 
 | 
| 24 | tasks:
 | 
| 25 |   - dev-setup-debian: |
 | 
| 26 |       cd oil
 | 
| 27 |       soil/worker.sh JOB-dev-setup-debian
 | 
| 28 | 
 | 
| 29 |   - publish-dev-setup-debian: |
 | 
| 30 |       cd oil
 | 
| 31 |       soil/sourcehut.sh publish-html-assuming-ssh-key dev-setup-debian
 | 
| 32 | 
 | 
| 33 |   #- mount-perms: |
 | 
| 34 |   #    cd oil
 | 
| 35 |   #    soil/host-shim.sh mount-perms $PWD
 | 
| 36 | 
 | 
| 37 |   #- dev-minimal: |
 | 
| 38 |   #    cd oil
 | 
| 39 |   #    soil/host-shim.sh run-job-uke podman $PWD dev-minimal
 | 
| 40 | 
 | 
| 41 |   ## Relies on SSH key, so do it outside the container
 | 
| 42 |   #- publish-dev-minimal: |
 | 
| 43 |   #    cd oil
 | 
| 44 |   #    soil/sourcehut.sh publish-html-assuming-ssh-key dev-minimal
 | 
| 45 | 
 | 
| 46 |   # Outside container
 | 
| 47 |   #- job-reset: |
 | 
| 48 |   #    cd oil
 | 
| 49 |   #    soil/host-shim.sh job-reset
 | 
| 50 | 
 | 
| 51 |   #- other-tests: |
 | 
| 52 |   #    cd oil
 | 
| 53 |   #    soil/host-shim.sh run-job-uke podman $PWD other-tests
 | 
| 54 | 
 | 
| 55 |   #- publish-other-tests: |
 | 
| 56 |   #    cd oil
 | 
| 57 |   #    soil/sourcehut.sh publish-html-assuming-ssh-key
 | 
| 58 | 
 | 
| 59 |   #  - did-all-succeed: |
 | 
| 60 |   #      cd oil
 | 
| 61 |   #      soil/host-shim.sh did-all-succeed dev-minimal
 | 
| 62 |   #      #soil/host-shim.sh did-all-succeed dev-minimal other-tests
 |