Skip to content

Commit

Permalink
log kc provision output on non failure
Browse files Browse the repository at this point in the history
  • Loading branch information
strantalis committed Aug 13, 2024
1 parent 0e38c0e commit 11c6650
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/chart_platform_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ func (suite *PlatformChartIntegrationSuite) TestBasicDeployment() {
dockerRun := exec.Command("docker", "run", "--rm", "--network=platform-k3d", "--add-host=keycloak.opentdf.local:10.255.127.1", "-v", fmt.Sprintf("%s:/keycloak_data.yaml", kcDataPath), "registry.opentdf.io/platform:nightly", "provision", "keycloak-from-config", "-p", kcAdminPass, "-e", "https://keycloak.opentdf.local", "-f", "/keycloak_data.yaml")
dockerRunOutput, err := dockerRun.CombinedOutput()
suite.Require().NoError(err, string(dockerRunOutput))
if err == nil {
suite.T().Log(string(dockerRunOutput))
}

platServiceName := fmt.Sprintf("%s-platform", releaseName)

Expand Down

0 comments on commit 11c6650

Please sign in to comment.