Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy_complete_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
IBM_CLOUD_REGION: ${{ vars.IBM_CLOUD_REGION || 'us-south' }}
CR_NAMESPACE: ${{ vars.IBM_CR_NAMESPACE || 'rag_modulo' }}
# ICR uses shortened region names: us-south -> us, eu-gb -> uk, ca-tor -> ca, etc.
ICR_REGION: ${{ vars.IBM_CLOUD_REGION == 'eu-gb' && 'uk' || (vars.IBM_CLOUD_REGION == 'us-south' && 'us' || (vars.IBM_CLOUD_REGION == 'us-east' && 'us' || (vars.IBM_CLOUD_REGION == 'ca-tor' && 'ca' || vars.IBM_CLOUD_REGION))) }}

Check warning on line 88 in .github/workflows/deploy_complete_app.yml

View workflow job for this annotation

GitHub Actions / YAML Lint

88:121 [line-length] line too long (230 > 120 characters)

# Prevent concurrent deployments to avoid conflicts
concurrency:
Expand Down Expand Up @@ -212,7 +212,7 @@
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile.codeengine
file: ./backend/Dockerfile.backend
platforms: linux/amd64
push: true
tags: ${{ env.ICR_REGION }}.icr.io/${{ env.CR_NAMESPACE }}/${{ env.BACKEND_APP_NAME }}:${{ github.sha }}
Expand Down Expand Up @@ -393,7 +393,7 @@
--max-scale 5 \
--cpu 1 \
--memory 4G \
--env DATABASE_URL="postgresql://$COLLECTIONDB_USER:$COLLECTIONDB_PASS@$COLLECTIONDB_HOST:$COLLECTIONDB_PORT/$COLLECTIONDB_NAME?sslmode=require" \

Check warning on line 396 in .github/workflows/deploy_complete_app.yml

View workflow job for this annotation

GitHub Actions / YAML Lint

396:121 [line-length] line too long (160 > 120 characters)
--env MILVUS_HOST="$MILVUS_HOST" \
--env MILVUS_PORT="$MILVUS_PORT" \
--env MINIO_ENDPOINT="$MINIO_ENDPOINT" \
Expand All @@ -414,7 +414,7 @@
--cpu 1 \
--memory 4G \
--port 8000 \
--env DATABASE_URL="postgresql://$COLLECTIONDB_USER:$COLLECTIONDB_PASS@$COLLECTIONDB_HOST:$COLLECTIONDB_PORT/$COLLECTIONDB_NAME?sslmode=require" \

Check warning on line 417 in .github/workflows/deploy_complete_app.yml

View workflow job for this annotation

GitHub Actions / YAML Lint

417:121 [line-length] line too long (160 > 120 characters)
--env MILVUS_HOST="$MILVUS_HOST" \
--env MILVUS_PORT="$MILVUS_PORT" \
--env MINIO_ENDPOINT="$MINIO_ENDPOINT" \
Expand Down Expand Up @@ -521,7 +521,7 @@

- name: Test Backend Health
run: |
BACKEND_URL=$(ibmcloud ce app get --name "${{ env.BACKEND_APP_NAME }}" --output json | jq -r '.status.url' | head -1)

Check warning on line 524 in .github/workflows/deploy_complete_app.yml

View workflow job for this annotation

GitHub Actions / YAML Lint

524:121 [line-length] line too long (127 > 120 characters)
if [ -n "$BACKEND_URL" ]; then
echo "Testing backend at: $BACKEND_URL/health"
if curl -f -s "$BACKEND_URL/health" > /dev/null; then
Expand All @@ -537,7 +537,7 @@

- name: Test Frontend Health
run: |
FRONTEND_URL=$(ibmcloud ce app get --name "${{ env.FRONTEND_APP_NAME }}" --output json | jq -r '.status.url' | head -1)

Check warning on line 540 in .github/workflows/deploy_complete_app.yml

View workflow job for this annotation

GitHub Actions / YAML Lint

540:121 [line-length] line too long (129 > 120 characters)
if [ -n "$FRONTEND_URL" ]; then
echo "Testing frontend at: $FRONTEND_URL"
if curl -f -s "$FRONTEND_URL" > /dev/null; then
Expand All @@ -553,8 +553,8 @@

- name: Test Application Integration
run: |
BACKEND_URL=$(ibmcloud ce app get --name "${{ env.BACKEND_APP_NAME }}" --output json | jq -r '.status.url' | head -1)

Check warning on line 556 in .github/workflows/deploy_complete_app.yml

View workflow job for this annotation

GitHub Actions / YAML Lint

556:121 [line-length] line too long (127 > 120 characters)
FRONTEND_URL=$(ibmcloud ce app get --name "${{ env.FRONTEND_APP_NAME }}" --output json | jq -r '.status.url' | head -1)

Check warning on line 557 in .github/workflows/deploy_complete_app.yml

View workflow job for this annotation

GitHub Actions / YAML Lint

557:121 [line-length] line too long (129 > 120 characters)
echo "✅ Complete application deployed successfully!"
echo "Backend URL: $BACKEND_URL"
echo "Frontend URL: $FRONTEND_URL"
Expand Down
Loading