summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-01-15 09:03:00 +0200
committerLars Wirzenius <liw@liw.fi>2024-01-15 09:03:00 +0200
commit2d4789238a6cd5333f1a0cdd9da8be0e79fe93b4 (patch)
tree62fee0c4407ba37b6cd36f401bfebb90aaf5a0dc
parentb2382c98170b4773c453f18e70d4c6390b5cf3a5 (diff)
downloadliw-dot-files-2d4789238a6cd5333f1a0cdd9da8be0e79fe93b4.tar.gz
ambient.yaml: add vmdb2 to build a deb
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--ambient.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/ambient.yaml b/ambient.yaml
index e6fd1d4..8daef2f 100644
--- a/ambient.yaml
+++ b/ambient.yaml
@@ -566,6 +566,25 @@ projects:
ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose
+ vmdb2:
+ image: ~/tmp/ambient/ambient-boot.qcow2
+ source: ~/pers/vmdb2/git
+ publish_artifacts: true
+ plan:
+ - action: shell
+ shell: |
+ export PATH="/root/.cargo/bin:$PATH"
+
+ 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 ''
+ - action: deb
+
vmdb2.liw.fi:
image: ~/tmp/ambient/ambient-boot.qcow2
source: ~/pers/vmdb2/vmdb2.liw.fi/src