Skip to content

Commit

Permalink
Disable AWS pager in system tests
Browse files Browse the repository at this point in the history
AWS CLI v2 introduced client-side paging by default. This makes our
tests interactive so we disable it globally by setting this env var to
""
crsimmons committed May 26, 2022
1 parent 5b910ad commit a4ff095
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/tasks/lib/assert-iaas.sh
Original file line number Diff line number Diff line change
@@ -5,6 +5,8 @@ if [ "$IAAS" = "AWS" ]; then
[[ -n "$AWS_SECRET_ACCESS_KEY" ]]
# shellcheck disable=SC2034
region=eu-west-1
# https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-pagination.html#cli-usage-pagination-clientside
export AWS_PAGER=""
elif [ "$IAAS" = "GCP" ]; then
[[ -n "$GOOGLE_APPLICATION_CREDENTIALS_CONTENTS" ]]
# shellcheck disable=SC1091

0 comments on commit a4ff095

Please sign in to comment.