upgrade gitea (nouvelle numérotation)
This commit is contained in:
1 parent
f6e6d8d8ac
commit
19053efea7
2 files changed
+11
-14
No files matched your search
@@ -6,33 +6,29 @@ log = logging.getLogger(__name__)
|
|||||||
|
|
||||||
def run(message, encours):
|
def run(message, encours):
|
||||||
|
|
||||||
script = "gestUser.sh"
|
|
||||||
email_kaz = message["email_kaz"]
|
email_kaz = message["email_kaz"]
|
||||||
|
|
||||||
commandes = []
|
commandes = []
|
||||||
|
|
||||||
if message.get("modifier_mdp", False):
|
if message.get("modifier_mdp", False):
|
||||||
|
script = "/kaz/bin/gestUser.sh"
|
||||||
commandes.append([script, "-r", email_kaz])
|
commandes.append([script, "-r", email_kaz])
|
||||||
|
|
||||||
if message.get("modifier_email_secours", False):
|
if message.get("modifier_email_secours", False):
|
||||||
commandes.append([
|
script = "/kaz/bin/update-ldap-paheko.sh"
|
||||||
script, "-s", email_kaz,
|
commandes.append([ script, "-u", email_kaz, "-s",message["email_secours"] ])
|
||||||
message["email_secours"]
|
|
||||||
])
|
|
||||||
|
|
||||||
if message.get("modifier_tel", False):
|
if message.get("modifier_tel", False):
|
||||||
commandes.append([
|
script = "/kaz/bin/update-ldap-paheko.sh"
|
||||||
script, "-t", email_kaz,
|
commandes.append([ script, "-u", email_kaz, "-m",message["telephone"] ])
|
||||||
message["telephone"]
|
|
||||||
])
|
|
||||||
|
|
||||||
if message.get("modifier_quota", False):
|
if message.get("modifier_quota", False):
|
||||||
commandes.append([
|
script = "/kaz/bin/update-ldap-paheko.sh"
|
||||||
script, "-q", email_kaz,
|
commandes.append([ script, "-u", email_kaz, "-q",message["quota_disque"] ])
|
||||||
str(message["quota_disque"])
|
|
||||||
])
|
|
||||||
|
|
||||||
if message.get("supprimer_membre", False):
|
if message.get("supprimer_membre", False):
|
||||||
|
script = "/kaz/bin/gestUser.sh"
|
||||||
commandes.append([script, "-d", email_kaz])
|
commandes.append([script, "-d", email_kaz])
|
||||||
|
|
||||||
for command in commandes:
|
for command in commandes:
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: gitea/gitea:1.27.3
|
# image: gitea/gitea:1.27.3
|
||||||
|
image: gitea/gitea:28.2.0
|
||||||
container_name: ${gitServName}
|
container_name: ${gitServName}
|
||||||
restart: ${restartPolicy}
|
restart: ${restartPolicy}
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in new issue
Block a user