Skip to content

Commit 1ad856e

Browse files
committed
reduce presets
1 parent 46835e4 commit 1ad856e

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function installApp(app, page) {
8383
await page.getByRole('button', {name: 'Sign In'}).click()
8484
await takeScreenshot(page, __filename, 'logged-in');
8585

86-
const apps = ['bakery-cc', 'bakery', 'cc-starter'];
86+
const apps = ['cc-starter', 'bakery-cc', 'bakery'];
8787
for (const app of apps) {
8888
await installApp(app, page);
8989
}

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

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ compileCCStarter() {
2626
log -n "* Building $APP app *"
2727
computeMvn
2828
PRESETS=""
29-
for i in latest-java partial-auth partial-controlcenter partial-kubernetes partial-prerelease partial-flow-example-auth-views partial-hilla-example-views partial-hilla-example-auth-views
29+
APPS="latest-java partial-auth partial-controlcenter partial-kubernetes partial-prerelease partial-hilla-example-views partial-flow-example-auth-views partial-hilla-example-auth-views"
30+
APPS="latest-java partial-auth partial-controlcenter partial-kubernetes partial-prerelease partial-hilla-example-views"
31+
for i in $APPS
3032
do
3133
PRESETS="$PRESETS&preset=$i"
3234
done
@@ -66,15 +68,12 @@ compileCC() {
6668
## Build Apps used in CC and CC itself if testing the snapshot
6769
# $1 whether CC version is snapshot or not
6870
buildCC() {
69-
log -n "** Building Control Center and APPS **"
71+
log -n "** Building Control Center and APPS - $VERSION $CCVERSION $1 **"
7072
local D=$PWD
7173
if [ -z "$SKIPBUILD" ]; then
72-
[ "$1" != true ] || compileCC || return 1
73-
cd $D
74-
compileCCStarter || return 1
75-
cd $D
76-
compileBakery || return 1
77-
cd $D
74+
[ "$1" != true ] || compileCC || return 1 ; cd $D
75+
compileCCStarter || return 1 ; cd $D
76+
compileBakery || return 1 ; cd $D
7877
fi
7978
[ -n "$SKIPHELM" ] || runCmd -q "Update helm dependencies" helm dependency build charts/control-center
8079
prepareRegistry || return 1

0 commit comments

Comments
 (0)