Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuldeep-knoldus committed Jun 27, 2024
1 parent 167222e commit dfbacb6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ jobs:
- name: Configure Docker for Google Container Registry
run: gcloud auth configure-docker

- name: Install gke-gcloud-auth-plugin
run: |
sudo apt-get update
sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin
- name: Build and push Docker images
run: |
SERVICE_NAMES=$(cat projects-changes-deploy.txt)
Expand All @@ -117,7 +122,8 @@ jobs:
- name: Deploy to GKE
run: |
gcloud container clusters get-credentials blogs-analyzer-cluster --location asia-south1
echo "Getting credentials for cluster ${{ env.CLUSTER_NAME }} in zone ${{ env.REGION }}"
gcloud container clusters get-credentials blogs-analyzer-cluster --region asia-south1 --project gen-lang-client-0999974873
SERVICE_NAMES=$(cat projects-changes-deploy.txt)
echo "Service Names: $SERVICE_NAMES"
for SERVICE_NAME in $(echo $SERVICE_NAMES | tr ',' ' '); do
Expand Down

0 comments on commit dfbacb6

Please sign in to comment.