mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
30 lines
654 B
YAML
30 lines
654 B
YAML
---
|
|
platform: linux
|
|
inputs:
|
|
- name: git-repo
|
|
outputs:
|
|
- name: git-repo
|
|
caches:
|
|
- path: gradle
|
|
params:
|
|
BRANCH:
|
|
CI: true
|
|
GRADLE_ENTERPRISE_ACCESS_KEY:
|
|
GRADLE_ENTERPRISE_CACHE_URL:
|
|
GRADLE_ENTERPRISE_CACHE_USERNAME:
|
|
GRADLE_ENTERPRISE_CACHE_PASSWORD:
|
|
GRADLE_ENTERPRISE_URL: https://ge.spring.io
|
|
DOCKER_HUB_MIRROR:
|
|
run:
|
|
path: bash
|
|
args:
|
|
- -ec
|
|
- |
|
|
mkdir -p /root/.docker
|
|
cat > /root/.docker/config.json <<EOF
|
|
{ "auths": { "https://index.docker.io/v1/": { "auth": "$DOCKER_HUB_AUTH" }}}
|
|
EOF
|
|
source /docker-lib.sh
|
|
start_docker $DOCKER_HUB_MIRROR
|
|
${PWD}/git-repo/ci/scripts/run-system-tests.sh
|