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 9eeec86
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/npm-build-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,28 @@ jobs:
needs: [build]
steps:
- uses: actions/checkout@v3

- name: Install helm and kubectl
run: |
KUBECTL_VERSION=$(curl -L -s https://dl.k8s.io/release/stable.txt)
HELM_VERSION=$(curl -Ls https://github.com/helm/helm/releases | grep 'href="/helm/helm/releases/tag/v3.[0-9]*.[0-9]*\"' | sed -E 's/.*\/helm\/helm\/releases\/tag\/(v[0-9\.]+)".*/\1/g' | head -1)
sudo wget -O /usr/local/bin/kubectl https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl"
sudo chmod +x /usr/local/bin/kubectl
sudo wget -q https://get.helm.sh/helm-${{ env.HELM_VERSION }}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm
sudo chmod +x /usr/local/bin/helm
- 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 9eeec86

Please sign in to comment.