|
|
@ -39,6 +39,7 @@ anchors:
|
|
|
|
file: git-repo/ci/tasks/build-project.yml
|
|
|
|
file: git-repo/ci/tasks/build-project.yml
|
|
|
|
params:
|
|
|
|
params:
|
|
|
|
BRANCH: ((branch))
|
|
|
|
BRANCH: ((branch))
|
|
|
|
|
|
|
|
DOCKER_HUB_MIRROR: ((docker-hub-mirror))
|
|
|
|
<<: *gradle-enterprise-task-params
|
|
|
|
<<: *gradle-enterprise-task-params
|
|
|
|
<<: *docker-hub-task-params
|
|
|
|
<<: *docker-hub-task-params
|
|
|
|
artifactory-repo-put-params: &artifactory-repo-put-params
|
|
|
|
artifactory-repo-put-params: &artifactory-repo-put-params
|
|
|
@ -80,10 +81,10 @@ anchors:
|
|
|
|
gradle-publish-params: &gradle-publish-params
|
|
|
|
gradle-publish-params: &gradle-publish-params
|
|
|
|
GRADLE_PUBLISH_KEY: ((gradle-publish-key))
|
|
|
|
GRADLE_PUBLISH_KEY: ((gradle-publish-key))
|
|
|
|
GRADLE_PUBLISH_SECRET: ((gradle-publish-secret))
|
|
|
|
GRADLE_PUBLISH_SECRET: ((gradle-publish-secret))
|
|
|
|
registry-mirror-vars: ®istry-mirror-vars
|
|
|
|
docker-hub-mirror-vars: &docker-hub-mirror-vars
|
|
|
|
registry-mirror-host: ((registry-mirror-host))
|
|
|
|
docker-hub-mirror: ((docker-hub-mirror))
|
|
|
|
registry-mirror-username: ((registry-mirror-username))
|
|
|
|
docker-hub-mirror-username: ((docker-hub-mirror-username))
|
|
|
|
registry-mirror-password: ((registry-mirror-password))
|
|
|
|
docker-hub-mirror-password: ((docker-hub-mirror-password))
|
|
|
|
resource_types:
|
|
|
|
resource_types:
|
|
|
|
- name: artifactory-resource
|
|
|
|
- name: artifactory-resource
|
|
|
|
type: registry-image
|
|
|
|
type: registry-image
|
|
|
@ -241,7 +242,7 @@ jobs:
|
|
|
|
image: ci-image
|
|
|
|
image: ci-image
|
|
|
|
vars:
|
|
|
|
vars:
|
|
|
|
ci-image-name: ci-image
|
|
|
|
ci-image-name: ci-image
|
|
|
|
<<: *registry-mirror-vars
|
|
|
|
<<: *docker-hub-mirror-vars
|
|
|
|
- task: build-ci-image-jdk11
|
|
|
|
- task: build-ci-image-jdk11
|
|
|
|
privileged: true
|
|
|
|
privileged: true
|
|
|
|
file: git-repo/ci/tasks/build-ci-image.yml
|
|
|
|
file: git-repo/ci/tasks/build-ci-image.yml
|
|
|
@ -249,7 +250,7 @@ jobs:
|
|
|
|
image: ci-image-jdk11
|
|
|
|
image: ci-image-jdk11
|
|
|
|
vars:
|
|
|
|
vars:
|
|
|
|
ci-image-name: ci-image-jdk11
|
|
|
|
ci-image-name: ci-image-jdk11
|
|
|
|
<<: *registry-mirror-vars
|
|
|
|
<<: *docker-hub-mirror-vars
|
|
|
|
- task: build-ci-image-jdk17
|
|
|
|
- task: build-ci-image-jdk17
|
|
|
|
privileged: true
|
|
|
|
privileged: true
|
|
|
|
file: git-repo/ci/tasks/build-ci-image.yml
|
|
|
|
file: git-repo/ci/tasks/build-ci-image.yml
|
|
|
@ -257,7 +258,7 @@ jobs:
|
|
|
|
image: ci-image-jdk17
|
|
|
|
image: ci-image-jdk17
|
|
|
|
vars:
|
|
|
|
vars:
|
|
|
|
ci-image-name: ci-image-jdk17
|
|
|
|
ci-image-name: ci-image-jdk17
|
|
|
|
<<: *registry-mirror-vars
|
|
|
|
<<: *docker-hub-mirror-vars
|
|
|
|
- in_parallel:
|
|
|
|
- in_parallel:
|
|
|
|
- put: ci-image
|
|
|
|
- put: ci-image
|
|
|
|
params:
|
|
|
|
params:
|
|
|
@ -553,7 +554,7 @@ jobs:
|
|
|
|
GITHUB_USERNAME: ((github-username))
|
|
|
|
GITHUB_USERNAME: ((github-username))
|
|
|
|
GITHUB_TOKEN: ((github-ci-release-token))
|
|
|
|
GITHUB_TOKEN: ((github-ci-release-token))
|
|
|
|
vars:
|
|
|
|
vars:
|
|
|
|
<<: *registry-mirror-vars
|
|
|
|
<<: *docker-hub-mirror-vars
|
|
|
|
- put: github-pre-release
|
|
|
|
- put: github-pre-release
|
|
|
|
params:
|
|
|
|
params:
|
|
|
|
name: generated-changelog/tag
|
|
|
|
name: generated-changelog/tag
|
|
|
@ -584,7 +585,7 @@ jobs:
|
|
|
|
GITHUB_USERNAME: ((github-username))
|
|
|
|
GITHUB_USERNAME: ((github-username))
|
|
|
|
GITHUB_TOKEN: ((github-ci-release-token))
|
|
|
|
GITHUB_TOKEN: ((github-ci-release-token))
|
|
|
|
vars:
|
|
|
|
vars:
|
|
|
|
<<: *registry-mirror-vars
|
|
|
|
<<: *docker-hub-mirror-vars
|
|
|
|
- put: github-pre-release
|
|
|
|
- put: github-pre-release
|
|
|
|
params:
|
|
|
|
params:
|
|
|
|
name: generated-changelog/tag
|
|
|
|
name: generated-changelog/tag
|
|
|
@ -645,7 +646,7 @@ jobs:
|
|
|
|
GITHUB_USERNAME: ((github-username))
|
|
|
|
GITHUB_USERNAME: ((github-username))
|
|
|
|
GITHUB_TOKEN: ((github-ci-release-token))
|
|
|
|
GITHUB_TOKEN: ((github-ci-release-token))
|
|
|
|
vars:
|
|
|
|
vars:
|
|
|
|
<<: *registry-mirror-vars
|
|
|
|
<<: *docker-hub-mirror-vars
|
|
|
|
- put: github-release
|
|
|
|
- put: github-release
|
|
|
|
params:
|
|
|
|
params:
|
|
|
|
name: generated-changelog/tag
|
|
|
|
name: generated-changelog/tag
|
|
|
|