Skip to content

Commit

Permalink
Merge branch '3.1.x' into 3.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Jan 19, 2024
2 parents 961da4e + 9e2a312 commit 5a90037
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 19 deletions.
3 changes: 2 additions & 1 deletion ci/images/ci-image-jdk21/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ubuntu:jammy-20240111
ARG DOCKER_PROXY_CACHE=
FROM ${DOCKER_PROXY_CACHE}ubuntu:jammy-20240111

ADD setup.sh /setup.sh
ADD get-jdk-url.sh /get-jdk-url.sh
Expand Down
3 changes: 2 additions & 1 deletion ci/images/ci-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ubuntu:jammy-20240111
ARG DOCKER_PROXY_CACHE=
FROM ${DOCKER_PROXY_CACHE}ubuntu:jammy-20240111

ADD setup.sh /setup.sh
ADD get-jdk-url.sh /get-jdk-url.sh
Expand Down
1 change: 1 addition & 0 deletions ci/parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ build-name: "spring-boot"
concourse-url: "https://ci.spring.io"
task-timeout: 2h00m
final-release: false
dockerhub-proxy-cache: harbor-repo.vmware.com/dockerhub-proxy-cache/
30 changes: 19 additions & 11 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ anchors:
username: ((docker-hub-username))
password: ((docker-hub-password))
ci-registry-image-resource-source: &ci-registry-image-resource-source
username: ((docker-hub-username))
password: ((docker-hub-password))
username: ((harbor-registry-username))
password: ((harbor-registry-password))
tag: ((milestone))
gradle-enterprise-task-params: &gradle-enterprise-task-params
GRADLE_ENTERPRISE_ACCESS_KEY: ((gradle_enterprise_secret_access_key))
Expand Down Expand Up @@ -99,31 +99,31 @@ resource_types:
type: registry-image
source:
<<: *registry-image-resource-source
repository: concourse/registry-image-resource
tag: 1.7.1
repository: ((dockerhub-proxy-cache))concourse/registry-image-resource
tag: 1.9.0
- name: artifactory-resource
type: registry-image
source:
<<: *registry-image-resource-source
repository: springio/artifactory-resource
repository: ((dockerhub-proxy-cache))springio/artifactory-resource
tag: 0.0.18
- name: github-status-resource
type: registry-image
source:
<<: *registry-image-resource-source
repository: dpb587/github-status-resource
repository: ((dockerhub-proxy-cache))dpb587/github-status-resource
tag: master
- name: slack-notification
type: registry-image
source:
<<: *registry-image-resource-source
repository: cfcommunity/slack-notification-resource
repository: ((dockerhub-proxy-cache))cfcommunity/slack-notification-resource
tag: latest
- name: github-release
type: registry-image
source:
<<: *registry-image-resource-source
repository: concourse/github-release-resource
repository: ((dockerhub-proxy-cache))concourse/github-release-resource
tag: 1.8.0
resources:
- name: git-repo
Expand Down Expand Up @@ -168,18 +168,18 @@ resources:
icon: docker
source:
<<: *ci-registry-image-resource-source
repository: ((docker-hub-organization))/((docker-hub-repository-prefix))-ci
repository: projects.registry.vmware.com/springboot/spring-boot-ci
- name: ci-image-jdk21
type: registry-image
icon: docker
source:
<<: *ci-registry-image-resource-source
repository: ((docker-hub-organization))/((docker-hub-repository-prefix))-ci-jdk21
repository: projects.registry.vmware.com/springboot/spring-boot-ci-jdk21
- name: paketo-builder-base-image
type: registry-image
icon: docker
source:
repository: paketobuildpacks/builder-jammy-base
repository: ((dockerhub-proxy-cache))paketobuildpacks/builder-jammy-base
tag: latest
- name: artifactory-repo
type: artifactory-resource
Expand Down Expand Up @@ -242,13 +242,15 @@ jobs:
image: ci-image
vars:
ci-image-name: ci-image
dockerhub-proxy-cache: ((dockerhub-proxy-cache))
- task: build-ci-image-jdk21
privileged: true
file: git-repo/ci/tasks/build-ci-image.yml
output_mapping:
image: ci-image-jdk21
vars:
ci-image-name: ci-image-jdk21
dockerhub-proxy-cache: ((dockerhub-proxy-cache))
- in_parallel:
- put: ci-image
params:
Expand Down Expand Up @@ -481,6 +483,8 @@ jobs:
<<: *artifactory-task-params
- task: generate-changelog
file: git-repo/ci/tasks/generate-changelog.yml
vars:
dockerhub-proxy-cache: ((dockerhub-proxy-cache))
params:
RELEASE_TYPE: M
GITHUB_USERNAME: ((github-username))
Expand All @@ -503,6 +507,8 @@ jobs:
save_build_info: true
- task: promote
file: git-repo/ci/tasks/promote.yml
vars:
dockerhub-proxy-cache: ((dockerhub-proxy-cache))
params:
RELEASE_TYPE: RC
<<: *artifactory-task-params
Expand Down Expand Up @@ -585,6 +591,8 @@ jobs:
save_build_info: true
- task: publish-to-sdkman
file: git-repo/ci/tasks/publish-to-sdkman.yml
vars:
dockerhub-proxy-cache: ((dockerhub-proxy-cache))
params:
<<: *sdkman-task-params
RELEASE_TYPE: RELEASE
Expand Down
6 changes: 3 additions & 3 deletions ci/tasks/build-ci-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ platform: linux
image_resource:
type: registry-image
source:
repository: concourse/oci-build-task
tag: 0.10.0
tag: 0.11.1
repository: ((dockerhub-proxy-cache))concourse/oci-build-task
username: ((docker-hub-username))
password: ((docker-hub-password))
inputs:
Expand All @@ -17,7 +17,7 @@ params:
CONTEXT: ci-images-git-repo/ci/images
DOCKERFILE: ci-images-git-repo/ci/images/((ci-image-name))/Dockerfile
DOCKER_HUB_AUTH: ((docker-hub-auth))
REGISTRY_MIRRORS: ((docker-hub-mirror))
BUILD_ARG_DOCKER_PROXY_CACHE: ((dockerhub-proxy-cache))
run:
path: /bin/sh
args:
Expand Down
2 changes: 1 addition & 1 deletion ci/tasks/generate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ platform: linux
image_resource:
type: registry-image
source:
repository: springio/github-changelog-generator
repository: ((dockerhub-proxy-cache))springio/github-changelog-generator
tag: '0.0.8'
username: ((docker-hub-username))
password: ((docker-hub-password))
Expand Down
2 changes: 1 addition & 1 deletion ci/tasks/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ platform: linux
image_resource:
type: registry-image
source:
repository: springio/concourse-release-scripts
repository: ((dockerhub-proxy-cache))springio/concourse-release-scripts
tag: '0.4.0'
username: ((docker-hub-username))
password: ((docker-hub-password))
Expand Down
2 changes: 1 addition & 1 deletion ci/tasks/publish-to-sdkman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ platform: linux
image_resource:
type: registry-image
source:
repository: springio/concourse-release-scripts
repository: ((dockerhub-proxy-cache))springio/concourse-release-scripts
tag: '0.4.0'
username: ((docker-hub-username))
password: ((docker-hub-password))
Expand Down

0 comments on commit 5a90037

Please sign in to comment.