From 93f45563e00f805acb5012c7e91498573da441d3 Mon Sep 17 00:00:00 2001 From: Sebastien Besson Date: Tue, 12 Sep 2017 16:41:29 +0100 Subject: [PATCH 1/5] Add OMERO-docs job to the devspace This job can be used to review documentation PRs alongside the code PR provided that the same development branch exists on the documentation repository. --- home/jobs/OMERO-docs/config.xml | 81 +++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 home/jobs/OMERO-docs/config.xml diff --git a/home/jobs/OMERO-docs/config.xml b/home/jobs/OMERO-docs/config.xml new file mode 100644 index 00000000..dd4c2005 --- /dev/null +++ b/home/jobs/OMERO-docs/config.xml @@ -0,0 +1,81 @@ + + + + + false + + + + -1 + -1 + -1 + 2 + + + + + + MERGE_COMMAND + + merge SPACENAME --no-ask --reset + + + + + + 2 + + + https://github.com/openmicroscopy/ome-documentation + + + + + SPACEBRANCH + + + false + + + + + src + + + + + testintegration + false + false + false + false + + false + + + pip install --user scc +test -e src && cd src +$HOME/.local/bin/scc $MERGE_COMMAND + +pip install --user docutils==0.12 + + + clean html + Ant 1.9 + src/omero/build.xml + + + + + src/omero/_build/html/** + false + false + false + true + true + + + + + + \ No newline at end of file From 4b0a8d3bc9337a6791d1a208a71d617c68c014a0 Mon Sep 17 00:00:00 2001 From: Sebastien Besson Date: Tue, 12 Sep 2017 16:44:37 +0100 Subject: [PATCH 2/5] Add docs job to Trigger and main README --- README.md | 1 + home/jobs/Trigger/config.xml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index a75aee05..efa5165a 100644 --- a/README.md +++ b/README.md @@ -209,6 +209,7 @@ they are associated with and a short description of the job: | OMERO-test-integration | testintegration | Runs the OMERO integration tests | | OMERO-robot | testintegration | Runs the Robot tests | | nginx | nginx | Reloads the nginx server | +| OMERO-docs | testintegration | Builds the OMERO documentation | Default packages: diff --git a/home/jobs/Trigger/config.xml b/home/jobs/Trigger/config.xml index 20499352..f023c0b9 100644 --- a/home/jobs/Trigger/config.xml +++ b/home/jobs/Trigger/config.xml @@ -33,6 +33,8 @@ build job: 'OMERO-test-integration', propagate: false build job: 'OMERO-robot', wait: false +build job: 'OMERO-docs', wait: false + false From c9674b9fab70aac3c5c81835897d3036e086143a Mon Sep 17 00:00:00 2001 From: Sebastien Besson Date: Tue, 12 Sep 2017 16:50:13 +0100 Subject: [PATCH 3/5] Uncap Sphinx dependency in slave Dockerfile --- slave/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/slave/Dockerfile b/slave/Dockerfile index ba97d29e..37e4d9fb 100644 --- a/slave/Dockerfile +++ b/slave/Dockerfile @@ -45,8 +45,7 @@ WORKDIR /tmp/omero-install/linux RUN JAVAVER=$JAVAVER ICEVER=$ICEVER PGVER=nopg bash install_centos7_nginx.sh -# install sphinx - minimum required -RUN pip install sphinx==1.2.3 +RUN pip install Sphinx # Install FindBugs ENV FINDBUGS_VERSION 3.0.0 From fbd60fcf04fa73a40fd497164f32d16a523ab8c5 Mon Sep 17 00:00:00 2001 From: Sebastien Besson Date: Tue, 12 Sep 2017 16:54:47 +0100 Subject: [PATCH 4/5] Remove docutils workaround --- home/jobs/OMERO-docs/config.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/home/jobs/OMERO-docs/config.xml b/home/jobs/OMERO-docs/config.xml index dd4c2005..ae2b808f 100644 --- a/home/jobs/OMERO-docs/config.xml +++ b/home/jobs/OMERO-docs/config.xml @@ -55,9 +55,7 @@ pip install --user scc test -e src && cd src -$HOME/.local/bin/scc $MERGE_COMMAND - -pip install --user docutils==0.12 +$HOME/.local/bin/scc $MERGE_COMMAND clean html From cccc1b1400d9ebb3c9c29fe1915558cba9c7e050 Mon Sep 17 00:00:00 2001 From: Sebastien Besson Date: Tue, 19 Sep 2017 09:41:22 +0100 Subject: [PATCH 5/5] Port changes from the test devspace --- home/jobs/OMERO-docs/config.xml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/home/jobs/OMERO-docs/config.xml b/home/jobs/OMERO-docs/config.xml index ae2b808f..376235b3 100644 --- a/home/jobs/OMERO-docs/config.xml +++ b/home/jobs/OMERO-docs/config.xml @@ -34,13 +34,9 @@ SPACEBRANCH - false - - - - - src - + false + + @@ -60,12 +56,12 @@ $HOME/.local/bin/scc $MERGE_COMMAND clean html Ant 1.9 - src/omero/build.xml + omero/build.xml - src/omero/_build/html/** + omero/_build/html/** false false false