Adding framadate to CI

This commit is contained in:
Gitouche 2022-02-12 18:58:32 +01:00
parent caaec86c45
commit 1cc6b38958
2 changed files with 26 additions and 0 deletions

View file

@ -1,6 +1,15 @@
stages: stages:
- triggers - triggers
trigger_framadate:
stage: triggers
trigger:
include: podman-framadate/.gitlab-ci.yml
strategy: depend
rules:
- changes:
- podman-framadate/*
trigger_jitsi: trigger_jitsi:
stage: triggers stage: triggers
trigger: trigger:

View file

@ -0,0 +1,17 @@
before_script:
- podman pod exists podman-framadate && podman pod rm --force podman-framadate
- rm -f ~/.config/systemd/user/pod-podman-framadate.service && systemctl --user daemon-reload
- podman volume exists podman-framadate_framadate-db && podman volume rm podman-framadate_framadate-db
framadate:
stage: test
script:
- cd podman-framadate
- GARBAYE_FRAMADATE_ADMIN_PASSWORD=adlkjsqghen GARBAYE_FRAMADATE_MYSQL_ROOT_PASSWORD=zekjsljgnrxx GARBAYE_FRAMADATE_MYSQL_PASSWORD=azekljqlkcsdql GARBAYE_FRAMADATE_ENV_LISTENPORT=18087 ./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/framadate-app)
- podman volume rm podman-framadate_framadate-db