This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Simple Deploy
|
name: Deploy to K3S
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -8,16 +8,22 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install Helm
|
||||||
|
run: |
|
||||||
|
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||||
|
helm version
|
||||||
|
|
||||||
- name: Deploy with Helm
|
- name: Deploy with Helm
|
||||||
run: |
|
run: |
|
||||||
helm upgrade --install cloudforge ./cloudforge-dashboard-helm \
|
helm upgrade --install cloudforge ./cloudforge-dashboard-helm \
|
||||||
-n cloudforge \
|
-n cloudforge \
|
||||||
--create-namespace
|
--create-namespace
|
||||||
|
|
||||||
- name: Verify
|
- name: Verify Deployment
|
||||||
run: |
|
run: |
|
||||||
kubectl rollout status deployment/dashboard-backend -n cloudforge
|
kubectl rollout status deployment/dashboard-backend -n cloudforge -t 300s
|
||||||
Reference in New Issue
Block a user