Skip to content

Commit 5a90037

Browse files
committed
Merge branch '3.1.x' into 3.2.x
2 parents 961da4e + 9e2a312 commit 5a90037

File tree

8 files changed

+30
-19
lines changed

8 files changed

+30
-19
lines changed

ci/images/ci-image-jdk21/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ubuntu:jammy-20240111
1+
ARG DOCKER_PROXY_CACHE=
2+
FROM ${DOCKER_PROXY_CACHE}ubuntu:jammy-20240111
23

34
ADD setup.sh /setup.sh
45
ADD get-jdk-url.sh /get-jdk-url.sh

ci/images/ci-image/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ubuntu:jammy-20240111
1+
ARG DOCKER_PROXY_CACHE=
2+
FROM ${DOCKER_PROXY_CACHE}ubuntu:jammy-20240111
23

34
ADD setup.sh /setup.sh
45
ADD get-jdk-url.sh /get-jdk-url.sh

ci/parameters.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ build-name: "spring-boot"
1313
concourse-url: "https://ci.spring.io"
1414
task-timeout: 2h00m
1515
final-release: false
16+
dockerhub-proxy-cache: harbor-repo.vmware.com/dockerhub-proxy-cache/

ci/pipeline.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ anchors:
88
username: ((docker-hub-username))
99
password: ((docker-hub-password))
1010
ci-registry-image-resource-source: &ci-registry-image-resource-source
11-
username: ((docker-hub-username))
12-
password: ((docker-hub-password))
11+
username: ((harbor-registry-username))
12+
password: ((harbor-registry-password))
1313
tag: ((milestone))
1414
gradle-enterprise-task-params: &gradle-enterprise-task-params
1515
GRADLE_ENTERPRISE_ACCESS_KEY: ((gradle_enterprise_secret_access_key))
@@ -99,31 +99,31 @@ resource_types:
9999
type: registry-image
100100
source:
101101
<<: *registry-image-resource-source
102-
repository: concourse/registry-image-resource
103-
tag: 1.7.1
102+
repository: ((dockerhub-proxy-cache))concourse/registry-image-resource
103+
tag: 1.9.0
104104
- name: artifactory-resource
105105
type: registry-image
106106
source:
107107
<<: *registry-image-resource-source
108-
repository: springio/artifactory-resource
108+
repository: ((dockerhub-proxy-cache))springio/artifactory-resource
109109
tag: 0.0.18
110110
- name: github-status-resource
111111
type: registry-image
112112
source:
113113
<<: *registry-image-resource-source
114-
repository: dpb587/github-status-resource
114+
repository: ((dockerhub-proxy-cache))dpb587/github-status-resource
115115
tag: master
116116
- name: slack-notification
117117
type: registry-image
118118
source:
119119
<<: *registry-image-resource-source
120-
repository: cfcommunity/slack-notification-resource
120+
repository: ((dockerhub-proxy-cache))cfcommunity/slack-notification-resource
121121
tag: latest
122122
- name: github-release
123123
type: registry-image
124124
source:
125125
<<: *registry-image-resource-source
126-
repository: concourse/github-release-resource
126+
repository: ((dockerhub-proxy-cache))concourse/github-release-resource
127127
tag: 1.8.0
128128
resources:
129129
- name: git-repo
@@ -168,18 +168,18 @@ resources:
168168
icon: docker
169169
source:
170170
<<: *ci-registry-image-resource-source
171-
repository: ((docker-hub-organization))/((docker-hub-repository-prefix))-ci
171+
repository: projects.registry.vmware.com/springboot/spring-boot-ci
172172
- name: ci-image-jdk21
173173
type: registry-image
174174
icon: docker
175175
source:
176176
<<: *ci-registry-image-resource-source
177-
repository: ((docker-hub-organization))/((docker-hub-repository-prefix))-ci-jdk21
177+
repository: projects.registry.vmware.com/springboot/spring-boot-ci-jdk21
178178
- name: paketo-builder-base-image
179179
type: registry-image
180180
icon: docker
181181
source:
182-
repository: paketobuildpacks/builder-jammy-base
182+
repository: ((dockerhub-proxy-cache))paketobuildpacks/builder-jammy-base
183183
tag: latest
184184
- name: artifactory-repo
185185
type: artifactory-resource
@@ -242,13 +242,15 @@ jobs:
242242
image: ci-image
243243
vars:
244244
ci-image-name: ci-image
245+
dockerhub-proxy-cache: ((dockerhub-proxy-cache))
245246
- task: build-ci-image-jdk21
246247
privileged: true
247248
file: git-repo/ci/tasks/build-ci-image.yml
248249
output_mapping:
249250
image: ci-image-jdk21
250251
vars:
251252
ci-image-name: ci-image-jdk21
253+
dockerhub-proxy-cache: ((dockerhub-proxy-cache))
252254
- in_parallel:
253255
- put: ci-image
254256
params:
@@ -481,6 +483,8 @@ jobs:
481483
<<: *artifactory-task-params
482484
- task: generate-changelog
483485
file: git-repo/ci/tasks/generate-changelog.yml
486+
vars:
487+
dockerhub-proxy-cache: ((dockerhub-proxy-cache))
484488
params:
485489
RELEASE_TYPE: M
486490
GITHUB_USERNAME: ((github-username))
@@ -503,6 +507,8 @@ jobs:
503507
save_build_info: true
504508
- task: promote
505509
file: git-repo/ci/tasks/promote.yml
510+
vars:
511+
dockerhub-proxy-cache: ((dockerhub-proxy-cache))
506512
params:
507513
RELEASE_TYPE: RC
508514
<<: *artifactory-task-params
@@ -585,6 +591,8 @@ jobs:
585591
save_build_info: true
586592
- task: publish-to-sdkman
587593
file: git-repo/ci/tasks/publish-to-sdkman.yml
594+
vars:
595+
dockerhub-proxy-cache: ((dockerhub-proxy-cache))
588596
params:
589597
<<: *sdkman-task-params
590598
RELEASE_TYPE: RELEASE

ci/tasks/build-ci-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ platform: linux
33
image_resource:
44
type: registry-image
55
source:
6-
repository: concourse/oci-build-task
7-
tag: 0.10.0
6+
tag: 0.11.1
7+
repository: ((dockerhub-proxy-cache))concourse/oci-build-task
88
username: ((docker-hub-username))
99
password: ((docker-hub-password))
1010
inputs:
@@ -17,7 +17,7 @@ params:
1717
CONTEXT: ci-images-git-repo/ci/images
1818
DOCKERFILE: ci-images-git-repo/ci/images/((ci-image-name))/Dockerfile
1919
DOCKER_HUB_AUTH: ((docker-hub-auth))
20-
REGISTRY_MIRRORS: ((docker-hub-mirror))
20+
BUILD_ARG_DOCKER_PROXY_CACHE: ((dockerhub-proxy-cache))
2121
run:
2222
path: /bin/sh
2323
args:

ci/tasks/generate-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ platform: linux
33
image_resource:
44
type: registry-image
55
source:
6-
repository: springio/github-changelog-generator
6+
repository: ((dockerhub-proxy-cache))springio/github-changelog-generator
77
tag: '0.0.8'
88
username: ((docker-hub-username))
99
password: ((docker-hub-password))

ci/tasks/promote.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ platform: linux
33
image_resource:
44
type: registry-image
55
source:
6-
repository: springio/concourse-release-scripts
6+
repository: ((dockerhub-proxy-cache))springio/concourse-release-scripts
77
tag: '0.4.0'
88
username: ((docker-hub-username))
99
password: ((docker-hub-password))

ci/tasks/publish-to-sdkman.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ platform: linux
33
image_resource:
44
type: registry-image
55
source:
6-
repository: springio/concourse-release-scripts
6+
repository: ((dockerhub-proxy-cache))springio/concourse-release-scripts
77
tag: '0.4.0'
88
username: ((docker-hub-username))
99
password: ((docker-hub-password))

0 commit comments

Comments
 (0)