2626 - run :
2727 name : Docker Push esmf-doc-base
2828 command : bash esmf/.circleci/sh/docker-push-generic.sh "esmf/esmf-doc-base"
29- - run :
30- name : Docker Build esmpy-doc-base
31- command : docker build -t "esmf/esmpy-doc-base" --file "ESCOMP-Containers/ESMF/doc/esmpy-doc-base/Dockerfile" --build-arg DOCKER_NAMESPACE="esmf" .
32- - run :
33- name : Docker Push esmpy-doc-base
34- command : bash esmf/.circleci/sh/docker-push-generic.sh "esmf/esmpy-doc-base"
3529
3630 build-escomp-esmf :
3731 docker :
@@ -141,7 +135,7 @@ jobs:
141135 - run :
142136 name : " Removing slash from branch name "
143137 command : |
144- echo 'export CIRCLE_BRANCH_NEW=`echo ${CIRCLE_BRANCH} | sed 's#/#_# '`' >> $BASH_ENV
138+ echo 'export CIRCLE_BRANCH_NEW=`echo ${CIRCLE_BRANCH} | sed 's:/:_:g '`' >> $BASH_ENV
145139 echo $CIRCLE_BRANCH_NEW
146140 source $BASH_ENV
147141 - run :
@@ -187,7 +181,7 @@ jobs:
187181 - run :
188182 name : " Removing slash from branch name "
189183 command : |
190- echo 'export CIRCLE_BRANCH_NEW=`echo ${CIRCLE_BRANCH} | sed 's#/#_# '`' >> $BASH_ENV
184+ echo 'export CIRCLE_BRANCH_NEW=`echo ${CIRCLE_BRANCH} | sed 's:/:_:g '`' >> $BASH_ENV
191185 echo $CIRCLE_BRANCH_NEW
192186 source $BASH_ENV
193187 - run :
@@ -233,7 +227,7 @@ jobs:
233227 - run :
234228 name : " Removing slash from branch name "
235229 command : |
236- echo 'export CIRCLE_BRANCH_NEW=`echo ${CIRCLE_BRANCH} | sed 's#/#_# '`' >> $BASH_ENV
230+ echo 'export CIRCLE_BRANCH_NEW=`echo ${CIRCLE_BRANCH} | sed 's:/:_:g '`' >> $BASH_ENV
237231 echo $CIRCLE_BRANCH_NEW
238232 source $BASH_ENV
239233 - run :
@@ -244,7 +238,7 @@ jobs:
244238 command : git clone --branch $CIRCLE_BRANCH https://github.com/esmf-org/esmf.git
245239 - run :
246240 name : Docker Run API Changes
247- command : docker build -t "esmf/api-change:${CIRCLE_BRANCH_NEW}" --file "ESCOMP-Containers/ESMF/API_changes/Dockerfile" --build-arg DOCKER_NAMESPACE="esmf" --build-arg TAG1="ESMF_8_0_0 " --build-arg TAG2="${CIRCLE_BRANCH}" --no-cache .
241+ command : docker build -t "esmf/api-change:${CIRCLE_BRANCH_NEW}" --file "ESCOMP-Containers/ESMF/API_changes/Dockerfile" --build-arg DOCKER_NAMESPACE="esmf" --build-arg TAG1="ESMF_8_1_0 " --build-arg TAG2="${CIRCLE_BRANCH}" --no-cache .
248242 - run :
249243 name : Extract API Changes
250244 command : bash esmf/.circleci/sh/extract-artifacts.sh "/tmp/artifacts" "/artifacts/api_change-artifacts.zip" "esmf/api-change:${CIRCLE_BRANCH_NEW}"
@@ -296,19 +290,18 @@ jobs:
296290 - run :
297291 name : " Removing slash from branch name "
298292 command : |
299- echo 'export CIRCLE_BRANCH_NEW=`echo ${CIRCLE_BRANCH} | sed 's#/#_# '`' >> $BASH_ENV
293+ echo 'export CIRCLE_BRANCH_NEW=`echo ${CIRCLE_BRANCH} | sed 's:/:_:g '`' >> $BASH_ENV
300294 echo $CIRCLE_BRANCH_NEW
301295 source $BASH_ENV
302296 - run :
303297 name : Checkout Code (ESCOMP-Containers)
304298 command : git clone --depth 1 https://github.com/ESCOMP/ESCOMP-Containers.git
305- # command: git clone --depth 1 --branch esmpy-doc-base-to-ubuntu https://github.com/esmf-org/ESCOMP-Containers.git
306299 - run :
307300 name : Checkout Code (ESMF)
308301 command : git clone --branch $CIRCLE_BRANCH --depth 1 https://github.com/esmf-org/esmf.git
309302 - run :
310303 name : Docker Build esmpy-doc
311- command : docker build -t "esmf/esmpy-doc:${CIRCLE_BRANCH_NEW}" --file "ESCOMP-Containers/ESMF/doc/esmpy-doc/Dockerfile" --build-arg ESMF_BRANCH="${CIRCLE_BRANCH}" --build-arg DOCKER_NAMESPACE="esmf" -- no-cache .
304+ command : docker build -t "esmf/esmpy-doc:${CIRCLE_BRANCH_NEW}" --file "ESCOMP-Containers/ESMF/doc/esmpy-doc/Dockerfile" --build-arg ESMF_BRANCH="${CIRCLE_BRANCH}" --no-cache .
312305 - run :
313306 name : Extract Doc Artifacts
314307 command : bash esmf/.circleci/sh/extract-artifacts.sh "/tmp/artifacts" "/artifacts/doc-esmpy.zip" "esmf/esmpy-doc:${CIRCLE_BRANCH_NEW}"
@@ -386,7 +379,6 @@ jobs:
386379 - run :
387380 name : Checkout Code (ESCOMP-Containers)
388381 command : git clone --depth 1 https://github.com/ESCOMP/ESCOMP-Containers.git
389- # command: git clone --depth 1 --branch esmpy-doc-base-to-ubuntu https://github.com/esmf-org/ESCOMP-Containers.git
390382 - run :
391383 name : Checkout Code (ESMF)
392384 command : git clone --branch $CIRCLE_BRANCH --depth 1 https://github.com/esmf-org/esmf.git
@@ -481,21 +473,23 @@ workflows:
481473
482474 docs-commit :
483475 jobs :
484- - should-build-docs :
485- type : approval
486- - build-esmf-docs :
487- requires :
488- - should-build-docs
476+ # - should-build-docs:
477+ # type: approval
478+ # - build-esmf-docs:
479+ # requires:
480+ # - should-build-docs
481+ - build-esmf-docs
489482 - publish-esmf-docs :
490483 requires :
491484 - build-esmf-docs
492- # filters:
493- # branches:
494- # only:
495- # - develop
496- - build-esmpy-docs :
497- requires :
498- - should-build-docs
485+ filters :
486+ branches :
487+ only :
488+ - develop
489+ - /^release/.*$/
490+ - build-esmpy-docs
491+ # requires:
492+ # - should-build-docs
499493 - publish-esmpy-docs :
500494 requires :
501495 - build-esmpy-docs
@@ -540,3 +534,4 @@ workflows:
540534# - osx-esmf:
541535# requires:
542536# - should-run-osx
537+
0 commit comments