Skip to content

Commit

Permalink
TEMP: Set makefiles to custom branch
Browse files Browse the repository at this point in the history
  • Loading branch information
rayangler committed Sep 21, 2023
1 parent 316eece commit 104e7dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ USER docsworker-xlarge
WORKDIR ${WORK_DIRECTORY}

# get shared.mk
RUN curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/meta/makefiles/shared.mk -o shared.mk
RUN curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/DOP-3723-meta/makefiles/shared.mk -o shared.mk

# install snooty frontend and docs-tools
RUN git clone -b v${SNOOTY_FRONTEND_VERSION} --depth 1 https://github.com/mongodb/snooty.git \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.enhanced
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ USER docsworker-xlarge
WORKDIR ${WORK_DIRECTORY}

# get shared.mk
RUN curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/meta/makefiles/shared.mk -o shared.mk
RUN curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/DOP-3723-meta/makefiles/shared.mk -o shared.mk

# install snooty frontend and docs-tools
RUN git clone -b v${SNOOTY_FRONTEND_VERSION} --depth 1 https://github.com/mongodb/snooty.git \
Expand Down
4 changes: 2 additions & 2 deletions src/job/jobHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ export abstract class JobHandler {
try {
this._logger.info(
this.currJob._id,
`https://raw.githubusercontent.com/mongodb/docs-worker-pool/meta/makefiles/Makefile.${this.currJob.payload.repoName}`
`https://raw.githubusercontent.com/mongodb/docs-worker-pool/DOP-3723-meta/makefiles/Makefile.${this.currJob.payload.repoName}`
);
await this._fileSystemServices.saveUrlAsFile(
`https://raw.githubusercontent.com/mongodb/docs-worker-pool/meta/makefiles/Makefile.${this.currJob.payload.repoName}`,
`https://raw.githubusercontent.com/mongodb/docs-worker-pool/DOP-3723-meta/makefiles/Makefile.${this.currJob.payload.repoName}`,
`repos/${this.currJob.payload.repoName}/Makefile`,
{
encoding: 'utf8',
Expand Down

0 comments on commit 104e7dd

Please sign in to comment.