-
Notifications
You must be signed in to change notification settings - Fork 95
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
e2e tests: consolidate azure nightly builds #1993
e2e tests: consolidate azure nightly builds #1993
Conversation
52e4100
to
262654a
Compare
a5f7bef
to
4ab87d2
Compare
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
Thanks @mkulke
@@ -151,7 +151,8 @@ func DoTestCreatePeerPodContainerWithExternalIPAccess(t *testing.T, e env.Enviro | |||
|
|||
func DoTestCreatePeerPodWithJob(t *testing.T, e env.Environment, assert CloudAssert) { | |||
jobName := "job-pi" | |||
job := NewJob(E2eNamespace, jobName) | |||
image := "quay.io/prometheus/busybox:latest" | |||
job := NewJob(E2eNamespace, image, 8, jobName) |
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.
Ordering of arguments is wrong here. Noticed it due to e2e failure
method signature: NewJob(namespace, name string, backoffLimit int32, image string, command ...string)
Several changes for the azure CI workflows and tests are introduced: - A single nightly-build workflow will build a podvm image and then use that image in a test. - A remote-attestation e2e test has been introduced that will only acquire an attestation token from kbs without requesting a secret. - Early exit in the job assertion logic. - Introduced configurable backofflimit for job tests. - Only run the simple pod and remote attestation tests for the time being. - Introduced jitter value in gh workflow matrix to avoid contention for cross-matrix resources (user assigned identity). Signed-off-by: Magnus Kulke <magnuskulke@microsoft.com>
4ab87d2
to
fec4f77
Compare
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
Several changes for the azure CI workflows and tests are introduced:
A single nightly-build workflow will build a podvm image and then use that image in a test.
A remote-attestation e2e test has been introduced that will only acquire an attestation token from kbs without requesting a secret.
Early exit in the job assertion logic.
Introduced configurable backofflimit for job tests.
Only run the simple pod and remote attestation tests for the time being.
Introduced jitter value in gh workflow matrix to avoid contention for cross-matrix resources (user assigned identity).