Skip to content

Commit

Permalink
pre-pull the containers
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Sep 20, 2022
1 parent 44a23e1 commit 86106a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
- name: Install dependencies
run: python3 -m pip install -U -e .[all]

- name: pre-pull container images
run: make container-pull

- name: Build documentation
run: make html

Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ unittest-examples:
check-json:
python -m json.tool < src/.zenodo.json >> /dev/null && exit 0 || echo "NOT valid JSON"; exit 1

container-pull:
for container in $$(git grep dockerPull $$(git ls-files *.cwl) | awk '-F: ' '{print $$3}'); do docker pull $${container}; done

.PHONY: help clean watch unittest-examples check-json Makefile

# Catch-all target : route all unknown targets to Sphinx using the new
Expand Down

0 comments on commit 86106a0

Please sign in to comment.