Skip to content

Commit

Permalink
DOP-4401 trying change to next-gen-stage mut prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Feb 26, 2024
1 parent 7292cf8 commit 94df0fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/commands/src/scripts/local-build/utils/create-job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ export function createLocalJob({
newHead: commit.sha,
urlSlug: branchName,
prefix: '',
project: project,
project: 'testingRelease3',
pathPrefix: `${project}/docsworker-xlarge/${branchName}`,
mutPrefix: project,
mutPrefix: 'testingRelease2',
directory: directory,
},
logs: [],
Expand Down
2 changes: 1 addition & 1 deletion src/commands/src/shared/next-gen-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export async function nextGenDeploy({
args: [
'public',
bucket,
`--prefix=${mutPrefix}`,
`--prefix=testinReleaseg4/${mutPrefix}`,
'--deploy',
`--deployed-url-prefix=${url}`,
'--json',
Expand Down
3 changes: 2 additions & 1 deletion src/commands/src/shared/next-gen-stage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ export async function nextGenStage({ job, bucket, url }: StageParams): Promise<C
prefix = `${newHead}/${patchId}/${mutPrefix}`;
hostedAtUrl = `${url}/${newHead}/${patchId}/${mutPrefix}/${DOCS_WORKER_USER}/${branchName}/`;
}
prefix = 'testingRelease1';

commandArgs.push(`--prefix=testingRelease/${prefix}`);
commandArgs.push(`--prefix=${prefix}`);

const repoDir = getRepoDir(job.payload.repoName, job.payload.directory);
try {
Expand Down

0 comments on commit 94df0fd

Please sign in to comment.