Skip to content

Commit e6c6526

Browse files
authored
Merge pull request #150 from python-discord/jb3/deployment/infra-repo
Update deployment to use infra repository
2 parents 2f42c64 + fe589c8 commit e6c6526

File tree

2 files changed

+8
-33
lines changed

2 files changed

+8
-33
lines changed

.github/workflows/build-deploy.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,21 +62,24 @@ jobs:
6262
runs-on: ubuntu-latest
6363
if: ${{ github.ref == 'refs/heads/main' }}
6464
steps:
65-
- name: Checkout code
65+
- name: Checkout Kubernetes repository
6666
uses: actions/checkout@v4
67+
with:
68+
repository: python-discord/infra
69+
path: infra
6770

68-
- uses: azure/setup-kubectl@v3
71+
- uses: azure/setup-kubectl@v4
6972

7073
- name: Authenticate with Kubernetes
71-
uses: azure/k8s-set-context@v3
74+
uses: azure/k8s-set-context@v4
7275
with:
7376
method: kubeconfig
7477
kubeconfig: ${{ secrets.KUBECONFIG }}
7578

7679
- name: Deploy to Kubernetes
77-
uses: Azure/k8s-deploy@v4
80+
uses: azure/k8s-deploy@v5
7881
with:
7982
namespace: bots
8083
manifests: |
81-
deployment.yaml
84+
infra/kubernetes/namespaces/bots/metricity/deployment.yaml
8285
images: 'ghcr.io/python-discord/metricity:${{ inputs.sha-tag }}'

deployment.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)