Matrix : création et suppression du "podman network" #8

Closed
opened 2022-11-07 17:51:09 +00:00 by gitouche · 2 comments
Owner

Afin d'avoir un comportement homogène avec podman-compose, modifier les scripts de matrix(synapse) pour :

Bonus : plus besoin de le gérer dans la CI gitlab. Cette ligne peut être supprimée https://git.garbaye.fr/Garbaye/services-garbaye/src/branch/main/podman-matrix/.gitlab-ci.yml#L5

Afin d'avoir un comportement homogène avec podman-compose, modifier les scripts de matrix(synapse) pour : * Ne pas supprimer le "podman network" dans 80_install.sh https://git.garbaye.fr/Garbaye/services-garbaye/src/branch/main/podman-matrix/80_destroy.sh#L10 * Le créer seulement si il n'existe pas dans 10_install.sh https://git.garbaye.fr/Garbaye/services-garbaye/src/branch/main/podman-matrix/10_install.sh#L26 Bonus : plus besoin de le gérer dans la CI gitlab. Cette ligne peut être supprimée https://git.garbaye.fr/Garbaye/services-garbaye/src/branch/main/podman-matrix/.gitlab-ci.yml#L5
gitouche added the
type:logique-script
label 2022-11-07 20:27:40 +00:00
gitouche added the
priorité:moyenne
label 2022-11-07 20:36:56 +00:00
gitouche added this to the Camp Garbaye 2022 milestone 2022-11-07 20:48:14 +00:00
Author
Owner

Syntaxe qui fonctionnerait pour la ligne 26 :

( podman network exists ${project_name}_default || podman network create ${project_name}_default ) &&

(à valider)

Syntaxe qui fonctionnerait pour la ligne 26 : ``` ( podman network exists ${project_name}_default || podman network create ${project_name}_default ) && ``` (à valider)
Author
Owner
( podman network exists ${project_name}_default || podman network create ${project_name}_default ) &&

Décomposé avec un bloc if, c'est plus propre.
Corrigé dans 9aff0029d1

> ``` > ( podman network exists ${project_name}_default || podman network create ${project_name}_default ) && > ``` Décomposé avec un bloc `if`, c'est plus propre. Corrigé dans 9aff0029d138495a47cbf87fadeb04eb9715f7bb
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Garbaye/services-garbaye#8
No description provided.