Skip to content

Commit

Permalink
[IA-4760] Debug GHA replacing Jenkins (#494)
Browse files Browse the repository at this point in the history
* chamge permission so GHA runner can execute script

* make sure arguments are passed to bash script

* fixed the bash syntax

* filter behavior returns an iterative not a list in python 3
  • Loading branch information
LizBaldo authored Aug 28, 2024
1 parent cffd18a commit 2f05e18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build_all.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_version_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2f05e18

Please sign in to comment.