2022-02-13 21:49:28 +00:00
|
|
|
before_script:
|
|
|
|
- podman container exists my-privatebin && podman container rm --force my-privatebin
|
|
|
|
- rm -f ~/.config/systemd/user/container-my-privatebin.service && systemctl --user daemon-reload
|
|
|
|
- podman volume exists privatebin-data && podman volume rm privatebin-data
|
|
|
|
- podman volume exists privatebin-var-lib-nginx-tmp && podman volume rm privatebin-var-lib-nginx-tmp
|
|
|
|
- podman volume exists privatebin-run && podman volume rm privatebin-run
|
2022-04-28 18:05:42 +00:00
|
|
|
- podman volume exists privatebin-tmp && podman volume rm privatebin-tmp
|
2022-02-13 21:49:28 +00:00
|
|
|
|
|
|
|
privatebin:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- cd podman-privatebin
|
2022-08-15 08:31:39 +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 rmi $(podman images -a -q -- localhost/privatebin-nginx-fpm-alpine)
|
|
|
|
- podman volume rm privatebin-data
|
2022-02-14 18:39:55 +00:00
|
|
|
tags:
|
|
|
|
- garbaye
|
|
|
|
- compute
|
|
|
|
- podman
|