Skip to content

Commit 515ae37

Browse files
committed
wip
1 parent a84e3e8 commit 515ae37

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

.github/actions/deploy-to-control-plane/action.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,6 @@ runs:
142142
cpflow setup-app -a ${{ inputs.app_name }}
143143
fi
144144
145-
echo "🔧 Ensuring rails template is applied..."
146-
if ! cpflow list-workloads -a ${{ inputs.app_name }} --org ${{ inputs.org }} | grep -q "rails"; then
147-
echo "📦 Applying rails template..."
148-
if ! cpflow apply-template rails -a ${{ inputs.app_name }} --org ${{ inputs.org }}; then
149-
echo "❌ Failed to apply rails template"
150-
exit 1
151-
fi
152-
fi
153-
154145
- name: Update Status - Building
155146
uses: actions/github-script@v7
156147
with:

.github/actions/deploy-to-control-plane/scripts/deploy.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@ fi
2929
TEMP_OUTPUT=$(mktemp)
3030
trap 'rm -f "$TEMP_OUTPUT"' EXIT
3131

32-
# Build the Docker image
33-
echo "🏗️ Building Docker image"
34-
if ! cpflow build-image -a "$APP_NAME" --org "$CPLN_ORG" --verbose 2>&1 | tee "$TEMP_OUTPUT"; then
35-
echo "❌ Image build failed"
36-
echo "Full output:"
37-
cat "$TEMP_OUTPUT"
38-
exit 1
39-
fi
40-
4132
# Deploy the application
4233
echo "🚀 Deploying to Control Plane (timeout: ${WAIT_TIMEOUT}s)"
4334
if ! timeout "${WAIT_TIMEOUT}" cpflow deploy-image -a "$APP_NAME" --run-release-phase --org "$CPLN_ORG" --verbose 2>&1 | tee "$TEMP_OUTPUT"; then

.github/workflows/deploy-to-control-plane.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Deploy Review App to Control Plane
22

3-
run-name: ${{ github.event_name == 'issue_comment' && 'Deploying Review App' || format('Updating Review App for {0}', github.ref_name) }}
3+
run-name: ${{ github.event_name == 'issue_comment' && format('Deploying Review App for PR #{0}', github.event.issue.number) || format('Updating Review App for PR #{0}', env.PR_NUMBER) }}
44

55
on:
66
issue_comment:

0 commit comments

Comments
 (0)