Skip to content

Commit 4da318c

Browse files
committed
Merge branch '3.2.x' into fix-1935
2 parents 99352de + 577dc93 commit 4da318c

File tree

83 files changed

+551
-203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+551
-203
lines changed

.github/dependabot.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
target-branch: "main"
11+
schedule:
12+
interval: "weekly"
13+
- package-ecosystem: maven
14+
directory: /
15+
schedule:
16+
interval: daily
17+
target-branch: main
18+
ignore:
19+
# only upgrade by minor or patch
20+
- dependency-name: "*"
21+
update-types:
22+
- version-update:semver-major
23+
- version-update:semver-minor
24+
- package-ecosystem: maven
25+
directory: /
26+
schedule:
27+
interval: daily
28+
target-branch: 3.1.x
29+
ignore:
30+
# only upgrade by minor or patch
31+
- dependency-name: "*"
32+
update-types:
33+
- version-update:semver-major
34+
- version-update:semver-minor
35+
- package-ecosystem: maven
36+
directory: /
37+
schedule:
38+
interval: daily
39+
target-branch: 3.2.x
40+
ignore:
41+
# only upgrade by minor or patch
42+
- dependency-name: "*"
43+
update-types:
44+
- version-update:semver-major
45+
- version-update:semver-minor
46+
- package-ecosystem: npm
47+
target-branch: docs-build
48+
directory: /
49+
schedule:
50+
interval: weekly
51+
- package-ecosystem: npm
52+
target-branch: main
53+
directory: /docs
54+
schedule:
55+
interval: weekly
56+
- package-ecosystem: npm
57+
target-branch: 3.1.x
58+
directory: /docs
59+
schedule:
60+
interval: weekly
61+
- package-ecosystem: npm
62+
target-branch: 3.2.x
63+
directory: /docs
64+
schedule:
65+
interval: weekly

.github/workflows/composites/clean-space/action.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ runs:
44
using: "composite"
55
steps:
66

7+
- name: Disable man-db to make package install and removal faster
8+
shell: bash
9+
run: |
10+
echo 'set man-db/auto-update false' | sudo debconf-communicate >/dev/null
11+
sudo dpkg-reconfigure man-db
12+
713
- name: Free Disk Space
814
uses: jlumbroso/free-disk-space@main
915
with:

.github/workflows/composites/maven-build-with-dry-run-for-tests/action.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ runs:
1515
- name: find all classpath entries
1616
shell: bash
1717
run: |
18-
./mvnw -q exec:exec -Dexec.classpathScope="test" -Dexec.executable="echo" -Dexec.args="%classpath" | tr : "\n" > /tmp/deps.txt
18+
# skip 'spring-cloud-kubernetes-controllers' project since we do not want to run tests from it.
19+
# we already do that in the 'build-controllers-project/action.yaml', that happens before this step
20+
./mvnw -q exec:exec -Dexec.classpathScope="test" -Dexec.executable="echo" -Dexec.args="%classpath" | tr : "\n" | grep -v spring-cloud-kubernetes-controllers > /tmp/deps.txt
1921
2022
- name: find all tests
2123
shell: bash

.github/workflows/composites/run-and-save-test-times-when-cache-missing/action.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ runs:
4646
-Dhttp.keepAlive=false \
4747
-Dmaven.wagon.http.pool=false \
4848
-Dmaven.wagon.http.retryHandler.class=standard \
49+
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
4950
-Dmaven.wagon.http.retryHandler.count=3 \
51+
-Dmaven.resolver.transport=wagon \
5052
-Dspring-boot.build-image.skip=true
5153
5254
touch /tmp/test_times_${{ env.CURRENT_INDEX }}.txt

.github/workflows/composites/run-and-save-test-times-when-cache-present/action.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ runs:
155155
-Dhttp.keepAlive=false \
156156
-Dmaven.wagon.http.pool=false \
157157
-Dmaven.wagon.http.retryHandler.class=standard \
158+
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
158159
-Dmaven.wagon.http.retryHandler.count=3 \
160+
-Dmaven.resolver.transport=wagon \
159161
-Dspring-boot.build-image.skip=true
160162

161163
touch /tmp/test_times_${{ env.CURRENT_INDEX }}.txt

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# if: github.repository_owner == 'spring-cloud'
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
ref: docs-build
2222
fetch-depth: 1

.github/workflows/maven.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: ./.github/workflows/composites/cache
4242

4343
- name: Show caches
44-
uses: actions/github-script@v6
44+
uses: actions/github-script@v7
4545
with:
4646
script: |
4747
const caches = await github.rest.actions.getActionsCacheList({
@@ -63,7 +63,7 @@ jobs:
6363

6464
- name: check test times cache exists
6565
id: check_files
66-
uses: andstor/file-existence-action@v2
66+
uses: andstor/file-existence-action@v3
6767
with:
6868
files: /tmp/sorted.txt
6969

.settings.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
</repository>
4747
</repositories>
4848
<pluginRepositories>
49+
<pluginRepository>
50+
<id>central</id>
51+
<url>https://repo1.maven.org/maven2/</url>
52+
</pluginRepository>
4953
<pluginRepository>
5054
<id>spring-snapshots</id>
5155
<name>Spring Snapshots</name>

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This reference guide covers how to use Spring Cloud Kubernetes.
1313
[[why-do-you-need-spring-cloud-kubernetes]]
1414
== Why do you need Spring Cloud Kubernetes?
1515

16-
Spring Cloud Kubernetes provides implementations of well known Spring Cloud interfaces allowing developers to build and run Spring Cloud applications on Kubernetes. While this project may be useful to you when building a cloud native application, it is also not a requirement in order to deploy a Spring Boot app on Kubernetes. If you are just getting started in your journey to running your Spring Boot app on Kubernetes you can accomplish a lot with nothing more than a basic Spring Boot app and Kubernetes itself. To learn more, you can get started by reading the https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#cloud-deployment-kubernetes[Spring Boot reference documentation for deploying to Kubernetes ] and also working through the workshop material https://hackmd.io/@ryanjbaxter/spring-on-k8s-workshop[Spring and Kubernetes].
16+
Spring Cloud Kubernetes provides implementations of well known Spring Cloud interfaces allowing developers to build and run Spring Cloud applications on Kubernetes. While this project may be useful to you when building a cloud native application, it is also not a requirement in order to deploy a Spring Boot app on Kubernetes. If you are just getting started in your journey to running your Spring Boot app on Kubernetes you can accomplish a lot with nothing more than a basic Spring Boot app and Kubernetes itself. To learn more, you can get started by reading the https://docs.spring.io/spring-boot/how-to/deployment/cloud.html#howto.deployment.cloud.kubernetes[Spring Boot reference documentation for deploying to Kubernetes ] and also working through the workshop material https://hackmd.io/@ryanjbaxter/spring-on-k8s-workshop[Spring and Kubernetes].
1717

1818
[[configuration-properties]]
1919
== Configuration properties

docs/modules/ROOT/pages/discovery-client.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[discoveryclient-for-kubernetes]]
22
= DiscoveryClient for Kubernetes
33

4-
This project provides an implementation of https://github.com/spring-cloud/spring-cloud-commons/blob/master/spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/DiscoveryClient.java[Discovery Client]
4+
This project provides an implementation of https://github.com/spring-cloud/spring-cloud-commons/blob/main/spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/DiscoveryClient.java[Discovery Client]
55
for https://kubernetes.io[Kubernetes].
66
This client lets you query Kubernetes endpoints (see https://kubernetes.io/docs/user-guide/services/[services]) by name.
77
A service is typically exposed by the Kubernetes API server as a collection of endpoints that represent `http` and `https` addresses and that a client can

0 commit comments

Comments
 (0)