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

27 lines
872 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-12-13 20:38:58 +00:00
- 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
2022-12-13 20:38:58 +00:00
- podman volume rm --force podman-gitea_gitea-data
- podman volume rm --force podman-gitea_gitea-pgsql
2022-05-26 19:00:27 +00:00
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