diff --git a/Dockerfile b/Dockerfile index 9b1695f66..7066c11c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,7 +74,7 @@ USER docsworker-xlarge WORKDIR ${WORK_DIRECTORY} # get shared.mk -RUN curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/monorepo-pub-branches/makefiles/shared.mk -o shared.mk +RUN curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/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 \ diff --git a/Dockerfile.enhanced b/Dockerfile.enhanced index 62bda5b0a..d83d9039e 100644 --- a/Dockerfile.enhanced +++ b/Dockerfile.enhanced @@ -74,7 +74,7 @@ USER docsworker-xlarge WORKDIR ${WORK_DIRECTORY} # get shared.mk -RUN curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/monorepo-pub-branches/makefiles/shared.mk -o shared.mk +RUN curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/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 \ diff --git a/src/job/jobHandler.ts b/src/job/jobHandler.ts index 390521d3f..bd9a2a709 100644 --- a/src/job/jobHandler.ts +++ b/src/job/jobHandler.ts @@ -210,7 +210,7 @@ export abstract class JobHandler { ? this.currJob.payload.directory : this.currJob.payload.repoName; await this._fileSystemServices.saveUrlAsFile( - `https://raw.githubusercontent.com/mongodb/docs-worker-pool/monorepo-pub-branches/makefiles/Makefile.${makefileFileName}`, + `https://raw.githubusercontent.com/mongodb/docs-worker-pool/meta/makefiles/Makefile.${makefileFileName}`, `repos/${getDirectory(this.currJob)}/Makefile`, { encoding: 'utf8', diff --git a/tests/unit/job/productionJobHandler.test.ts b/tests/unit/job/productionJobHandler.test.ts index bae49d4e5..b6934df7f 100644 --- a/tests/unit/job/productionJobHandler.test.ts +++ b/tests/unit/job/productionJobHandler.test.ts @@ -120,7 +120,7 @@ describe('ProductionJobHandler Tests', () => { test('Execute throws error when Downloading makefile repo should update status', async () => { jobHandlerTestHelper.fileSystemServices.saveUrlAsFile .calledWith( - `https://raw.githubusercontent.com/mongodb/docs-worker-pool/monorepo-pub-branches/makefiles/Makefile.${jobHandlerTestHelper.job.payload.repoName}` + `https://raw.githubusercontent.com/mongodb/docs-worker-pool/meta/makefiles/Makefile.${jobHandlerTestHelper.job.payload.repoName}` ) .mockImplementation(() => { throw new Error('Error while Downloading makefile');