Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 602d68b

Browse files
authored
DOP-1258 Remove logic that sets path prefix for stagel commit jobs (#441)
1 parent 4d6f6f9 commit 602d68b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RUN /venv/bin/pip install -r https://raw.githubusercontent.com/mongodb/docs-tool
1515

1616
# helper libraries for docs builds
1717
RUN apt-get update && apt-get install -y python3 python3-dev python3-pip
18+
RUN apt-get -y install vim
1819
RUN apt-get -y install git pkg-config libxml2-dev
1920
RUN python3 -m pip install -r https://raw.githubusercontent.com/mongodb/mut/master/requirements.txt
2021
ENV PATH="${PATH}:/home/docsworker-xlarge/.local/bin:/usr/local/lib/python2.7/dist-packages/virtualenv/bin"

worker/jobTypes/githubJob.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ class GitHubJobClass {
7272
}
7373

7474
}
75-
// server staging commit jobs
76-
else if(this.currentJob.payload.patch && this.currentJob.payload.patchType === 'commit'){
77-
pathPrefix = `${repoContent.content.prefix}/${this.currentJob.user}/${this.currentJob.payload.localBranchName}/${server_user}/${this.currentJob.payload.branchName}`;
78-
}
7975
//mut only expects prefix or prefix/version for versioned repos, have to remove server user from staging prefix
8076
if(typeof pathPrefix !== 'undefined' && pathPrefix !== null){
8177
this.currentJob.payload.pathPrefix = pathPrefix;

0 commit comments

Comments
 (0)