-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Enable datadog chart EKS E2E tests in CI #1320
Conversation
@@ -1,7 +1,3 @@ | |||
variables: | |||
# Do not modify this - must be the repository name for Kubernetes gitlab runners to run | |||
KUBERNETES_SERVICE_ACCOUNT_OVERWRITE: helm-charts |
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.
# Update awscli v2 | ||
- aws --version | ||
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | ||
- unzip awscliv2.zip | ||
- ./aws/install --update | ||
- aws --version | ||
# Setup AWS Credentials |
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.
Updated test-infra-definitions runner image uses newer awscli v2, so we don't need to update the version in the job
} | ||
} else { | ||
err = fmt.Errorf("could not create Kubernetes client, cluster kubeconfig is nil") | ||
} | ||
} | ||
if err != nil { | ||
t.Skipf("Skipping test. Encountered problem creating or updating E2E stack: %s", err) | ||
t.Errorf("Skipping tests. Encountered problem creating or updating E2E stack: %s", err) |
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.
Make the job fail if there's an issue creating the E2E environment.
What this PR does / why we need it:
Enable Datadog E2E in EKS tests in CI. E2E tests run when a branch is merged to
main
(ignores docs changes). E2E tests can be run manually if a commit is made to a non-main
branch.test-infra-definitions
runner imageTest run: https://gitlab.ddbuild.io/DataDog/helm-charts/-/jobs/436459182
Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
.github/helm-docs.sh
)CHANGELOG.md
has been updatedREADME.md
make update-test-baselines
)