Skip to content

Commit bfc9ce4

Browse files
mads-hartmannroboquat
authored andcommitted
Fix path to post-process.sh
1 parent 22ebc57 commit bfc9ce4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export async function deployToPreviewEnvironment(werft: Werft, jobConfig: JobCon
193193
*/
194194
async function deployToDevWithInstaller(werft: Werft, jobConfig: JobConfig, deploymentConfig: DeploymentConfig, workspaceFeatureFlags: string[], dynamicCPULimits, storage) {
195195
// to test this function, change files in your workspace, sideload (-s) changed files into werft or set annotations (-a) like so:
196-
// werft run github -f -j ./.werft/build.yaml -s ./.werft/build.ts -s ./.werft/jobs/build/helm/post-process.sh -a with-clean-slate-deployment=true
196+
// werft run github -f -j ./.werft/build.yaml -s ./.werft/build.ts -s ./.werft/jobs/build/installer/post-process.sh -a with-clean-slate-deployment=true
197197
const { version, destname, namespace, domain, monitoringDomain, url, withObservability, withVM } = deploymentConfig;
198198

199199
// find free ports
@@ -415,7 +415,7 @@ async function deployToDevWithInstaller(werft: Werft, jobConfig: JobConfig, depl
415415
}
416416

417417
const flags = withVM ? "WITH_VM=true " : ""
418-
exec(`${flags}./.werft/jobs/build/helm/post-process.sh ${registryNodePortMeta} ${wsdaemonPortMeta} ${nodepoolIndex} ${deploymentConfig.destname}`, { slice: installerSlices.INSTALLER_POST_PROCESSING });
418+
exec(`${flags}./.werft/jobs/build/installer/post-process.sh ${registryNodePortMeta} ${wsdaemonPortMeta} ${nodepoolIndex} ${deploymentConfig.destname}`, { slice: installerSlices.INSTALLER_POST_PROCESSING });
419419
werft.done(installerSlices.INSTALLER_POST_PROCESSING);
420420
} catch (err) {
421421
if (!jobConfig.mainBuild) {

.werft/jobs/build/installer/post-process.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# 1. generate a config like so: ./installer init > config.yaml
55
# 2. generate a k8s manifest like so: ./installer render -n $(kubens -c) -c config.yaml > k8s.yaml
66
# 3. fake a license and feature file like so: echo "foo" > /tmp/license && echo '"bar"' > /tmp/defaultFeatureFlags
7-
# 4. call this script like so: ./.werft/jobs/build/helm/post-process.sh 1234 5678 2 your-branch-just-dashes
7+
# 4. call this script like so: ./.werft/jobs/build/installer/post-process.sh 1234 5678 2 your-branch-just-dashes
88

99
set -euo pipefail
1010

0 commit comments

Comments
 (0)