services-garbaye/podman-gitea/.gitlab-ci.yml

27 lines
991 B
YAML
Raw Normal View History

# Si besoin d'executer le before_script manuellement :
2022-05-26 19:00:27 +00:00
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script:
2022-11-05 18:55:06 +00:00
- podman pod exists pod_podman-gitea && podman pod rm --force pod_podman-gitea
2022-05-26 19:00:27 +00:00
- rm -f ~/.config/systemd/user/pod-podman-gitea.service && systemctl --user daemon-reload
- podman volume exists podman-gitea_gitea-data && podman volume rm podman-gitea_gitea-data
- podman volume exists podman-gitea_gitea-pgsql && podman volume rm podman-gitea_gitea-pgsql
gitea:
stage: test
script:
- cd podman-gitea
- ./ci_build-images.sh
2022-05-27 11:08:01 +00:00
- GARBAYE_GITEA_POSTGRES_PASSWORD=kejfczEAKjzkejklc GARBAYE_GITEA_ENV_WEBLISTENPORT=18088 GARBAYE_GITEA_ENV_SSHLISTENPORT=12222 ./05_freshinstall.sh
2022-05-26 19:00:27 +00:00
- ./20_enable.sh
- ./30_start.sh && sleep 10
- ./40_stop.sh
- ./70_disable.sh
- ./80_destroy.sh
- podman volume rm podman-gitea_gitea-data
- podman volume rm podman-gitea_gitea-pgsql
tags:
- garbaye
- compute
- podman
- x86_64