Skip to content

Commit

Permalink
add env
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal committed Oct 12, 2023
1 parent b2b2d97 commit 6c4c321
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ jobs:
eksctl_version: ${{ inputs.eksctl_version }}
ip_family: ${{ inputs.suite == 'IPv6' && 'IPv6' || 'IPv4' }} # Set the value to IPv6 if IPv6 suite, else IPv4
git_ref: ${{ inputs.git_ref }}
- name: get cluster endpoint
run: |
CLUSTER_ENDPOINT="$(aws eks describe-cluster --name ${{ env.CLUSTER_NAME }} --query "cluster.endpoint" --output text)"
echo CLUSTER_ENDPOINT=$CLUSTER_ENDPOINT >> $GITHUB_ENV
- name: install prometheus
uses: ./.github/actions/e2e/install-prometheus
with:
Expand All @@ -131,7 +135,7 @@ jobs:
- name: run the ${{ inputs.suite }} test suite
run: |
aws eks update-kubeconfig --name ${{ env.CLUSTER_NAME }}
TEST_SUITE="${{ inputs.suite }}" ENABLE_METRICS=${{ inputs.enable_metrics }} METRICS_REGION=${{ vars.TIMESTREAM_REGION }} GIT_REF="$(git rev-parse HEAD)" make e2etests
TEST_SUITE="${{ inputs.suite }}" ENABLE_METRICS=${{ inputs.enable_metrics }} METRICS_REGION=${{ vars.TIMESTREAM_REGION }} GIT_REF="$(git rev-parse HEAD)" CLUSTER_NAME="${{ env.CLUSTER_NAME }}" CLUSTER_ENDPOINT="${{ env.CLUSTER_ENDPOINT }}" INTERRUPTION_QUEUE_NAME="${{ env.CLUSTER_NAME }}" make e2etests
- name: notify slack of success or failure
uses: ./.github/actions/e2e/slack/notify
if: (success() || failure()) && github.event_name != 'workflow_run' && inputs.workflow_trigger != 'conformance'
Expand Down

0 comments on commit 6c4c321

Please sign in to comment.