Completata review yaml x pubblicazione

This commit is contained in:
Samuele Locatelli
2024-12-23 14:55:50 +01:00
parent 3be97a9d1d
commit 8f91c33f79
+337 -310
View File
@@ -166,81 +166,81 @@ stages:
# BUILD
# --------------------------------
EgwProxy.Ftp:build:
stage: build
tags:
stage: build
tags:
- win
variables:
variables:
APP_NAME: EgwProxy.Ftp
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
EgwProxy.Icoel:build:
stage: build
tags:
stage: build
tags:
- win
variables:
variables:
APP_NAME: EgwProxy.Icoel
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
EgwProxy.MultiCncLib:build:
stage: build
tags:
stage: build
tags:
- win
variables:
variables:
APP_NAME: EgwProxy.MultiCncLib
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
EgwProxy.OsaiCncLib:build:
stage: build
tags:
stage: build
tags:
- win
variables:
variables:
APP_NAME: EgwProxy.OsaiCncLib
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
EgwProxy.SqlDb:build:
stage: build
tags:
stage: build
tags:
- win
variables:
variables:
APP_NAME: EgwProxy.SqlDb
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
EgwProxy.Gomba:build:
stage: build
tags:
stage: build
tags:
- win
variables:
variables:
APP_NAME: EgwProxy.Gomba
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
@@ -248,14 +248,14 @@ EgwProxy.Gomba:build:
# STAGING: (nuget beta)
# --------------------------------
EgwProxy.Ftp:staging:
stage: staging
needs: ["EgwProxy.Ftp:build"]
tags:
stage: staging
needs: ["EgwProxy.Ftp:build"]
tags:
- win
variables:
variables:
CONFIG: Debug
APP_NAME: EgwProxy.Ftp
rules:
rules:
- if: $CI_COMMIT_BRANCH == 'develop'
changes:
- EgwProxy.Ftp/*
@@ -263,12 +263,12 @@ EgwProxy.Ftp:staging:
- if: $CI_COMMIT_BRANCH == 'SDK/Ftp'
changes:
- EgwProxy.Ftp/*
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
@@ -276,14 +276,14 @@ EgwProxy.Ftp:staging:
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
EgwProxy.Icoel:staging:
stage: staging
needs: ["EgwProxy.Icoel:build"]
tags:
stage: staging
needs: ["EgwProxy.Icoel:build"]
tags:
- win
variables:
variables:
CONFIG: Debug
APP_NAME: EgwProxy.Icoel
rules:
rules:
- if: $CI_COMMIT_BRANCH == 'develop'
changes:
- EgwProxy.Icoel/*
@@ -291,12 +291,12 @@ EgwProxy.Icoel:staging:
- if: $CI_COMMIT_BRANCH == 'SDK/Icoel'
changes:
- EgwProxy.Icoel/*
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
@@ -304,14 +304,14 @@ EgwProxy.Icoel:staging:
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
EgwProxy.MultiCncLib:staging:
stage: staging
needs: ["EgwProxy.MultiCncLib:build"]
tags:
stage: staging
needs: ["EgwProxy.MultiCncLib:build"]
tags:
- win
variables:
variables:
CONFIG: Debug
APP_NAME: EgwProxy.MultiCncLib
rules:
rules:
- if: $CI_COMMIT_BRANCH == 'develop'
changes:
- EgwProxy.MultiCncLib/*
@@ -319,12 +319,12 @@ EgwProxy.MultiCncLib:staging:
- if: $CI_COMMIT_BRANCH == 'SDK/MultiCncLib'
changes:
- EgwProxy.MultiCncLib/*
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
@@ -333,14 +333,14 @@ EgwProxy.MultiCncLib:staging:
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
EgwProxy.OsaiCncLib:staging:
stage: staging
needs: ["EgwProxy.OsaiCncLib:build"]
tags:
stage: staging
needs: ["EgwProxy.OsaiCncLib:build"]
tags:
- win
variables:
variables:
CONFIG: Debug
APP_NAME: EgwProxy.OsaiCncLib
rules:
rules:
- if: $CI_COMMIT_BRANCH == 'develop'
changes:
- EgwProxy.OsaiCncLib/*
@@ -348,12 +348,12 @@ EgwProxy.OsaiCncLib:staging:
- if: $CI_COMMIT_BRANCH == 'SDK/OsaiCnc'
changes:
- EgwProxy.OsaiCncLib/*
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
@@ -362,14 +362,14 @@ EgwProxy.OsaiCncLib:staging:
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
EgwProxy.SqlDb:staging:
stage: staging
needs: ["EgwProxy.SqlDb:build"]
tags:
stage: staging
needs: ["EgwProxy.SqlDb:build"]
tags:
- win
variables:
variables:
CONFIG: Debug
APP_NAME: EgwProxy.SqlDb
rules:
rules:
- if: $CI_COMMIT_BRANCH == 'develop'
changes:
- EgwProxy.SqlDb/*
@@ -377,12 +377,12 @@ EgwProxy.SqlDb:staging:
- if: $CI_COMMIT_BRANCH == 'SDK/SqlDb'
changes:
- EgwProxy.SqlDb/*
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
@@ -390,14 +390,14 @@ EgwProxy.SqlDb:staging:
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
EgwProxy.Gomba:staging:
stage: staging
needs: ["EgwProxy.Gomba:build"]
tags:
stage: staging
needs: ["EgwProxy.Gomba:build"]
tags:
- win
variables:
variables:
CONFIG: Debug
APP_NAME: EgwProxy.Gomba
rules:
rules:
- if: $CI_COMMIT_BRANCH == 'develop'
changes:
- EgwProxy.Gomba/*
@@ -405,12 +405,12 @@ EgwProxy.Gomba:staging:
- if: $CI_COMMIT_BRANCH == 'SDK/Gomba'
changes:
- EgwProxy.Gomba/*
before_script:
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
@@ -418,252 +418,279 @@ EgwProxy.Gomba:staging:
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
# # --------------------------------
# # RELEASE
# # --------------------------------
# EgwProxy.Ftp:build:release:
# stage: release
# needs: ["EgwProxy.Ftp:build"]
# tags:
# - win
# variables:
# CONFIG: Release
# APP_NAME: EgwProxy.Ftp
# only:
# refs:
# - SDK/Ftp
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# - *version-fix
# - *nuspec-fix
# script:
# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
# - '& Remove-Item *.nupkg'
# - '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
# # - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.csproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
# - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
# - '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
# --------------------------------
# RELEASE
# --------------------------------
EgwProxy.Ftp:build:release:
stage: release
needs: ["EgwProxy.Ftp:build"]
tags:
- win
variables:
CONFIG: Release
APP_NAME: EgwProxy.Ftp
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.Ftp/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
# - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.csproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
# EgwProxy.Icoel:build:release:
# stage: release
# needs: ["EgwProxy.Icoel:build"]
# tags:
# - win
# variables:
# CONFIG: Release
# APP_NAME: EgwProxy.Icoel
# only:
# refs:
# - SDK/Icoel
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# - *version-fix
# - *nuspec-fix
# script:
# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
# - '& Remove-Item *.nupkg'
# - '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
# # - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.csproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
# - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
# - '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
EgwProxy.Icoel:build:release:
stage: release
needs: ["EgwProxy.Icoel:build"]
tags:
- win
variables:
CONFIG: Release
APP_NAME: EgwProxy.Icoel
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.Icoel/*
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
# - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.csproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
# EgwProxy.MultiCncLib:build:release:
# stage: release
# needs: ["EgwProxy.MultiCncLib:build"]
# tags:
# - win
# variables:
# CONFIG: Release
# APP_NAME: EgwProxy.MultiCncLib
# only:
# refs:
# - SDK/MultiCnc
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# - *version-fix
# - *nuspec-fix
# script:
# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
# - '& Remove-Item *.nupkg'
# - '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
# # - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.vbproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
# - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
# - '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
EgwProxy.MultiCncLib:build:release:
stage: release
needs: ["EgwProxy.MultiCncLib:build"]
tags:
- win
variables:
CONFIG: Release
APP_NAME: EgwProxy.MultiCncLib
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.MultiCncLib/*
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
# - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.vbproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
# EgwProxy.OsaiCncLib:build:release:
# stage: release
# needs: ["EgwProxy.OsaiCncLib:build"]
# tags:
# - win
# variables:
# CONFIG: Release
# APP_NAME: EgwProxy.OsaiCncLib
# only:
# refs:
# - SDK/OsaiCnc
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# - *version-fix
# - *nuspec-fix
# script:
# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
# - '& Remove-Item *.nupkg'
# - '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
# - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
# - '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
EgwProxy.OsaiCncLib:build:release:
stage: release
needs: ["EgwProxy.OsaiCncLib:build"]
tags:
- win
variables:
CONFIG: Release
APP_NAME: EgwProxy.OsaiCncLib
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.OsaiCncLib/*
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
# EgwProxy.SqlDb:build:release:
# stage: release
# needs: ["EgwProxy.SqlDb:build"]
# tags:
# - win
# variables:
# CONFIG: Release
# APP_NAME: EgwProxy.SqlDb
# only:
# refs:
# - SDK/SqlDb
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# - *version-fix
# - *nuspec-fix
# script:
# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
# - '& Remove-Item *.nupkg'
# - '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
# # - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.csproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
# - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
# - '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
EgwProxy.SqlDb:build:release:
stage: release
needs: ["EgwProxy.SqlDb:build"]
tags:
- win
variables:
CONFIG: Release
APP_NAME: EgwProxy.SqlDb
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.SqlDb/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
# - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.csproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
# EgwProxy.Gomba:build:release:
# stage: release
# needs: ["EgwProxy.Gomba:build"]
# tags:
# - win
# variables:
# CONFIG: Release
# APP_NAME: EgwProxy.Gomba
# only:
# refs:
# - SDK/Gomba
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# - *version-fix
# - *nuspec-fix
# script:
# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
# - '& Remove-Item *.nupkg'
# - '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
# - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
# - '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
EgwProxy.Gomba:build:release:
stage: release
needs: ["EgwProxy.Gomba:build"]
tags:
- win
variables:
CONFIG: Release
APP_NAME: EgwProxy.Gomba
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.Gomba/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *nuspec-fix
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& Remove-Item *.nupkg'
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
# # --------------------------------
# # DocFx
# # --------------------------------
# EgwProxy.Ftp:docfx:
# stage: docfx
# needs: ["EgwProxy.Ftp:build"]
# tags:
# - win
# variables:
# APP_NAME: EgwProxy.Ftp
# only:
# - SDK/Ftp
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# script:
# - docfx $env:APP_NAME/docfx.json
# - mv $env:APP_NAME/_site "docfx"
# - *DocReplica
# --------------------------------
# DocFx
# --------------------------------
EgwProxy.Ftp:docfx:
stage: docfx
needs: ["EgwProxy.Ftp:build"]
tags:
- win
variables:
APP_NAME: EgwProxy.Ftp
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.Ftp/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
script:
- docfx $env:APP_NAME/docfx.json
- mv $env:APP_NAME/_site "docfx"
- *DocReplica
# EgwProxy.Icoel:docfx:
# stage: docfx
# needs: ["EgwProxy.Icoel:build"]
# tags:
# - win
# variables:
# APP_NAME: EgwProxy.Icoel
# only:
# - SDK/Icoel
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# script:
# - docfx $env:APP_NAME/docfx.json
# - mv $env:APP_NAME/_site "docfx"
# - *DocReplica
EgwProxy.Icoel:docfx:
stage: docfx
needs: ["EgwProxy.Icoel:build"]
tags:
- win
variables:
APP_NAME: EgwProxy.Icoel
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.Icoel/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
script:
- docfx $env:APP_NAME/docfx.json
- mv $env:APP_NAME/_site "docfx"
- *DocReplica
# EgwProxy.MultiCncLib:docfx:
# stage: docfx
# needs: ["EgwProxy.MultiCncLib:build"]
# tags:
# - win
# variables:
# APP_NAME: EgwProxy.MultiCncLib
# only:
# - SDK/MultiCnc
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# script:
# - docfx $env:APP_NAME/docfx.json
# - mv $env:APP_NAME/_site "docfx"
# - *DocReplica
EgwProxy.MultiCncLib:docfx:
stage: docfx
needs: ["EgwProxy.MultiCncLib:build"]
tags:
- win
variables:
APP_NAME: EgwProxy.MultiCncLib
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.MultiCncLib/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
script:
- docfx $env:APP_NAME/docfx.json
- mv $env:APP_NAME/_site "docfx"
- *DocReplica
# EgwProxy.OsaiCncLib:docfx:
# stage: docfx
# needs: ["EgwProxy.OsaiCncLib:build"]
# tags:
# - win
# variables:
# APP_NAME: EgwProxy.OsaiCncLib
# only:
# - SDK/OsaiCnc
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# script:
# - docfx $env:APP_NAME/docfx.json
# - mv $env:APP_NAME/_site "docfx"
# - *DocReplica
EgwProxy.OsaiCncLib:docfx:
stage: docfx
needs: ["EgwProxy.OsaiCncLib:build"]
tags:
- win
variables:
APP_NAME: EgwProxy.OsaiCncLib
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.OsaiCncLib/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
script:
- docfx $env:APP_NAME/docfx.json
- mv $env:APP_NAME/_site "docfx"
- *DocReplica
# EgwProxy.SqlDb:docfx:
# stage: docfx
# needs: ["EgwProxy.SqlDb:build"]
# tags:
# - win
# variables:
# APP_NAME: EgwProxy.SqlDb
# only:
# - SDK/SqlDb
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# script:
# - docfx $env:APP_NAME/docfx.json
# - mv $env:APP_NAME/_site "docfx"
# - *DocReplica
EgwProxy.SqlDb:docfx:
stage: docfx
needs: ["EgwProxy.SqlDb:build"]
tags:
- win
variables:
APP_NAME: EgwProxy.SqlDb
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.SqlDb/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
script:
- docfx $env:APP_NAME/docfx.json
- mv $env:APP_NAME/_site "docfx"
- *DocReplica
# EgwProxy.Gomba:docfx:
# stage: docfx
# needs: ["EgwProxy.Gomba:build"]
# tags:
# - win
# variables:
# APP_NAME: EgwProxy.Gomba
# only:
# - SDK/Gomba
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
# script:
# - docfx $env:APP_NAME/docfx.json
# - mv $env:APP_NAME/_site "docfx"
# - *DocReplica
EgwProxy.Gomba:docfx:
stage: docfx
needs: ["EgwProxy.Gomba:build"]
tags:
- win
variables:
APP_NAME: EgwProxy.Gomba
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- EgwProxy.Gomba/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
script:
- docfx $env:APP_NAME/docfx.json
- mv $env:APP_NAME/_site "docfx"
- *DocReplica