-
Notifications
You must be signed in to change notification settings - Fork 3
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
upgrade libssl3 libcrypto3 to solve CVE-2024-9143 #85
Conversation
bbfd068
to
0478980
Compare
Updates #84 and PORT-11090
0478980
to
029b87a
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
adcd2f2
to
171c3ee
Compare
47d05ec
to
0cee1ce
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
0cee1ce
to
3b2d958
Compare
pb := &port.ResponseBody{} | ||
resp, err := portClient.Client.R(). | ||
SetResult(&pb). | ||
Delete(fmt.Sprintf("v1/blueprints/%s/all-entities?delete_blueprint=false", blueprintIdentifier)) |
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.
In our case we want to delete the blueprint, so it might be more efficient to do it in one call
} | ||
|
||
if !pb.OK { | ||
return fmt.Errorf("failed to delete blueprint, got: %s", resp.Body()) |
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.
delete blueprint entities?
@@ -48,15 +56,19 @@ func (f *Fixture) CleanIntegration() { | |||
|
|||
func deleteDefaultResources(portClient *cli.PortClient, stateKey string) { | |||
_ = integration.DeleteIntegration(portClient, stateKey) | |||
_ = blueprint.DeleteBlueprintEntities(portClient, "workload") |
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.
Consider having one function for DeleteBlueprint, with just a flag to delete all entities
@@ -275,5 +294,7 @@ func Test_InitIntegration_LocalResourcesConfiguration_ExistingIntegration_WithCo | |||
assert.Nil(t, err) | |||
assert.Equal(t, expectedConfig.Resources, i.Config.Resources) | |||
|
|||
testUtils.CheckResourcesExistence(false, f.portClient, f.t, []string{"workload", "namespace", "cluster"}, []string{"workload_overview_dashboard", "availability_scorecard_dashboard"}, []string{}) | |||
testUtils.CheckResourcesExistence(false, false, f.portClient, f.t, []string{"workload", "namespace", "cluster"}, []string{"workload_overview_dashboard", "availability_scorecard_dashboard"}, []string{}) | |||
defer tearDownFixture(t, f) |
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.
Don't you want to defer teardown fixture near its creation, like in other tests?
@@ -63,7 +80,7 @@ func TestPolling_DifferentConfiguration(t *testing.T) { | |||
}) | |||
|
|||
c <- time.Now() | |||
time.Sleep(time.Millisecond * 500) | |||
time.Sleep(time.Millisecond * 1500) |
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.
Any reason why it takes 3 times longer now?
Updates #84
Description
Update dockerfiles to solve CVE-2024-9143
Type of change