2017-09-29 01:57:35 +08:00
|
|
|
---
|
|
|
|
platform: linux
|
|
|
|
inputs:
|
|
|
|
- name: git-repo
|
|
|
|
outputs:
|
|
|
|
- name: distribution-repository
|
2020-04-09 06:12:58 +08:00
|
|
|
- name: git-repo
|
2017-09-29 01:57:35 +08:00
|
|
|
caches:
|
|
|
|
- path: gradle
|
2023-10-11 02:46:20 +08:00
|
|
|
- path: maven
|
2020-01-10 21:48:43 +08:00
|
|
|
params:
|
2020-01-12 20:43:51 +08:00
|
|
|
BRANCH:
|
2020-01-10 21:48:43 +08:00
|
|
|
CI: true
|
2020-01-16 03:32:27 +08:00
|
|
|
GRADLE_ENTERPRISE_ACCESS_KEY:
|
2022-07-14 23:06:06 +08:00
|
|
|
GRADLE_ENTERPRISE_CACHE_URL:
|
2020-01-10 21:48:43 +08:00
|
|
|
GRADLE_ENTERPRISE_CACHE_USERNAME:
|
|
|
|
GRADLE_ENTERPRISE_CACHE_PASSWORD:
|
2020-01-16 04:31:52 +08:00
|
|
|
GRADLE_ENTERPRISE_URL: https://ge.spring.io
|
2021-11-20 03:33:37 +08:00
|
|
|
DOCKER_HUB_MIRROR:
|
2017-09-29 01:57:35 +08:00
|
|
|
run:
|
2018-01-04 09:23:12 +08:00
|
|
|
path: bash
|
|
|
|
args:
|
2023-04-19 01:04:20 +08:00
|
|
|
- "-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/build-project.sh
|