File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
deploy-to-control-plane/scripts Expand file tree Collapse file tree 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-
3838 exit 1
3939fi
4040
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-
4841# Wait for all workloads to be ready
4942echo " ⏳ Waiting for all workloads to be ready (timeout: ${WAIT_TIMEOUT} s)"
5043if ! 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 |
5952 exit 1
6053fi
6154
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+
6262echo " ✅ Deployment successful"
6363echo " 🌐 App URL: $APP_URL "
6464echo " APP_URL=$APP_URL " >> " $GITHUB_OUTPUT "
Original file line number Diff line number Diff line change 2424 run : |
2525 sudo npm install -g @controlplane/[email protected] 2626 cpln --version
27- gem install cpflow -v 4.1.0
27+ gem install cpflow -v 4.1.1
2828 cpflow --version
2929
3030 - name : Setup Control Plane Profile
You can’t perform that action at this time.
0 commit comments