From 91e8aeb834905b89a0de24f20bf1a52ae9614ad5 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 9 Jan 2024 20:05:49 +0200 Subject: ambient.yaml: add sshca Signed-off-by: Lars Wirzenius Sponsored-by: author --- ambient.yaml | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/ambient.yaml b/ambient.yaml index ee38636..36622b2 100644 --- a/ambient.yaml +++ b/ambient.yaml @@ -1,5 +1,27 @@ projects: + sshca: + image: ~/tmp/ambient/ambient-boot.qcow2 + source: ~/pers/sshca/git + publish_artifacts: true + 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" + + 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 + subplot-libdocs: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/subplot/git @@ -280,21 +302,6 @@ projects: # - action: cargo_test # - action: deb -# - image: ~/tmp/ambient/ambient-boot.qcow2 -# source: ~/pers/sshca/git -# publish_artifacts: true -# pre_plan: -# - action: cargo_fetch -# plan: -# - action: rustup_setup -# - action: cargo_clippy -# - action: cargo_build -# - action: cargo_test -# - action: shell -# shell: | -# git clean -fdx -# - action: deb - # - image: ~/tmp/ambient/ambient-boot.qcow2 # source: ~/pers/pathdedup/git # publish_artifacts: true -- cgit v1.2.1