Deploy any package version locally
This commit is contained in:
@@ -29,7 +29,7 @@ build-debug:
|
|||||||
- mv ./src/AMWD.Common.AspNetCore/bin/Debug/*.nupkg ./artifacts/
|
- mv ./src/AMWD.Common.AspNetCore/bin/Debug/*.nupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.AspNetCore/bin/Debug/*.snupkg ./artifacts/
|
- mv ./src/AMWD.Common.AspNetCore/bin/Debug/*.snupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.EntityFrameworkCore/bin/Debug/*.nupkg ./artifacts/
|
- mv ./src/AMWD.Common.EntityFrameworkCore/bin/Debug/*.nupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.EntityFrameworkCore/bin/Debug/*.snupkg ./artifacts/
|
- mv ./src/AMWD.Common.EntityFrameworkCore/bin/Debug/*.snupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.MessagePack/bin/Debug/*.nupkg ./artifacts/
|
- mv ./src/AMWD.Common.MessagePack/bin/Debug/*.nupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.MessagePack/bin/Debug/*.snupkg ./artifacts/
|
- mv ./src/AMWD.Common.MessagePack/bin/Debug/*.snupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.Test/bin/Debug/*.nupkg ./artifacts/
|
- mv ./src/AMWD.Common.Test/bin/Debug/*.nupkg ./artifacts/
|
||||||
@@ -41,7 +41,7 @@ build-debug:
|
|||||||
expire_in: 7 days
|
expire_in: 7 days
|
||||||
|
|
||||||
test-debug:
|
test-debug:
|
||||||
stage: test
|
stage: test
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-debug
|
- build-debug
|
||||||
tags:
|
tags:
|
||||||
@@ -64,9 +64,22 @@ test-debug:
|
|||||||
reports:
|
reports:
|
||||||
coverage_report:
|
coverage_report:
|
||||||
coverage_format: cobertura
|
coverage_format: cobertura
|
||||||
path: ./**/coverage.cobertura.xml
|
path: ./**/coverage.cobertura.xml
|
||||||
|
|
||||||
|
|
||||||
|
test-deploy:
|
||||||
|
stage: deploy
|
||||||
|
dependencies:
|
||||||
|
- build-debug
|
||||||
|
- test-debug
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
- lnx
|
||||||
|
- 64bit
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG == null
|
||||||
|
script:
|
||||||
|
- dotnet nuget push -k $BAGET_APIKEY -s https://nuget.home.am-wd.de/v3/index.json artifacts/*.nupkg
|
||||||
|
|
||||||
|
|
||||||
build-release:
|
build-release:
|
||||||
stage: build
|
stage: build
|
||||||
@@ -85,7 +98,7 @@ build-release:
|
|||||||
- mv ./src/AMWD.Common.AspNetCore/bin/Release/*.nupkg ./artifacts/
|
- mv ./src/AMWD.Common.AspNetCore/bin/Release/*.nupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.AspNetCore/bin/Release/*.snupkg ./artifacts/
|
- mv ./src/AMWD.Common.AspNetCore/bin/Release/*.snupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.EntityFrameworkCore/bin/Release/*.nupkg ./artifacts/
|
- mv ./src/AMWD.Common.EntityFrameworkCore/bin/Release/*.nupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.EntityFrameworkCore/bin/Release/*.snupkg ./artifacts/
|
- mv ./src/AMWD.Common.EntityFrameworkCore/bin/Release/*.snupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.MessagePack/bin/Release/*.nupkg ./artifacts/
|
- mv ./src/AMWD.Common.MessagePack/bin/Release/*.nupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.MessagePack/bin/Release/*.snupkg ./artifacts/
|
- mv ./src/AMWD.Common.MessagePack/bin/Release/*.snupkg ./artifacts/
|
||||||
- mv ./src/AMWD.Common.Test/bin/Release/*.nupkg ./artifacts/
|
- mv ./src/AMWD.Common.Test/bin/Release/*.nupkg ./artifacts/
|
||||||
@@ -97,7 +110,7 @@ build-release:
|
|||||||
expire_in: 1 days
|
expire_in: 1 days
|
||||||
|
|
||||||
test-release:
|
test-release:
|
||||||
stage: test
|
stage: test
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-release
|
- build-release
|
||||||
tags:
|
tags:
|
||||||
@@ -123,7 +136,7 @@ test-release:
|
|||||||
path: ./**/coverage.cobertura.xml
|
path: ./**/coverage.cobertura.xml
|
||||||
|
|
||||||
deploy-common:
|
deploy-common:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-release
|
- build-release
|
||||||
- test-release
|
- test-release
|
||||||
@@ -137,8 +150,8 @@ deploy-common:
|
|||||||
- dotnet nuget push -k $BAGET_APIKEY -s https://nuget.am-wd.de/v3/index.json --skip-duplicate artifacts/AMWD.Common.[0-9]*.nupkg
|
- dotnet nuget push -k $BAGET_APIKEY -s https://nuget.am-wd.de/v3/index.json --skip-duplicate artifacts/AMWD.Common.[0-9]*.nupkg
|
||||||
|
|
||||||
deploy-aspnet:
|
deploy-aspnet:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-release
|
- build-release
|
||||||
- test-release
|
- test-release
|
||||||
tags:
|
tags:
|
||||||
@@ -151,7 +164,7 @@ deploy-aspnet:
|
|||||||
- dotnet nuget push -k $BAGET_APIKEY -s https://nuget.am-wd.de/v3/index.json --skip-duplicate artifacts/AMWD.Common.AspNetCore.*.nupkg
|
- dotnet nuget push -k $BAGET_APIKEY -s https://nuget.am-wd.de/v3/index.json --skip-duplicate artifacts/AMWD.Common.AspNetCore.*.nupkg
|
||||||
|
|
||||||
deploy-efcore:
|
deploy-efcore:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-release
|
- build-release
|
||||||
- test-release
|
- test-release
|
||||||
@@ -163,9 +176,9 @@ deploy-efcore:
|
|||||||
- if: $CI_COMMIT_TAG =~ /^efc\/v[0-9.]+/
|
- if: $CI_COMMIT_TAG =~ /^efc\/v[0-9.]+/
|
||||||
script:
|
script:
|
||||||
- dotnet nuget push -k $BAGET_APIKEY -s https://nuget.am-wd.de/v3/index.json --skip-duplicate artifacts/AMWD.Common.EntityFrameworkCore.*.nupkg
|
- dotnet nuget push -k $BAGET_APIKEY -s https://nuget.am-wd.de/v3/index.json --skip-duplicate artifacts/AMWD.Common.EntityFrameworkCore.*.nupkg
|
||||||
|
|
||||||
deploy-msgpack:
|
deploy-msgpack:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-release
|
- build-release
|
||||||
- test-release
|
- test-release
|
||||||
@@ -176,10 +189,10 @@ deploy-msgpack:
|
|||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG =~ /^msgpack\/v[0-9.]+/
|
- if: $CI_COMMIT_TAG =~ /^msgpack\/v[0-9.]+/
|
||||||
script:
|
script:
|
||||||
- dotnet nuget push -k $BAGET_APIKEY -s https://nuget.am-wd.de/v3/index.json --skip-duplicate artifacts/AMWD.Common.MessagePack.*.nupkg
|
- dotnet nuget push -k $BAGET_APIKEY -s https://nuget.am-wd.de/v3/index.json --skip-duplicate artifacts/AMWD.Common.MessagePack.*.nupkg
|
||||||
|
|
||||||
deploy-test:
|
deploy-test:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-release
|
- build-release
|
||||||
- test-release
|
- test-release
|
||||||
|
|||||||
Reference in New Issue
Block a user