Skip to content

Commit

Permalink
chore: run fast post-deployment tests for all envs (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 authored Feb 5, 2024
1 parent d5bbf9a commit d436f90
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/cd-to-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,13 @@ jobs:
elif [[ "${{ github.event.action }}" == "released" ]]; then
DEPLOY_ENV="prod"
fi
# Run fast tests post-deployment
TEST_SELECTOR="fast"
else
DEPLOY_ENV="qa"
# Run all tests post-deployment to QA
TEST_SELECTOR="."
fi
echo "DEPLOY_ENV is $DEPLOY_ENV"
if [[ -n "$DEPLOY_ENV" ]]; then
# Schedule deployment
make DEPLOY_ENV="$DEPLOY_ENV" DEPLOY_TAG=${{ needs.publish.outputs.deploy_tag }} schedule-k8s-deployment
# Schedule post-deployment tests
make DEPLOY_ENV="$DEPLOY_ENV" TEST_SELECTOR="$TEST_SELECTOR" schedule-tests
make DEPLOY_ENV="$DEPLOY_ENV" TEST_SELECTOR="fast" schedule-tests
fi

0 comments on commit d436f90

Please sign in to comment.