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

27 lines
952 B
YAML

# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script:
- podman pod rm --force pod_podman-gitea
- rm -f ~/.config/systemd/user/pod-podman-gitea.service && systemctl --user daemon-reload
- podman volume rm --force podman-gitea_gitea-data
- podman volume rm --force podman-gitea_gitea-pgsql
gitea:
stage: test
script:
- cd podman-gitea
- ./ci_build-images.sh
- GARBAYE_GITEA_DOMAIN=git.garbaye.fr GARBAYE_GITEA_SMTP_FROM='git-ci@garbaye.fr' GARBAYE_GITEA_POSTGRES_PASSWORD=kejfczEAKjzkejklc GARBAYE_GITEA_ENV_WEBLISTENPORT=18088 GARBAYE_GITEA_ENV_SSHLISTENPORT=12222 ./05_freshinstall.sh
- ./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