Setup preliminare yaml x applicazione CONF

This commit is contained in:
Samuele Locatelli
2022-12-23 15:13:12 +01:00
parent ee3adc7fbd
commit 78b1186383
2 changed files with 28 additions and 0 deletions
+28
View File
@@ -148,6 +148,19 @@ INVE:build:
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
CONF:build:
stage: build
tags:
- win
variables:
APP_NAME: IobConf.UI
SOL_NAME: IobConf
before_script:
- *nuget-fix
- dotnet restore "$env:SOL_NAME.sln"
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
# WAMON:build:
# stage: build
# tags:
@@ -275,6 +288,21 @@ INVE:test:
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
View File