From 89954d2f198fbb27fa527f79097345e245ad7657 Mon Sep 17 00:00:00 2001 From: Late Night Defender Date: Sun, 19 Nov 2023 20:05:44 +0700 Subject: [PATCH] experimant: show podman info in ci environment --- .woodpecker.yml | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 6e4f43f..faec988 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,21 +2,27 @@ workspace: base: /home/sasha path: woodpecker-builds/ttt-org +# steps: +# prepare: +# image: bash +# commands: +# - systemctl --user stop ttt-org +# - cp ttt-org.container /home/sasha/.config/containers/systemd + +# container-build: +# image: bash +# commands: +# - sed -i "s/DATE/$(date -I)/g" index.html +# - sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html +# - podman build -t ttt-org . + +# container-deploy: +# image: bash +# commands: +# - systemctl --user start ttt-org + steps: prepare: image: bash commands: - - systemctl --user stop ttt-org - - cp ttt-org.container /home/sasha/.config/containers/systemd - - container-build: - image: bash - commands: - - sed -i "s/DATE/$(date -I)/g" index.html - - sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html - - podman build -t ttt-org . - - container-deploy: - image: bash - commands: - - systemctl --user start ttt-org + - podman info \ No newline at end of file