CI : ajout entete dans les .gitlab-ci.yml pour exécuter manuellement les before_script (nettoyage)

This commit is contained in:
Gitouche 2022-09-06 21:04:08 +02:00
parent 071aa22cf3
commit c902c316ae
7 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,5 @@
# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script: before_script:
- podman pod exists podman-framadate && podman pod rm --force podman-framadate - podman pod exists podman-framadate && podman pod rm --force podman-framadate
- rm -f ~/.config/systemd/user/pod-podman-framadate.service && systemctl --user daemon-reload - rm -f ~/.config/systemd/user/pod-podman-framadate.service && systemctl --user daemon-reload

View file

@ -1,3 +1,4 @@
# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash # sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script: before_script:
- podman pod exists podman-gitea && podman pod rm --force podman-gitea - podman pod exists podman-gitea && podman pod rm --force podman-gitea

View file

@ -1,3 +1,5 @@
# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script: before_script:
- podman pod exists podman-jitsi && podman pod rm --force podman-jitsi - podman pod exists podman-jitsi && podman pod rm --force podman-jitsi
- rm -f ~/.config/systemd/user/pod-podman-jitsi.service && systemctl --user daemon-reload - rm -f ~/.config/systemd/user/pod-podman-jitsi.service && systemctl --user daemon-reload

View file

@ -1,3 +1,4 @@
# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash # sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script: before_script:
- podman pod exists podman-matrix && podman pod rm --force podman-matrix - podman pod exists podman-matrix && podman pod rm --force podman-matrix

View file

@ -1,3 +1,5 @@
# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script: before_script:
- podman container exists podman-peerjs && podman container rm --force podman-peerjs - podman container exists podman-peerjs && podman container rm --force podman-peerjs
- rm -f ~/.config/systemd/user/container-podman-peerjs.service && systemctl --user daemon-reload - rm -f ~/.config/systemd/user/container-podman-peerjs.service && systemctl --user daemon-reload

View file

@ -1,3 +1,5 @@
# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script: before_script:
- podman container exists podman-privatebin && podman container rm --force podman-privatebin - podman container exists podman-privatebin && podman container rm --force podman-privatebin
- rm -f ~/.config/systemd/user/container-podman-privatebin.service && systemctl --user daemon-reload - rm -f ~/.config/systemd/user/container-podman-privatebin.service && systemctl --user daemon-reload

View file

@ -1,3 +1,5 @@
# Si besoin d'executer le before_script manuellement :
# sed -n 's/^ - \(.*\)$/\1/p' .gitlab-ci.yml | bash
before_script: before_script:
- podman pod exists podman-seafile && podman pod rm --force podman-seafile - podman pod exists podman-seafile && podman pod rm --force podman-seafile
- rm -f ~/.config/systemd/user/pod-podman-seafile.service && systemctl --user daemon-reload - rm -f ~/.config/systemd/user/pod-podman-seafile.service && systemctl --user daemon-reload