Skip to content

Commit a062f2c

Browse files
authored
Update dev-build.yml
1 parent 6be93bc commit a062f2c

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

.github/workflows/dev-build.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ on:
1616
branches: [development]
1717

1818
env:
19-
PROJECT_ID: ${{ secrets.GKE_PROJECT }}
20-
GKE_CLUSTER_DEV: nmrxiv-dev
21-
GKE_ZONE: europe-west3-a
2219
DEPLOYMENT_NAME: nmrxiv-nmrium
2320
DOCKER_HUB_USERNAME : ${{ secrets.DOCKER_HUB_USERNAME }}
2421
DOCKER_HUB_PASSWORD : ${{ secrets.DOCKER_HUB_PASSWORD }}
@@ -46,21 +43,6 @@ jobs:
4643
VERSION=${GITHUB_REF//*\/}
4744
echo "export default { version: '$VERSION' };" > src/versionInfo.ts
4845
49-
# Setup gcloud CLI
50-
- name: Setup CLI
51-
uses: google-github-actions/setup-gcloud@94337306dda8180d967a56932ceb4ddcf01edae7
52-
with:
53-
service_account_key: ${{ secrets.GKE_SA_KEY }}
54-
project_id: ${{ secrets.GKE_PROJECT }}
55-
56-
# Get the GKE credentials so we can deploy to the cluster
57-
- name: Get GKE credentials
58-
uses: google-github-actions/[email protected]
59-
with:
60-
cluster_name: ${{ env.GKE_CLUSTER_DEV }}
61-
location: ${{ env.GKE_ZONE }}
62-
credentials: ${{ secrets.GKE_SA_KEY }}
63-
6446
- name: Log in to Docker Hub
6547
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
6648
with:
@@ -78,10 +60,3 @@ jobs:
7860
tags: ${{ env.REPOSITORY_NAMESPACE }}/${{ env.REPOSITORY_NAME }}:dev-latest
7961
username: ${{ env.DOCKER_HUB_USERNAME }}
8062
password: ${{ env.DOCKER_HUB_PASSWORD }}
81-
82-
# Deploy the latest Docker image to the GKE cluster
83-
- name: Deploy
84-
run: |-
85-
kubectl rollout restart deployment/$DEPLOYMENT_NAME
86-
kubectl rollout status deployment/$DEPLOYMENT_NAME --timeout=300s
87-
kubectl get services -o wide

0 commit comments

Comments
 (0)