Compare commits

..

5 Commits

Author SHA1 Message Date
Samuele Locatelli a75226fa45 Merge branch 'Release/MyabeFixCiCdPowershellSCript' 2022-11-15 14:55:22 +01:00
Samuele Locatelli c14e04bbfd test fix CI/CD 2022-11-15 14:54:44 +01:00
Samuele Locatelli 97d727f815 Update CI-CD x deploy script ps1 versioni 2022-11-15 14:51:33 +01:00
Samuele Locatelli 771d136a82 Update x forzare chiamata script fix parametri progetto 2022-11-15 14:45:23 +01:00
Samuele Locatelli 0b6d4930ac Merge tag 'SpecFixRedisCacheFluxLog' into develop
Update cache parametri
2022-11-15 14:06:24 +01:00
+11
View File
@@ -24,6 +24,11 @@ variables:
dotnet nuget add source https://nexus.steamware.net/repository/nuget-proxy-v3/index.json -n nexus-proxy-v3 -u nugetUser -p viaDante16 --store-password-in-clear-text
echo "Has Source: $hasSource"
.fixVers: &fixVers
- |
$VersScript = $env:APP_NAME + "\bin\publish\post-build.ps1 -ProjectDir $CI_PROJECT_DIR\$env:APP_NAME -ProjectPath $CI_PROJECT_DIR\$env:APP_NAME\$env:APP_NAME.csproj"
echo "Script called: $VersScript"
# helper creazione hash files x IIS
.hashBuild: &hashBuild
- |
@@ -61,6 +66,7 @@ variables:
mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file "$env:APP_NAME\Resources\manifest.xml" https://nexus.steamware.net/repository/SWS/$env:NEXUS_PATH/$version/LAST/manifest.xml
mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file "$env:APP_NAME\Resources\ChangeLog.html" https://nexus.steamware.net/repository/SWS/$env:NEXUS_PATH/$version/LAST/ChangeLog.html
# Stages previsti
stages:
- build
@@ -463,6 +469,7 @@ LAND:installer:
script:
- dotnet publish -p:PublishProfile=IISProfile.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj -o:publish
# qui il deploy su nexus...
- *fixVers
- *hashBuild
- *nexusUpload
@@ -484,6 +491,7 @@ PROG:installer:
script:
- dotnet publish -p:PublishProfile=IISProfile.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj -o:publish
# qui il deploy su nexus...
- *fixVers
- *hashBuild
- *nexusUpload
@@ -505,6 +513,7 @@ STAT:installer:
script:
- dotnet publish -p:PublishProfile=IISProfile.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj -o:publish
# qui il deploy su nexus...
- *fixVers
- *hashBuild
- *nexusUpload
@@ -526,6 +535,7 @@ MON:installer:
script:
- dotnet publish -p:PublishProfile=IISProfile.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj -o:publish
# qui il deploy su nexus...
- *fixVers
- *hashBuild
- *nexusUpload
@@ -569,6 +579,7 @@ SPEC:installer:
script:
- dotnet publish -p:PublishProfile=IISProfile.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj -o:publish
# qui il deploy su nexus...
- *fixVers
- *hashBuild
- *nexusUpload