-
Notifications
You must be signed in to change notification settings - Fork 94
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
test-e2e: Make KBS opt-in for e2e tests #1722
Conversation
This change make KBS opt-in for e2e tests. For Azure provisioner opt-in for KBS installation. Signed-off-by: Suraj Deshmukh <suraj.deshmukh@microsoft.com>
KBS_IMAGE="${KBS_IMAGE}" | ||
KBS_IMAGE_TAG="${KBS_IMAGE_TAG}" | ||
DEPLOY_KBS="true" |
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.
This is fetched from shell env and not from properties file. Is it required to add it here ?
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.
Yes we can remove this, I confused this as a property coming from the properties file.
shouldDeployKbs = false | ||
shouldDeployKbs := false | ||
if os.Getenv("DEPLOY_KBS") == "true" { | ||
shouldDeployKbs = true |
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.
Also can we shift L121-L124 under this condition if shouldDeployKbs {
on L138 ? It was shifted as part of review but i think we should move this condition down.
789ec85
to
759609f
Compare
Validate kbs image and kbs image tag only when deploy kbs is enabled. Signed-off-by: Kartik Joshi <kartikjoshi@microsoft.com>
759609f
to
3baefc7
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!
govuln checks are addressed in #1728 |
This change make KBS opt-in for e2e tests. For
Azure provisioner opt-in for KBS installation.