Skip to content

Commit

Permalink
chore(deploy-agent.yaml): rename integration test job from "Integrati…
Browse files Browse the repository at this point in the history
…on Test" to "Integration Test Preview"

feat(deploy-agent.yaml): add integration test job for production environment
  • Loading branch information
chronark committed Sep 3, 2023
1 parent 087194d commit 90bb431
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/deploy-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

integration_test_preview:
name: Integration Test
name: Integration Test Preview
runs-on: ubuntu-latest
needs:
- deploy_preview
Expand All @@ -103,7 +103,7 @@ jobs:
uses: stepci/stepci@main
with:
workflow: "apps/agent/e2e/workflow.json"
envs: "baseUrl=${{ secrets.PREVIEW_BASE_URL }} apiId=${{secrets.PREVIEW_API_ID}}"
envs: "baseUrl=${{ env.PREVIEW_BASE_URL }} apiId=${{env.PREVIEW_API_ID}}"
secrets: "rootKey=${{ secrets.PREVIEW_ROOT_KEY }}"


Expand Down Expand Up @@ -143,3 +143,16 @@ jobs:



integration_test_production:
name: Integration Test Production
runs-on: ubuntu-latest
needs:
- deploy_production
steps:
- uses: actions/checkout@v3
- name: Step CI Action
uses: stepci/stepci@main
with:
workflow: "apps/agent/e2e/workflow.json"
envs: "baseUrl=${{ env.PRODUCTION_BASE_URL }} apiId=${{env.PRODUCTION_API_ID}}"
secrets: "rootKey=${{ secrets.PRODUCTION_ROOT_KEY }}"

0 comments on commit 90bb431

Please sign in to comment.