2022-09-06 19:04:08 +00:00
|
|
|
# Si besoin d'executer le before_script manuellement :
|
|
|
|
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
|
2022-02-13 21:49:28 +00:00
|
|
|
before_script:
|
2022-12-13 20:38:58 +00:00
|
|
|
- podman container rm --force podman-privatebin
|
2022-09-03 13:24:34 +00:00
|
|
|
- rm -f ~/.config/systemd/user/container-podman-privatebin.service && systemctl --user daemon-reload
|
2022-12-13 20:38:58 +00:00
|
|
|
- podman volume rm --force privatebin-data
|
|
|
|
- podman volume rm --force privatebin-var-lib-nginx-tmp
|
|
|
|
- podman volume rm --force privatebin-run
|
|
|
|
- podman volume rm --force privatebin-tmp
|
2022-02-13 21:49:28 +00:00
|
|
|
|
|
|
|
privatebin:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- cd podman-privatebin
|
2023-07-29 09:08:44 +00:00
|
|
|
- ./ci_build-images.sh
|
2022-02-13 21:49:28 +00:00
|
|
|
- GARBAYE_PRIVATEBIN_ENV_LISTENPORT=18084 ./05_freshinstall.sh
|
|
|
|
- ./20_enable.sh
|
|
|
|
- ./30_start.sh && sleep 10
|
|
|
|
- ./40_stop.sh
|
|
|
|
- ./70_disable.sh
|
|
|
|
- ./80_destroy.sh
|
|
|
|
- podman volume rm privatebin-data
|
2022-02-14 18:39:55 +00:00
|
|
|
tags:
|
|
|
|
- garbaye
|
|
|
|
- compute
|
|
|
|
- podman
|