projects: 256.liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/sites/256.liw.fi/src plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync ambient-driver: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/ambient-ci/ambient-driver pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" git status --ignored git clean -fdx V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' head debian/changelog - action: deb post_plan: - action: dput ambient-web: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/ambient-ci/ambient-web/src/ plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync apt.liw.fi-keyring: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/apt.liw.fi-keyring/git plan: # Note: no auto-incrementing version number for this package - action: deb post_plan: - action: dput cachedir: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/obnam/cachedir pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' head debian/changelog - action: deb post_plan: - action: dput cachedir-doc: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/obnam/cachedir plan: - action: shell shell: | subplot docgen cachedir.subplot -o /workspace/artifacts/cachedir.html post_plan: - action: rsync clab: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/clab/git pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" export CARGO_TARGET_DIR=/workspace/cache subplot codegen clab.subplot -o test.py rm -f test.log if ! python3 test.py --log test.log; then cat test.log exit 1 fi rm -f test.log test.py git status --ignored git clean -fdx V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' head debian/changelog - action: deb post_plan: - action: dput clab-doc: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/clab/git plan: - action: shell shell: | subplot docgen clab.subplot -o /workspace/artifacts/clab.html post_plan: - action: rsync doc.subplot.tech: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/subplot/git pre_plan: - action: cargo_fetch plan: - action: cargo_build - action: shell shell: | # Once # https://gitlab.com/subplot/subplot/-/merge_requests/371 is # merged, use the build-docs script here. output="/workspace/artifacts" # Build Subplot so that we can use it to generate # documentation. PATH="${CARGO_TARGET_DIR:-target}:$PATH" type -all subplot # Build subplots that come with Subplot opts="--resources $(pwd)/src/share" find . -name "*.subplot" | grep -Fv .gitlab/ | while read -r file; do base="$(basename "$file" .subplot)" ( cd "$(dirname "$file")" # shellcheck disable=SC2154 disable=SC2086 if subplot $opts metadata --merciful "$base.subplot" | awk '/^title:/ && NF > 1' | grep .; then subplot $opts docgen --merciful "$base.subplot" -o "$output/$base.html" fi ) done # Build Subplot library documentation. libdocs="$output/libdocs" mkdir -p "$libdocs" find share -name '*.yaml' ! -name template.yaml | while read -r yaml; do dir="$(dirname "$yaml")" md="$dir/$(basename "$yaml" .yaml).md" subplot "--resources=$(pwd)" libdocgen --output "$md" "$yaml" pandoc --standalone --self-contained --toc \ --metadata title="$(basename "$yaml" .yaml)" \ -o "$libdocs/$(basename "$md" .md)".html "$md" done post_plan: - action: rsync ewww: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/ewww/git pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' head debian/changelog git status --ignored git clean -fdx - action: deb post_plan: - action: dput ewww-doc: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/ewww/git plan: - action: shell shell: | subplot docgen ewww.subplot -o /workspace/artifacts/ewww.html post_plan: - action: rsync ewww.liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/ewww/ewww.liw.fi/src plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync extrautils: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/extrautils/git plan: - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' head debian/changelog - action: deb post_plan: - action: dput gtdfh.liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/sites/gtdfh.liw.fi/src plan: - action: shell shell: | make cp gtdfh.html /workspace/artifacts/index.html post_plan: - action: rsync html-page: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/html-page/git pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test jt: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/jt/git pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' head debian/changelog git status --ignored git clean -fdx - action: deb post_plan: - action: dput jt-doc: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/jt/git plan: - action: shell shell: | subplot docgen jt.subplot -o /workspace/artifacts/jt.html post_plan: - action: rsync liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/sites/liw.fi/src plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync noir.liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/sites/noir.liw.fi/src plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync obnam: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/obnam/git pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" export CARGO_TARGET_DIR=/workspace/cache export PATH="/root/.cargo/bin:$PATH" require_cmd() { if ! command -v "$1" >/dev/null; then echo "Need to have $1 installed, but can't find it" 1>&2 return 1 fi } got_cargo_cmd() { cargo "$1" --help >/dev/null } require_cmd rustc require_cmd cc require_cmd cargo require_cmd python3 require_cmd subplot require_cmd summain require_cmd pkg-config # daemonize installation location changed from Debian 10 to 11. require_cmd daemonize || require_cmd /usr/sbin/daemonize got_cargo_cmd fmt && cargo fmt --check subplot docgen obnam.subplot -o /workspace/artifacts/obnam.html subplot codegen obnam.subplot -o test.py rm -f test.log ls -l "$CARGO_TARGET_DIR/debug" python3 test.py --log test.log --env "CARGO_TARGET_DIR=$CARGO_TARGET_DIR" rm -f test.py test.log echo "Everything seems to be in order." - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' head debian/changelog - action: deb post_plan: - action: dput # DISABLED: until the test suite runs without Obnam or its server # installed. # # obnam-benchmark: # image: ~/tmp/ambient/ambient-boot.qcow2 # source: ~/pers/obnam/obnam-benchmark # pre_plan: # - action: cargo_fetch # plan: # - action: rustup_setup # - action: cargo_clippy # - action: cargo_build # - action: cargo_test # - action: shell # shell: | # export PATH="/root/.cargo/bin:$PATH" # ./check --offline # V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" # T="$(date -u "+%Y%m%dT%H%M%S")" # version="$V.ci$T-1" # dch -v "$version" "CI build under Ambient." # dch -r '' # git status --ignored # git clean -fdx # - action: deb obnam.org: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/obnam/obnam.org/src plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync pandoc-filter-diagram: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/pandoc-filter-diagram/git pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build # Don't test: the tests require a version of Pandoc that may not # be available. # - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' head debian/changelog git status --ignored git clean -fdx - action: deb post_plan: - action: dput pathdedup: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/pathdedup/git pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" export PATH="/root/.cargo/bin:$PATH" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' head debian/changelog - action: deb post_plan: - action: dput puomi-doc: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/puomi/git plan: - action: shell shell: | subplot docgen puomi.subplot -o /workspace/artifacts/puomi.html pandoc --standalone --self-contained \ --metadata title="Puomi README" \ README.md -o /workspace/artifacts/README.html pandoc --standalone --self-contained \ --metadata title="Install Puomi" \ install.md -o /workspace/artifacts/install.html post_plan: - action: rsync puomi.liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/puomi/puomi.liw.fi/src plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync radicle: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/radicle/heartwood cache_max_size: 21474836480 pre_plan: - action: cargo_fetch plan: #- action: cargo_fmt - action: cargo_clippy - action: cargo_build # disable tests while they're flaky # - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" export CARGO_TARGET_DIR=/workspace/cache if [ "$(git branch --show-current)" ] != debian; then echo MUST be run with debian as the current branch exit 1 fi export HOME=/root git config --global user.email "liw@liw.fi" git config --global user.name "Lars Wirzenius" git reset --hard git checkout debian git rebase master export PATH="/root/.cargo/bin:$PATH" git status --ignored git reset --hard git clean -fdx V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' - action: deb - action: shell shell: | du -sh /workspace/* post_plan: - action: dput radicle-ci-broker: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/radicle/radicle-ci-broker pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" git status --ignored git clean -fdx V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' - action: deb post_plan: - action: dput radicle-native-ci: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/radicle/radicle-native-ci pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build # Disabled: tests need rad, which isn't installed in the image. # - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" export CARGO_TARGET_DIR=/workspace/cache git status --ignored git clean -fdx V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' - action: deb post_plan: - action: dput riki.liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/riki/riki.liw.fi/src plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync roadmap: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/roadmap/git pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test sshca: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/sshca/git pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' - action: deb post_plan: - action: dput sshca-doc: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/sshca/git plan: - action: shell shell: | subplot docgen sshca.subplot -o /workspace/artifacts/sshca.html post_plan: - action: rsync sshca.liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/sshca/sshca.liw.fi/src plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync # starship: # image: ~/tmp/ambient/ambient-boot.qcow2 # source: ~/pers/starship # pre_plan: # - action: cargo_fetch # plan: # - action: rustup_setup # - action: shell # shell: | # export PATH="/root/.cargo/bin:$PATH" # V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" # T="$(date -u "+%Y%m%dT%H%M%S")" # version="$V.ci$T-1" # dch -v "$version" "CI build under Ambient." # dch -r '' # - action: deb # # post_plan: # # - action: dput subplot: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/subplot/git pre_plan: - action: cargo_fetch plan: # - action: cargo_fmt # - action: cargo_clippy # - action: cargo_build - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" #export PATH="/root/.cargo/bin:$PATH" #export CARGO_TARGET_DIR=/workspace/cache #export CARGO_HOME=/workspace/deps #./check --offline -v #rm -rf test-outputs V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' git status --ignored git clean -fdx - action: deb post_plan: - action: dput subplot-web: image: ~/tmp/ambient/ikiwiki.qcow2 source: ~/pers/subplot/subplot-web/src/ plan: - action: shell shell: | export HOME=/root sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup rm -rf .ikiwiki mkdir .ikiwiki mv /workspace/cache/* .ikiwiki/. ikiwiki --setup ikiwiki.setup --libdir $HOME/.ikiwiki --rebuild --verbose mv .ikiwiki/* /workspace/cache/. post_plan: - action: rsync summain: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/obnam/summain pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' - action: deb post_plan: - action: dput summain-doc: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/obnam/summain plan: - action: shell shell: | subplot docgen summain.subplot -o /workspace/artifacts/summain.html post_plan: - action: rsync v-i-doc: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/v-i/git plan: - action: shell shell: | pandoc --standalone --self-contained \ --metadata title="v-i NEWS" \ NEWS.md -o /workspace/artifacts/NEWS.html pandoc --standalone --self-contained \ --metadata title="v-i README" \ README.md -o /workspace/artifacts/README.html pandoc --standalone --self-contained \ --metadata title="v-i spec file format" \ spec.md -o /workspace/artifacts/spec.html pandoc --standalone --self-contained \ --metadata title="v-i and SSH CA" \ sshca.md -o /workspace/artifacts/sshca.html pandoc --standalone --self-contained \ --metadata title="v-i tutorial" \ tutorial.md -o /workspace/artifacts/tutorial.html post_plan: - action: rsync v-i.liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/v-i/v-i.liw.fi/src plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync vmadm: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/vmadm/git pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' - action: deb post_plan: - action: dput vmadm-doc: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/vmadm/git plan: - action: shell shell: | subplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html post_plan: - action: rsync vmadm.liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/vmadm/vmadm.liw.fi/src plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync vmdb2: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/vmdb2/git plan: - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" mkdir debian git archive debian/unstable | tar -C debian -xf - V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' head debian/changelog - action: deb post_plan: - action: dput vmdb2-manual: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/vmdb2/git plan: - action: shell shell: | ./format.sh cp vmdb2.html /workspace/artifacts/index.html post_plan: - action: rsync vmdb2.liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/vmdb2/vmdb2.liw.fi/src plan: - action: shell shell: | sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync wumpus-hunter: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/radicle/wumpus pre_plan: - action: cargo_fetch plan: - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: cargo_test - action: shell shell: | export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' - action: deb post_plan: - action: dput