---
platform: linux
inputs:
- name: git-repo
outputs:
- name: git-repo
caches:
- path: gradle
params:
  BRANCH:
  CI: true
  GRADLE_ENTERPRISE_ACCESS_KEY:
  GRADLE_ENTERPRISE_CACHE_USERNAME:
  GRADLE_ENTERPRISE_CACHE_PASSWORD:
  GRADLE_ENTERPRISE_URL: https://ge.spring.io
run:
  path: bash
  args:
    - -ec
    - |
      source /docker-lib.sh
      start_docker
      ${PWD}/git-repo/ci/scripts/run-system-tests.sh

---
platform: linux
inputs:
- name: git-repo
outputs:
- name: git-repo
caches:
- path: gradle
params:
  BRANCH:
  CI: true
  GRADLE_ENTERPRISE_ACCESS_KEY:
  GRADLE_ENTERPRISE_CACHE_USERNAME:
  GRADLE_ENTERPRISE_CACHE_PASSWORD:
  GRADLE_ENTERPRISE_URL: https://ge.spring.io
  DOCKER_HUB_MIRROR:
run:
  path: bash
  args:
    - -ec
    - |
      source /docker-lib.sh
      start_docker $DOCKER_HUB_MIRROR
      ${PWD}/git-repo/ci/scripts/run-system-tests.sh

Use DockerHub mirror when running system tests
Use DockerHub mirror when running system tests

See gh-31072
