Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 23a9379

Browse files
author
Corneil du Plessis
authored
Update docs and script to 2.11.5-SNAPSHOT (#5904)
1 parent 64a4c94 commit 23a9379

18 files changed

Lines changed: 65 additions & 47 deletions

spring-cloud-dataflow-docs/src/main/asciidoc/appendix-local-k8s-development.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ This example shows the versions of the current development snapshot.
139139

140140
[source,shell]
141141
....
142-
export DATAFLOW_VERSION=2.11.4-SNAPSHOT
143-
export SKIPPER_VERSION=2.11.4-SNAPSHOT
142+
export DATAFLOW_VERSION=2.11.5-SNAPSHOT
143+
export SKIPPER_VERSION=2.11.5-SNAPSHOT
144144
....
145145

146146
Before you can install SCDF you will need to pull the following images to ensure they are present for uploading to the k8s cluster.

src/deploy/README.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,8 +1280,8 @@ <h6 id="_configure_database">Configure Database</h6>
12801280
</div>
12811281
<div class="listingblock">
12821282
<div class="content">
1283-
<pre class="CodeRay highlight"><code data-lang="shell">export DATAFLOW_VERSION=2.11.4-SNAPSHOT
1284-
export SKIPPER_VERSION=2.11.4-SNAPSHOT</code></pre>
1283+
<pre class="CodeRay highlight"><code data-lang="shell">export DATAFLOW_VERSION=2.11.5-SNAPSHOT
1284+
export SKIPPER_VERSION=2.11.5-SNAPSHOT</code></pre>
12851285
</div>
12861286
</div>
12871287
<div class="paragraph">

src/deploy/carvel/prepare-cluster.sh

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,33 @@
11
#!/usr/bin/env bash
2+
SCDIR=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
3+
K8S=$(realpath $SCDIR/../k8s)
24
bold="\033[1m"
35
dim="\033[2m"
46
end="\033[0m"
57
CERT_MANAGER_VERSION=v1.14.2
6-
SECRETGEN_CONTROLLER_VERSION=v0.17.0
8+
SECRETGEN_CONTROLLER_VERSION=v0.17.3
79
KAPP_CONTROLLER_VERSION=v0.50.0
10+
wget -q -O cert-manager-release.yml "https://github.com/cert-manager/cert-manager/releases/download/$CERT_MANAGER_VERSION/cert-manager.yaml"
11+
IMAGES=$(yq '.spec.template.spec.containers | .[] | .image' cert-manager-release.yml)
12+
for image in $IMAGES; do
13+
if [[ "$image" != "---"* ]]; then
14+
$K8S/load-image.sh "$image"
15+
fi
16+
done
17+
wget -q -O secretgen-release.yml "https://github.com/carvel-dev/secretgen-controller/releases/download/$SECRETGEN_CONTROLLER_VERSION/release.yml"
18+
IMAGES=$(yq '.spec.template.spec.containers | .[] | .image' secretgen-release.yml)
19+
for image in $IMAGES; do
20+
if [[ "$image" != "---"* ]]; then
21+
$K8S/load-image.sh "$image"
22+
fi
23+
done
24+
wget -q -O kapp-controller-release.yml https://github.com/carvel-dev/kapp-controller/releases/download/$KAPP_CONTROLLER_VERSION/release.yml
25+
IMAGES=$(yq '.spec.template.spec.containers | .[] | .image' kapp-controller-release.yml)
26+
for image in $IMAGES; do
27+
if [[ "$image" != "---"* ]]; then
28+
$K8S/load-image.sh "$image"
29+
fi
30+
done
831
start_time=$(date +%s)
932
echo "Deploying cert-manager $CERT_MANAGER_VERSION"
1033
kapp deploy --yes --wait --wait-check-interval 10s --app cert-manager \

src/deploy/carvel/register-apps.sh

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ else
4343
# unfortunately different in docker image names and registration link.
4444
BROKER_NAME=rabbitmq
4545
fi
46-
4746
if [ "$STREAM_APPS_RT_VERSION" = "" ]; then
48-
STREAM_URI="https://dataflow.spring.io/$BROKER_NAME-${TYPE}-latest"
49-
elif [[ "$STREAM_APPS_RT_VERSION" = *"SNAPSHOT"* ]]; then
47+
export STREAM_APPS_RT_VERSION=2021.1.2 # release for Boot 2.x
48+
# export STREAM_APPS_RT_VERSION=2022.0.0 # release for Boot 3.x apps
49+
fi
50+
echo "STREAM_APPS_RT_VERSION=$STREAM_APPS_RT_VERSION"
51+
if [[ "$STREAM_APPS_RT_VERSION" = *"SNAPSHOT"* ]]; then
5052
STREAM_APPS_DL_VERSION=$STREAM_APPS_RT_VERSION
5153
META_DATA="https://repo.spring.io/snapshot/org/springframework/cloud/stream/app/stream-applications-descriptor/${STREAM_APPS_RT_VERSION}/maven-metadata.xml"
5254
echo "Downloading $META_DATA"
@@ -72,16 +74,6 @@ fi
7274
echo "Registering Stream applications at $DATAFLOW_URL using $STREAM_URI"
7375
wget -qO- $DATAFLOW_URL/apps --post-data="uri=$STREAM_URI"
7476

75-
# replace with individual invocations of register_app for only those applications used.
76-
#register_app "source/file" "docker:springcloudstream/file-source-$BROKER_NAME:3.2.1"
77-
#register_app "source/ftp" "docker:springcloudstream/ftp-source-$BROKER_NAME:3.2.1"
78-
#register_app "processor/aggregator" "docker:springcloudstream/aggregator-processor-$BROKER_NAME:3.2.1"
79-
#register_app "processor/filter" "docker:springcloudstream/filter-processor-$BROKER_NAME:3.2.1"
80-
#register_app "processor/groovy" "docker:springcloudstream/groovy-processor-$BROKER_NAME:3.2.1"
81-
#register_app "processor/script" "docker:springcloudstream/script-processor-$BROKER_NAME:3.2.1"
82-
#register_app "processor/splitter" "docker:springcloudstream/splitter-processor-$BROKER_NAME:3.2.1"
83-
#register_app "processor/transform" "docker:springcloudstream/transform-processor-$BROKER_NAME:3.2.1"
84-
8577
TASK_URI=https://dataflow.spring.io/task-${TYPE}-latest
8678
echo "Registering Task applications at $DATAFLOW_URL using $TASK_URI"
8779
wget -qO- "$DATAFLOW_URL/apps" --post-data="uri=$TASK_URI"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22
if [ "$DATAFLOW_VERSION" = "" ]; then
3-
DATAFLOW_VERSION=2.11.4-SNAPSHOT
3+
DATAFLOW_VERSION=2.11.5-SNAPSHOT
44
fi
55
docker pull "springcloud/spring-cloud-dataflow-composed-task-runner:$DATAFLOW_VERSION"

src/deploy/images/pull-dataflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22
if [ "$DATAFLOW_VERSION" = "" ]; then
3-
DATAFLOW_VERSION=2.11.4-SNAPSHOT
3+
DATAFLOW_VERSION=2.11.5-SNAPSHOT
44
fi
55
docker pull "springcloud/spring-cloud-dataflow-server:$DATAFLOW_VERSION"

src/deploy/images/pull-grafana.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22
if [ "$DATAFLOW_VERSION" = "" ]; then
3-
DATAFLOW_VERSION=2.11.4-SNAPSHOT
3+
DATAFLOW_VERSION=2.11.5-SNAPSHOT
44
fi
55
docker pull "springcloud/spring-cloud-dataflow-grafana-prometheus:$DATAFLOW_VERSION"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22
if [ "$DATAFLOW_VERSION" = "" ]; then
3-
DATAFLOW_VERSION=2.11.4-SNAPSHOT
3+
DATAFLOW_VERSION=2.11.5-SNAPSHOT
44
fi
55
docker pull "springcloud/spring-cloud-dataflow-single-step-batch-job:$DATAFLOW_VERSION"

src/deploy/images/pull-skipper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
if [ "$SKIPPER_VERSION" = "" ]; then
3-
SKIPPER_VERSION=2.11.4-SNAPSHOT
3+
SKIPPER_VERSION=2.11.5-SNAPSHOT
44
fi
55

66
docker pull "springcloud/spring-cloud-skipper-server:$SKIPPER_VERSION"

src/deploy/k8s/configure-k8s.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if [ "$1" != "" ]; then
2222
export K8S_VERSION="$1"
2323
else
2424
if [ "$K8S_VERSION" == "" ]; then
25-
export K8S_VERSION="1.28"
25+
export K8S_VERSION="1.30"
2626
fi
2727
fi
2828
set +e

0 commit comments

Comments
 (0)