diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-04-13 10:14:53 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-04-13 10:14:53 +0300 |
commit | 97296fdc546e9675ea30612faf4d673dfbd041f7 (patch) | |
tree | 6e957e6ec37e74caba7b766762e25ca151e67980 | |
parent | ecd91a6322cfb70894026b4c7119fa91a8e70e89 (diff) | |
download | liw-dot-files-97296fdc546e9675ea30612faf4d673dfbd041f7.tar.gz |
ambient.yaml: enable and fix the subplot-web project
Also, drop manifesto.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
-rw-r--r-- | ambient.yaml | 66 |
1 files changed, 43 insertions, 23 deletions
diff --git a/ambient.yaml b/ambient.yaml index 7b7dd64..68a3cf6 100644 --- a/ambient.yaml +++ b/ambient.yaml @@ -347,19 +347,6 @@ projects: post_plan: - action: rsync - manifesto.liw.fi: - image: ~/tmp/ambient/ambient-boot.qcow2 - source: ~/sites/manifesto.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 @@ -799,17 +786,26 @@ projects: post_plan: - action: dput - # DISABLED until it no longer requires Pandoc. - # subplot-web: - # image: ~/tmp/ambient/ambient-boot.qcow2 - # source: ~/pers/subplot/subplot-web/src/ - # plan: - # - action: shell - # shell: | - # sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup - # sed -i 's#^destdir:.*#destdir: /workspace/artifacts#' ikiwiki.setup + 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 - # ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose + mv .ikiwiki/* /workspace/cache/. + post_plan: + - action: rsync summain: image: ~/tmp/ambient/ambient-boot.qcow2 @@ -980,3 +976,27 @@ projects: 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 |