Skip to content

Commit b662bab

Browse files
committed
Remove kustomize from deploy-staging
1 parent 731f00b commit b662bab

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/deploy-staging.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,9 @@ jobs:
5252
location: ${{ env.GKE_ZONE }}
5353
credentials: ${{ secrets.GKE_SA_KEY }}
5454

55-
# Set up kustomize
56-
- name: Set up Kustomize
57-
run: |-
58-
curl -sfLo kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64
59-
chmod u+x ./kustomize
60-
6155
# Deploy the Docker image to the GKE cluster
6256
- name: Deploy
6357
run: |-
64-
./kustomize edit set namespace staging
65-
kubectl config set-context --current --namespace=staging
66-
./kustomize edit set image web-editor-app=index.docker.io/$IMAGE:$GITHUB_SHA
67-
./kustomize build . | kubectl apply -f -
68-
kubectl rollout status deployment/$DEPLOYMENT_NAME
58+
kubectl set image deployment/$DEPLOYMENT_NAME web-editor-app=index.docker.io/$IMAGE:$GITHUB_SHA --namespace=staging
6959
kubectl get services -o wide
7060

0 commit comments

Comments
 (0)