This commit is contained in:
Samuele Locatelli
2023-02-03 15:09:11 +01:00
parent 0e6378fc6c
commit c5658d6ea3
+7 -150
View File
@@ -65,7 +65,6 @@ variables:
# Stages previsti
stages:
- build
# - test
- deploy
- installer
- release
@@ -161,148 +160,6 @@ CONF:build:
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
# WAMON:build:
# stage: build
# tags:
# - win
# variables:
# PROJ_PATH: MP.WASM.Mon\Server
# APP_NAME: MP.WASM.Mon.Server
# SOL_NAME: MP-WAMON
# before_script:
# - *nuget-fix
# - dotnet restore "$env:SOL_NAME.sln"
# script:
# - dotnet build $env:PROJ_PATH/$env:APP_NAME.csproj
# LAND:test:
# stage: test
# tags:
# - win
# variables:
# APP_NAME: MP.Land
# SOL_NAME: MP-LAND
# before_script:
# - *nuget-fix
# - dotnet restore "$env:SOL_NAME.sln"
# only:
# - develop
# needs: ["LAND:build"]
# script:
# - dotnet test $env:APP_NAME/$env:APP_NAME.csproj
# PROG:test:
# stage: test
# tags:
# - win
# variables:
# APP_NAME: MP.Prog
# SOL_NAME: MP-PROG
# before_script:
# - *nuget-fix
# - dotnet restore "$env:SOL_NAME.sln"
# only:
# - develop
# needs: ["PROG:build"]
# script:
# - dotnet test $env:APP_NAME/$env:APP_NAME.csproj
# STAT:test:
# stage: test
# tags:
# - win
# variables:
# APP_NAME: MP.Stats
# SOL_NAME: MP-STATS
# before_script:
# - *nuget-fix
# - dotnet restore "$env:SOL_NAME.sln"
# only:
# - develop
# needs: ["STAT:build"]
# script:
# - dotnet test $env:APP_NAME/$env:APP_NAME.csproj
# MON:test:
# stage: test
# tags:
# - win
# variables:
# APP_NAME: MP.Mon
# SOL_NAME: MP-MON
# before_script:
# - *nuget-fix
# - dotnet restore "$env:SOL_NAME.sln"
# only:
# - develop
# needs: ["MON:build"]
# script:
# - dotnet test $env:APP_NAME/$env:APP_NAME.csproj
# WAMON:test:
# stage: test
# tags:
# - win
# variables:
# PROJ_PATH: MP.WASM.Mon\Server
# APP_NAME: MP.WASM.Mon.Server
# SOL_NAME: MP-WAMON
# before_script:
# - *nuget-fix
# - dotnet restore "$env:SOL_NAME.sln"
# only:
# - develop
# needs: ["WAMON:build"]
# script:
# - dotnet test $env:PROJ_PATH/$env:APP_NAME.csproj
# SPEC:test:
# stage: test
# tags:
# - win
# variables:
# APP_NAME: MP.SPEC
# SOL_NAME: MP-SPEC
# before_script:
# - *nuget-fix
# - dotnet restore "$env:SOL_NAME.sln"
# only:
# - develop
# needs: ["SPEC:build"]
# script:
# - dotnet test $env:APP_NAME/$env:APP_NAME.csproj
# INVE:test:
# stage: test
# tags:
# - win
# variables:
# APP_NAME: MP.INVE
# SOL_NAME: MP-INVE
# before_script:
# - *nuget-fix
# - dotnet restore "$env:SOL_NAME.sln"
# only:
# - develop
# needs: ["INVE:build"]
# script:
# - dotnet test $env:APP_NAME/$env:APP_NAME.csproj
# CONF:test:
# stage: test
# tags:
# - win
# variables:
# APP_NAME: IobConf.UI
# SOL_NAME: IobConf
# before_script:
# - *nuget-fix
# - dotnet restore "$env:SOL_NAME.sln"
# only:
# - develop
# needs: ["CONF:build"]
# script:
# - dotnet test $env:APP_NAME/$env:APP_NAME.csproj
LAND:IIS01:deploy:
stage: deploy
@@ -316,7 +173,7 @@ LAND:IIS01:deploy:
- dotnet restore "$env:SOL_NAME.sln"
only:
- develop
needs: ["LAND:test"]
needs: ["LAND:build"]
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
- dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
@@ -333,7 +190,7 @@ PROG:IIS01:deploy:
- dotnet restore "$env:SOL_NAME.sln"
only:
- develop
needs: ["PROG:test"]
needs: ["PROG:build"]
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
- dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
@@ -350,7 +207,7 @@ STAT:IIS01:deploy:
- dotnet restore "$env:SOL_NAME.sln"
only:
- develop
needs: ["STAT:test"]
needs: ["STAT:build"]
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
- dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
@@ -367,7 +224,7 @@ MON:IIS01:deploy:
- dotnet restore "$env:SOL_NAME.sln"
only:
- develop
needs: ["MON:test"]
needs: ["MON:build"]
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
- dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
@@ -384,7 +241,7 @@ SPEC:IIS01:deploy:
- dotnet restore "$env:SOL_NAME.sln"
only:
- develop
needs: ["SPEC:test"]
needs: ["SPEC:build"]
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
- dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
@@ -401,7 +258,7 @@ INVE:IIS01:deploy:
- dotnet restore "$env:SOL_NAME.sln"
only:
- develop
needs: ["INVE:test"]
needs: ["INVE:build"]
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
- dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
@@ -418,7 +275,7 @@ CONF:IIS01:deploy:
- dotnet restore "$env:SOL_NAME.sln"
only:
- develop
needs: ["CONF:test"]
needs: ["CONF:build"]
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
- dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj