File tree 2 files changed +8
-8
lines changed
deploy-to-control-plane/scripts
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,6 @@ if ! timeout "${WAIT_TIMEOUT}" cpflow deploy-image -a "$APP_NAME" --run-release-
38
38
exit 1
39
39
fi
40
40
41
- # Extract app URL from deployment output
42
- APP_URL=$( grep -oP ' https://[^[:space:]]*\.cpln\.app(?=\s|$)' " $TEMP_OUTPUT " | head -n1)
43
- if [ -z " $APP_URL " ]; then
44
- echo " ❌ Error: Could not find app URL in deployment output"
45
- exit 1
46
- fi
47
-
48
41
# Wait for all workloads to be ready
49
42
echo " ⏳ Waiting for all workloads to be ready (timeout: ${WAIT_TIMEOUT} s)"
50
43
if ! timeout " ${WAIT_TIMEOUT} " bash -c " cpflow ps:wait -a \" $APP_NAME \" " 2>&1 | tee -a " $TEMP_OUTPUT " ; then
@@ -59,6 +52,13 @@ if ! timeout "${WAIT_TIMEOUT}" bash -c "cpflow ps:wait -a \"$APP_NAME\"" 2>&1 |
59
52
exit 1
60
53
fi
61
54
55
+ # Extract app URL from deployment output
56
+ APP_URL=$( grep -oP ' https://[^[:space:]]*\.cpln\.app(?=\s|$)' " $TEMP_OUTPUT " | head -n1)
57
+ if [ -z " $APP_URL " ]; then
58
+ echo " ❌ Error: Could not find app URL in deployment output"
59
+ exit 1
60
+ fi
61
+
62
62
echo " ✅ Deployment successful"
63
63
echo " 🌐 App URL: $APP_URL "
64
64
echo " APP_URL=$APP_URL " >> " $GITHUB_OUTPUT "
Original file line number Diff line number Diff line change 24
24
run : |
25
25
sudo npm install -g @controlplane/[email protected]
26
26
cpln --version
27
- gem install cpflow -v 4.1.0
27
+ gem install cpflow -v 4.1.1
28
28
cpflow --version
29
29
30
30
- name : Setup Control Plane Profile
You can’t perform that action at this time.
0 commit comments