Nuova Funzione RotateOldLog e introduzione in CheckGitlabMirroring

This commit is contained in:
marco.locatelli@steamware.net
2025-10-03 11:09:05 +02:00
parent 200fb08bf9
commit 4e73d7c80f
8 changed files with 47 additions and 20 deletions
+8 -4
View File
@@ -12,7 +12,7 @@ $userName = "replica"
#### CONF GITLAB AZZANO ####
#destinazione mirror per azzano
$destinationAzzano = "gitlab-azzano.steamware.net"
#token autenticazione utente replica azzano creato a gennaio 2024, scadenza 31 dicembere 2024
#token autenticazione utente replica azzano
$tokenAzzano = "glpat-tCyVnkDQb3uB_yFywQtK"
#access token per autenticazione gitlab-azzano
$azzanoHead = @{"PRIVATE-TOKEN" = "$($tokenAzzano)" }
@@ -20,7 +20,7 @@ $azzanoHead = @{"PRIVATE-TOKEN" = "$($tokenAzzano)" }
#### CONF GITLAB NEMBRO ####
#destinazione mirror per nembro
$destinationNembro = "gitlab-nembro.steamware.net"
#token autenticazione utente replica nembro creato a gennaio 2024, scadenza 31 dicembere 2024
#token autenticazione utente replica nembro
$tokenNembro = "glpat--9NqsusKLmHdF8z1kU9t"
#access token per autenticazione gitlab-nembro
$nembroHead = @{"PRIVATE-TOKEN" = "$($tokenNembro)" }
@@ -32,8 +32,10 @@ $giteaDestination = "gitea.steamware.net"
$giteaUser = "replica"
#autenticazione replica gitea
$giteaPass = "viadante16"
#token autenticazione utente replica gitea
$tokenGitea = "e6e6944da93bbaf230e4223012035f2cd55d27a6"
#access token per autenticazione gitea da profilo replica
$giteaHead = @{"Authorization" = "token 3619817f299bb3d92c8a8f86d5fddbe877b60ffa" }
$giteaHead = @{"Authorization" = "token $($tokenGitea)" }
#### CONF gogs.steamware.net ####
#destinazione mirror per gogs
@@ -42,8 +44,10 @@ $gogsDestination = "gogs.steamware.net"
$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 bb6d8e9a4d76445e33b12e1664140043fdaa8d87" }
$gogsHead = @{"Authorization" = "token $($tokenGogs)" }
#### CONF LOG ####
#cartella file di log