Skip to content

Commit b24fc56

Browse files
committed
set spring version
1 parent 3638c1a commit b24fc56

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

scripts/pit/its/cc-install-apps.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ async function installApp(app, page) {
3636
await envDialog.getByPlaceholder('Name').locator('input').fill('SPRING_FLYWAY_ENABLED');
3737
await envDialog.getByPlaceholder('Value').locator('input').fill('false');
3838
await envDialog.getByLabel("Add").click();
39+
await envDialog.getByPlaceholder('Name').locator('input').fill('SHOW_INFO');
40+
await envDialog.getByPlaceholder('Value').locator('input').fill('true');
41+
await envDialog.getByLabel("Add").click();
3942
await takeScreenshot(page, __filename, `env-dialog-filled-${app}`);
4043
await envDialog.getByLabel("Close").click();
4144

scripts/pit/lib/lib-k8s-apps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ compileBakery() {
1212
computeMvn
1313
checkoutDemo $CC_APP_REPO || return 1
1414
setDemoVersion $CC_APP_REPO $VERSION >/dev/null || return 1
15-
applyPatches $APP "" $APP "" || return 1
15+
applyPatches $APP next "$VERSION" prod || return 1
1616
setMvnDependencyVersion com.vaadin control-center-starter "$CCVERSION" "-Pcontrol-center" || return 1
1717
runToFile "'$MVN' -ntp -B clean install -Pproduction -DskipTests" "compile-$APP.out" "$VERBOSE" || return 1
1818
runCmd "Building Docker image for $APP" docker build -t $REGISTRY/$APP:local . || return 1

scripts/pit/lib/lib-patch.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
## These especial patches are loaded and applied in this script
1010

1111
## Run after updating Vaadin/Hilla versions in order to patch sources
12+
# $1 application/starter name
13+
# $2 type (current | next)
14+
# $3 version
15+
# $4 mode (dev | prod)
1216
applyPatches() {
1317
app_=$1; type_=$2; vers_=$3; mod_=$4
1418
[ -n "$TEST" ] || log "Applying Patches for $app_ $type_ $vers_"
@@ -47,7 +51,8 @@ applyPatches() {
4751
;;
4852
esac
4953
case "$vers_" in
50-
24.8.0.beta1) runCmd "Installing magic-string for $vers_" "npm i -S magic-string";;
54+
# 24.8.0.beta1) runCmd "Installing magic-string for $vers_" "npm i -S magic-string";;
55+
24.8.0*) changeMavenBlock parent org.springframework.boot spring-boot-starter-parent 3.5.0 ;;
5156
esac
5257

5358
# always successful

0 commit comments

Comments
 (0)