diff --git a/build_all.sh b/build_all.sh old mode 100644 new mode 100755 index db22942d..1faa8d6b --- a/build_all.sh +++ b/build_all.sh @@ -12,13 +12,13 @@ # 7- terra-jupyter-bioconductor # 8- terra-rstudio-aou # 9- wondershaper -images=(terra-jupyter-base terra-jupyter-python terra-jupyter-r terra-jupyter-gatk terra-jupyter-hail terra-jupyter-aou terra-jupyter-bioconductor terra-rstudio-aou wondershaper) +images=("terra-jupyter-base" "terra-jupyter-python" "terra-jupyter-r" "terra-jupyter-gatk" "terra-jupyter-hail" "terra-jupyter-aou" "terra-jupyter-bioconductor" "terra-rstudio-aou" "wondershaper") # Loop over each image to build in the correct order -for image in images; do +for image in "${images[@]}"; do # Call build.sh with the image to build - echo 'Building and publishing the following image to GCR: $image' - ./build.sh "$image" "true" + echo "Building and publishing the following image to GCR: $image" + ./build.sh $image true done # Once all images have been built, generate and push the 'terra-docker-versions-new' doc diff --git a/scripts/generate_version_docs.py b/scripts/generate_version_docs.py index da95f900..a8957501 100755 --- a/scripts/generate_version_docs.py +++ b/scripts/generate_version_docs.py @@ -29,7 +29,7 @@ def generate_docs(): print("current versions detected: " + str(remote_versions)) - legacy_gatk_doc = filter(lambda remote_doc: remote_doc["id"] == "terra-jupyter-gatk_legacy", remote_docs)[0] + legacy_gatk_doc = list(filter(lambda remote_doc: remote_doc["id"] == "terra-jupyter-gatk_legacy", remote_docs))[0] legacy_bioconductor_doc = utils.read_json_file(static_config_location)[0] # hard coding this until next bioconductor release (~06/2022) for image_config in image_configs: