Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding in black hole subnets for proxy testing #10355

Merged

Commits on Jul 21, 2020

  1. Creating private subnets without direct external internet access and …

    …updating proxy e2e to use this instead
    
    Using openshift@1b21187 for reference
    
    Populated by running:
    
    for REGION in us-east-1 us-east-2 us-west-1 us-west-2
    do
      COUNT=3
      if test us-west-1 = "${REGION}"
      then
        COUNT=2
      fi
      for INDEX in 1
      do
        NAME="do-not-delete-shared-vpc-blackhole-${INDEX}"
        aws --region "${REGION}" cloudformation create-stack --stack-name "${NAME}" --template-body "$(cat ci-operator/step-registry/ipi/conf/aws/blackholenetwork/blackhole_vpc.yaml)" --parameters "ParameterKey=AvailabilityZoneCount,ParameterValue=${COUNT}" >/dev/null
        aws --region "${REGION}" cloudformation wait stack-create-complete --stack-name "${NAME}"
        SUBNETS="$(aws --region "${REGION}" cloudformation describe-stacks --stack-name "${NAME}" | jq -c '[.Stacks[].Outputs[] | select(.OutputKey | endswith("SubnetIds")).OutputValue | split(",")[]]' | sed "s/\"/'/g")"
        echo "${REGION}_$((INDEX - 1))) subnets=\"${SUBNETS}\";;"
      done
    done
    ewolinetz committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    9b39dd2 View commit details
    Browse the repository at this point in the history