This repository was archived by the owner on Aug 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed
Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ jobs:
2222 cd docs-worker-pool
2323 git fetch origin
2424 git checkout origin/integration
25- sudo docker system prune
25+ sudo docker system prune -af
2626 sudo docker build --no-cache --tag integration .
2727 sudo docker stop $(sudo docker ps -a -q)
28- sudo docker build --no-cache --tag stage .
28+ sudo sh rundocker.sh
2929 sudo sh rundocker.sh
3030 '
3131
Original file line number Diff line number Diff line change 2222 cd docker/docs-worker-pool
2323 git fetch origin
2424 git checkout $(git describe --tags)
25- sudo docker system prune
25+ sudo docker system prune -af
2626 sudo docker build --no-cache --tag production .
2727 sudo docker stop $(sudo docker ps -a -q)
2828 sudo sh rundocker.sh
4545 cd docker/docs-worker-pool
4646 git fetch origin
4747 git checkout $(git describe --tags)
48- sudo docker system prune
48+ sudo docker system prune -af
4949 sudo docker build --no-cache --tag production .
5050 sudo docker stop $(sudo docker ps -a -q)
5151 sudo sh rundocker.sh
Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ RUN python3 -m pip install pip==20.2 flit==3.0.0
4242RUN git clone https://github.com/mongodb/snooty-parser.git && \
4343 cd snooty-parser && \
4444 git fetch --tags && \
45- git checkout v0.9.6 && \
45+ git checkout v0.9.7 && \
4646 FLIT_ROOT_INSTALL=1 python3 -m flit install
4747
4848# install snooty front-end
4949RUN git clone https://github.com/mongodb/snooty.git snooty
5050RUN cd snooty && \
5151 git fetch --all && \
52- git checkout v0.9.8 && \
52+ git checkout v0.9.9 && \
5353 npm install && \
5454 git clone https://github.com/mongodb/docs-tools.git docs-tools && \
5555 mkdir -p ./static/images && \
Original file line number Diff line number Diff line change @@ -326,6 +326,11 @@ class GitHubJobClass {
326326 // thus why the series of makefile targets are slightly different btwn prod and staging jobs
327327 if ( this . buildNextGen ( ) && ! isProdDeployJob ) {
328328 commandsToBuild [ commandsToBuild . length - 1 ] = 'make next-gen-html' ;
329+ //tell Gatsby to pull in draft data from CMS
330+ //TODO: this stanza can be removed when devhub is entirely off autobuilder
331+ if ( this . currentJob . payload . repoName === 'devhub-content-integration' ) {
332+ commandsToBuild [ commandsToBuild . length - 1 ] += ` STRAPI_PUBLICATION_STATE=preview` ;
333+ }
329334 }
330335
331336 //check if prod deploy job
You can’t perform that action at this time.
0 commit comments