Skip to content

Commit

Permalink
Merge pull request #8 from tryolabs/ci-cd
Browse files Browse the repository at this point in the history
Add Continuous Deployment GA
  • Loading branch information
pazcuturi authored Jun 28, 2024
2 parents 14b757c + e3a78e2 commit 430a7b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ jobs:
run: gcloud builds submit --region ${{ secrets.GCP_REGION }} --tag ${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/challenge/${{ secrets.GCP_IMAGE_NAME }}:latest

- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/deploy-cloudrun@v0
run: gcloud run deploy ${{ secrets.GCP_IMAGE_NAME }} --image ${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/challenge/${{ secrets.GCP_IMAGE_NAME }}:latest --allow-unauthenticated --region ${{ secrets.GCP_REGION }}

- name: Run Stress Test
run: make stress-test STRESS_URL=${{ steps.deploy.outputs.url }}
run: make stress-test

0 comments on commit 430a7b0

Please sign in to comment.