diff --git a/try-margo/margo-installer/verify_edge_app_works_on_margo.sh b/try-margo/margo-installer/verify_edge_app_works_on_margo.sh index 680370b..5b5a5cb 100755 --- a/try-margo/margo-installer/verify_edge_app_works_on_margo.sh +++ b/try-margo/margo-installer/verify_edge_app_works_on_margo.sh @@ -67,6 +67,9 @@ if [ -z "${DEVICE_ID}" ]; then exit 1 fi +# to make it stable +sleep 10 + echo "Deploying application on edge.." sudo -E bash wfm-cli.sh deploy-non-interactive ${PACKAGE_ID} ${DEVICE_ID} if [ $? -ne 0 ]; then @@ -74,6 +77,14 @@ if [ $? -ne 0 ]; then exit 1 fi +# to make it stable +sleep 10 + +echo "Logs of symphony-api-container ----------------------------------------------------------" +sudo docker logs symphony-api-container + +sleep 10 + echo "Checking deployment.." sudo -E bash wfm-cli.sh list-deployments diff --git a/try-margo/plugfest202607/apps/edge-app/application-description/margo.yaml b/try-margo/plugfest202607/apps/edge-app/application-description/margo.yaml index 42ebb12..e2bce2b 100644 --- a/try-margo/plugfest202607/apps/edge-app/application-description/margo.yaml +++ b/try-margo/plugfest202607/apps/edge-app/application-description/margo.yaml @@ -18,6 +18,12 @@ deploymentProfiles: repository: oci://harbor.machine:8443/library/edge-app-chart revision: 1.0.0 wait: true + - type: compose + id: oomichi-melco-edge-app-compose-a + components: + - name: edge-app-docker + properties: + packageLocation: https://raw.githubusercontent.com/oomichi-melco/try-margo/refs/heads/main/try-margo/plugfest202607/apps/edge-app/docker-compose/compose.yaml parameters: greeting: value: harbor.machine:8443/edge-app