experimant: show podman info in ci environment
This commit is contained in:
parent
fb15ce6c07
commit
89954d2f19
1 changed files with 20 additions and 14 deletions
|
@ -2,21 +2,27 @@ workspace:
|
||||||
base: /home/sasha
|
base: /home/sasha
|
||||||
path: woodpecker-builds/ttt-org
|
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:
|
steps:
|
||||||
prepare:
|
prepare:
|
||||||
image: bash
|
image: bash
|
||||||
commands:
|
commands:
|
||||||
- systemctl --user stop ttt-org
|
- podman info
|
||||||
- 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
|
|
Loading…
Reference in a new issue