From be51449c624d4f0b4f7557522c1237e69bb10efc Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 4 Oct 2022 16:57:56 +0200 Subject: [PATCH] Update YAML x nuovo SDK Ftp --- .gitlab-ci.yml | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e4b8b668..bba601d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -201,6 +201,23 @@ IOB-WIN-NEXT:build: 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.Ftp:build: + stage: build + tags: + - win + variables: + APP_NAME: EgwProxy.Ftp + only: + refs: + - develop + - SDK/Ftp + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' + - *version-fix + 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: @@ -252,9 +269,33 @@ EgwProxy.OsaiCncLib:build: 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' + # -------------------------------- # STAGING: (nuget beta) # -------------------------------- +EgwProxy.Ftp:build:staging: + stage: staging + needs: ["EgwProxy.Ftp:build"] + tags: + - win + variables: + CONFIG: Debug + APP_NAME: EgwProxy.Ftp + only: + refs: + - develop + 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.Debug.nuspec"' + - '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted' + - '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' + EgwProxy.Icoel:build:staging: stage: staging needs: ["EgwProxy.Icoel:build"] @@ -398,6 +439,30 @@ IOB-WIN-NEXT:release: - *hashBuild - *nexusUpload +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 fe387daa-d07c-3207-877e-96c8be1be91b -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"] @@ -472,6 +537,20 @@ EgwProxy.OsaiCncLib:build:release: # -------------------------------- # DocFx # -------------------------------- +EgwProxy.Ftp:docfx: + stage: docfx + needs: ["EgwProxy.Ftp:build"] + tags: + - win + variables: + APP_NAME: EgwProxy.Ftp + only: + - SDK/Ftp + script: + - docfx $env:APP_NAME/docfx.json + - mv $env:APP_NAME/_site "docfx" + - *DocReplica + EgwProxy.Icoel:docfx: stage: docfx needs: ["EgwProxy.Icoel:build"]