diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 98300d3..f8c7142 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,15 @@ stages: - triggers +trigger_framadate: + stage: triggers + trigger: + include: podman-framadate/.gitlab-ci.yml + strategy: depend + rules: + - changes: + - podman-framadate/* + trigger_jitsi: stage: triggers trigger: diff --git a/podman-framadate/.gitlab-ci.yml b/podman-framadate/.gitlab-ci.yml new file mode 100644 index 0000000..64e9e95 --- /dev/null +++ b/podman-framadate/.gitlab-ci.yml @@ -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