Actualiser recuperation_config.sh
This commit is contained in:
parent
d73c93c21c
commit
82a62bfcba
|
@ -6,11 +6,11 @@ CLIENT="SFR" # Exemple de client
|
||||||
BASE_URL="https://repolake.alc-crm.com"
|
BASE_URL="https://repolake.alc-crm.com"
|
||||||
API_URL="$BASE_URL/api/v1"
|
API_URL="$BASE_URL/api/v1"
|
||||||
REPO_NAME=$(hostname)
|
REPO_NAME=$(hostname)
|
||||||
REPO_URL="$BASE_URL/$ORG/$CLIENT/$REPO_NAME.git"
|
REPO_URL="$BASE_URL/$ORG/$REPO_NAME.git"
|
||||||
REPO_PATH="/etc/gitea/CONFIGS/$CLIENT/$REPO_NAME" # Ajusté pour inclure l'organisation correcte
|
REPO_PATH="/etc/gitea/CONFIGS/$REPO_NAME" # Ajusté pour inclure l'organisation correcte
|
||||||
BRANCH="main"
|
BRANCH="main"
|
||||||
TOKEN="434ac97ae9def5ac02024971582e82dd35f89ee0"
|
TOKEN="434ac97ae9def5ac02024971582e82dd35f89ee0"
|
||||||
REPO_URL_TOKEN="https://$TOKEN@repolake.alc-crm.com/$ORG/$CLIENT/$REPO_NAME.git"
|
REPO_URL_TOKEN="https://$TOKEN@repolake.alc-crm.com/$ORG/$REPO_NAME.git"
|
||||||
HOSTNAME=$(hostname)
|
HOSTNAME=$(hostname)
|
||||||
|
|
||||||
echo "Début du script pour $HOSTNAME"
|
echo "Début du script pour $HOSTNAME"
|
||||||
|
|
Loading…
Reference in New Issue