Compare commits

..
4 Commits
Author SHA1 Message Date
khwezi f3e71aa604 Merge pull request 'Refactored pipeline to use correct template file' (#2) from payments into master
Reviewed-on: #2
2026-06-01 17:53:13 +02:00
Khwezi Mngoma 44632d2f54 Refactored pipeline to use correct template file
continuous-integration/drone/pr Build is passing
2026-06-01 17:52:46 +02:00
khwezi e07cd0e0fd Merge pull request 'First build' (#1) from payments into master
Reviewed-on: #1
2026-06-01 17:42:11 +02:00
Khwezi Mngoma e04a0e5fbe First build
continuous-integration/drone/pr Build is failing
2026-06-01 17:41:50 +02:00
+4 -4
View File
@@ -6,7 +6,7 @@ name: build
steps: steps:
- name: dotnet-build - name: dotnet-build
image: mcr.microsoft.com/dotnet/sdk:10.0 image: mcr.microsoft.com/dotnet/sdk:10.0
commands: commands:
- dotnet restore MidrandBooksApi.slnx - dotnet restore MidrandBooksApi.slnx
- dotnet build MidrandBooksApi.slnx -c Release - dotnet build MidrandBooksApi.slnx -c Release
@@ -82,9 +82,9 @@ steps:
commands: commands:
- mkdir -p $HOME/.kube - mkdir -p $HOME/.kube
- echo "$KUBE_CONFIG" > $HOME/.kube/config - echo "$KUBE_CONFIG" > $HOME/.kube/config
- kubectl apply -f midrandbooks-uat.yml - kubectl apply -f midrandbooksapi-uat.yml
- sleep 10 - sleep 10
- kubectl rollout restart deployment/midrandbooks -n midrandbooks-uat - kubectl rollout restart deployment/midrandbooks-api -n midrandbooksapi-uat
depends_on: depends_on:
- package - package
@@ -105,7 +105,7 @@ steps:
commands: commands:
- mkdir -p $HOME/.kube - mkdir -p $HOME/.kube
- echo "$KUBE_CONFIG" > $HOME/.kube/config - echo "$KUBE_CONFIG" > $HOME/.kube/config
- kubectl apply -f midrandbooks.yml - kubectl apply -f midrandbooks-api.yml
depends_on: depends_on:
- uat - uat