73 lines
2.8 KiB
PowerShell
73 lines
2.8 KiB
PowerShell
######### FILE DI CONFIGURAZIONE PER SCRIPT API GIT #########
|
|
|
|
#### CONF GITLAB ####
|
|
#access token per autenticazione gitlab da profilo marco.locatelli@egalware.com con scadenza 31 dicembre 2024
|
|
#$gitlabHead2024 = @{"PRIVATE-TOKEN" = "glpat-VjT_SAsBk3s-yWE1LDUF" }
|
|
#access token per autenticazione gitlab da profilo marco.locatelli@egalware.com con scadenza 31 dicembre 2025
|
|
$tokenGitlab = "glpat-AGzz46yrxj7rTjzSVYCH"
|
|
$gitlabHead = @{"PRIVATE-TOKEN" = "$($tokenGitlab)" }
|
|
#nome utente che effettua i mirror push
|
|
$userName = "replica"
|
|
|
|
#### CONF GITLAB AZZANO ####
|
|
#destinazione mirror per azzano
|
|
$destinationAzzano = "gitlab-azzano.steamware.net"
|
|
#token autenticazione utente replica azzano
|
|
#token 2025:$tokenAzzano = "glpat-tCyVnkDQb3uB_yFywQtK"
|
|
|
|
#token autenticazione utente replica azzano Gennaio 2026:
|
|
$tokenAzzano = "glpat-xbCbgalMbPwJ9MDvZTU3rW86MQp1OnAH.01.0w17pjo4t"
|
|
#access token per autenticazione gitlab-azzano
|
|
$azzanoHead = @{"PRIVATE-TOKEN" = "$($tokenAzzano)" }
|
|
|
|
#### CONF GITLAB NEMBRO ####
|
|
#destinazione mirror per nembro
|
|
$destinationNembro = "gitlab-nembro.steamware.net"
|
|
#token autenticazione utente replica nembro
|
|
$tokenNembro = "glpat--9NqsusKLmHdF8z1kU9t"
|
|
#access token per autenticazione gitlab-nembro
|
|
$nembroHead = @{"PRIVATE-TOKEN" = "$($tokenNembro)" }
|
|
|
|
#### CONF gitea-nembro.steamware.net ####
|
|
#destinazione mirror per gitea
|
|
$giteaNembro = "gitea-nembro.steamware.net"
|
|
#nome utente gitea che effettua i mirror push
|
|
$giteaNembroUser = "replica"
|
|
#autenticazione replica gitea
|
|
$giteaNembroPass = "vpsad24068"
|
|
#token autenticazione utente replica gitea
|
|
$tokenGiteaNembro = "c58a2fdf6493bb690e8c39b393e06a121f8a6761"
|
|
#access token per autenticazione gitea da profilo replica
|
|
$giteaNembroHead = @{"Authorization" = "token $($tokenGiteaNembro)" }
|
|
|
|
#### CONF gitea.steamware.net ####
|
|
#destinazione mirror per gitea
|
|
$giteaSteamw = "gitea.steamware.net"
|
|
#nome utente gitea che effettua i mirror push
|
|
$giteaSteamwUser = "replica"
|
|
#autenticazione replica gitea
|
|
$giteaSteamwPass = "viadante16"
|
|
#token autenticazione utente replica gitea
|
|
$tokenGiteaSteamw = "e6e6944da93bbaf230e4223012035f2cd55d27a6"
|
|
#access token per autenticazione gitea da profilo replica
|
|
$giteaSteamwHead = @{"Authorization" = "token $($tokenGiteaSteamw)" }
|
|
|
|
#### CONF gogs.steamware.net ####
|
|
#destinazione mirror per gogs
|
|
$gogsDestination = "gogs.steamware.net"
|
|
#nome utente gogs che effettua i mirror push
|
|
$gogsUser = "replica"
|
|
#password replica gogs
|
|
$gogsPass = "viaDante16!"
|
|
#token autenticazione utente replica gogs
|
|
$tokenGogs = "bb6d8e9a4d76445e33b12e1664140043fdaa8d87"
|
|
#access token per autenticazione gogs da profilo replica
|
|
$gogsHead = @{"Authorization" = "token $($tokenGogs)" }
|
|
|
|
#### CONF LOG ####
|
|
#cartella file di log
|
|
$logFolder = "c:\Steamware\Logs\Gitlab\"
|
|
#livello di log: 0=log sintetico, 1=log errori, 2=log full, 3=log ampolloso
|
|
$logLevel = 3
|
|
#output a terminale: 0=disattivo, 1=abilitato
|
|
$terminalOutput = 1 |