Skip to content

Commit f8eea78

Browse files
committed
Change GHA for solid-test-suites to load docker images from cache.
1 parent 2e9f8ff commit f8eea78

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/solid-tests-suites.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,12 @@ jobs:
186186
timeout-minutes: 30
187187
needs:
188188
- build-docker-nextcloud
189+
- docker-images
190+
- pull-docker-cookie
191+
- pull-docker-pubsub
192+
- pull-docker-solid-crud-tests
193+
- pull-docker-web-access-control-tests
194+
- pull-docker-webid-provider-tests
189195

190196
runs-on: ubuntu-latest
191197

@@ -226,13 +232,12 @@ jobs:
226232
username: ${{ github.actor }}
227233
password: ${{ secrets.GITHUB_TOKEN }}
228234

229-
# FIXME: The `docker pull` should be moved to a previous step and cached
230-
- name: Pull docker Images
235+
- name: Load docker Images
231236
run: |
232237
docker image load --input ./cache/solid-nextcloud/${{ github.sha }}-${{ matrix.nextcloud_version }}.tar
233-
docker pull michielbdejong/nextcloud-cookie:${{ env.COOKIE_TAG }}
234-
docker pull ${{ matrix.test }}
235-
docker pull ghcr.io/pdsinterop/php-solid-pubsub-server:${{ env.PUBSUB_TAG }}
238+
docker image load --input ./cache/${{ needs.docker-images.outputs.COOKIE_IMAGE }}.tar
239+
docker image load --input ./cache/${{ matrix.test }}.tar
240+
docker image load --input ./cache/${{ needs.docker-images.outputs.PUBSUB_TAG }}.tar
236241
237242
- name: Start Docker Containers
238243
run: |

0 commit comments

Comments
 (0)