HedgeDoc CI
This commit is contained in:
parent
2a81f8d1a3
commit
cdff5e2a66
28
podman-hedgedoc/.gitlab-ci.yml
Normal file
28
podman-hedgedoc/.gitlab-ci.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Si besoin d'executer le before_script manuellement :
|
||||
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
|
||||
before_script:
|
||||
- podman pod exists pod_podman-hedgedoc && podman pod rm --force pod_podman-hedgedoc
|
||||
- rm -f ~/.config/systemd/user/pod-podman-hedgedoc.service && systemctl --user daemon-reload
|
||||
- podman volume exists podman-hedgedoc_data && podman volume rm podman-hedgedoc_data
|
||||
- podman volume exists podman-hedgedoc_database && podman volume rm podman-hedgedoc_database
|
||||
- podman volume exists podman-hedgedoc_uploads && podman volume rm podman-hedgedoc_uploads
|
||||
|
||||
hedgedoc:
|
||||
stage: test
|
||||
script:
|
||||
- cd podman-hedgedoc
|
||||
#- ./ci_build-images.sh
|
||||
- GARBAYE_HEDGEDOC_DATABASE_PASSWORD=ChohNiephuD1nec6 GARBAYE_HEDGEDOC_ENV_DOMAIN=localhost ./05_freshinstall.sh
|
||||
- ./20_enable.sh
|
||||
- ./30_start.sh && sleep 10
|
||||
- ./40_stop.sh
|
||||
- ./70_disable.sh
|
||||
- ./80_destroy.sh
|
||||
- podman volume rm podman-hedgedoc_data
|
||||
- podman volume rm podman-hedgedoc_database
|
||||
- podman volume rm podman-hedgedoc_uploads
|
||||
tags:
|
||||
- garbaye
|
||||
- compute
|
||||
- podman
|
||||
- x86_64
|
Loading…
Reference in a new issue