Skip to content

Commit 6c5ef9a

Browse files
geroplroboquat
authored andcommitted
[werft] Print installer config on validation error
1 parent 1fb4a71 commit 6c5ef9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.werft/jobs/build/deploy-to-preview-environment.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ async function deployToDevWithInstaller(werft: Werft, jobConfig: JobConfig, depl
294294
installer.postProcessing(installerSlices.INSTALLER_POST_PROCESSING)
295295
installer.install(installerSlices.APPLY_INSTALL_MANIFESTS)
296296
} catch (err) {
297-
werft.fail(phases.DEPLOY, err)
297+
exec(`cat ${installer.options.installerConfigPath}`, { slice: phases.DEPLOY });
298+
werft.fail(phases.DEPLOY, err);
298299
}
299300

300301
werft.log(installerSlices.DEPLOYMENT_WAITING, "Waiting until all pods are ready.");

0 commit comments

Comments
 (0)