From bd87d3b06545c3aa776e0c5dc4014057804f34c2 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 9 Feb 2024 17:05:40 +0200 Subject: ambient.yaml: build radicle using master+debian branches Signed-off-by: Lars Wirzenius Sponsored-by: author --- ambient.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/ambient.yaml b/ambient.yaml index d5f7e07..b34a6d9 100644 --- a/ambient.yaml +++ b/ambient.yaml @@ -433,6 +433,38 @@ projects: post_plan: - action: rsync + radicle: + image: ~/tmp/ambient/ambient-boot.qcow2 + source: ~/radicle/heartwood + pre_plan: + - action: cargo_fetch + plan: + - action: rustup_setup + # - action: cargo_fmt + # - action: cargo_clippy + # - action: cargo_build +# - action: cargo_test + - action: shell + shell: | + 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 + post_plan: + - action: dput + riki.liw.fi: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/riki/riki.liw.fi/src @@ -677,3 +709,4 @@ projects: ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose post_plan: - action: rsync + -- cgit v1.2.1