Skip to content

Commit

Permalink
[feat] upgrade helm charts
Browse files Browse the repository at this point in the history
[feat] implement running test in ci-cd
  • Loading branch information
wirwolf committed Nov 24, 2023
1 parent 06cac20 commit af1a4cc
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/npm-build-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,31 @@ jobs:
needs: [build]
steps:
- uses: actions/checkout@v3

- name: Install helm and kubectl
run: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
kubectl completion bash > /etc/bash_completion.d/kubectl
kubectl version --client
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
helm completion bash > /etc/bash_completion.d/helm
helm version
helm plugin install https://github.com/helm-unittest/helm-unittest.git
- uses: actions/download-artifact@v3
with:
name: helm-assistant-linux-amd64
path: .

- name: Start minikube
uses: medyagh/setup-minikube@master

- name: Try the cluster !
run: kubectl get pods -A
# - name: Start minikube
# uses: medyagh/setup-minikube@master
#
# - name: Try the cluster !
# run: kubectl get pods -A

- name: Run test -> deploy_worker
run: |
Expand Down

0 comments on commit af1a4cc

Please sign in to comment.