-
Notifications
You must be signed in to change notification settings - Fork 748
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
Create roles by default for e2e test cluster creation #994
Conversation
…fault test. See if commented tests prevent the large download from occurring (and can we move that download to earlier in the process?
…to test-circle-ci
…to test-circle-ci # Conflicts: # scripts/run-integration-tests.sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 😄
Two more changes needed:
- Add env variables that we can override
- Squash commits
Create role when spinning up tester. Change to role create in second field. Insert my own arn. Set create for s3 tester bucket. Create s3 bucket empty name. Revert back to role creation. Region changes from CircleCI environment variable, and comment out default test. See if commented tests prevent the large download from occurring (and can we move that download to earlier in the process? Test polling for available pods. Revert polling solution and skip slow conformance tests.
Autogenerate per-region manifests from a common template in order to prevent drift across versions. Also: Separate in-development (unreleased) manifest changes from the most recent release, by creating a `config/master` directory. The idea is that on each new vX.Y release, we: - copy the latest version of config/master to config/vX.Y - set version = `vX.Y` near top of vX.Y/manifests.jsonnet - re-run `make generate` I have confirmed (using a yaml diff tool) that the generated manifests are identical to latest config/v1.6, except for: - re-ordering of documents within the top-level YAML stream - re-ordering of container `env` array - "v1.6.1" docker tag (intentionally) replaced with "latest" (because this is config/master)
Default to testing upgrades to `config/master` manifests in `run-integration-tests.sh`. Follow-on to aws#986. Correct internal comment re starting version: we test upgrades from whatever version is installed by `eks create cluster`. Also: Switch to shell `${foo:=bar}` idiom to reduce duplication (and chance for typos) in `foo=${foo:-bar}`.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
…-vpc-cni-k8s into test-circle-ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
: ${ROLE_CREATE:=true} | ||
: ${ROLE_ARN:=""} | ||
|
||
# S3 bucket initialization | ||
: ${S3_BUCKET_CREATE:=true} | ||
: ${S3_BUCKET_NAME:=""} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks!
#858
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.