infracloud/dev-scripts/update_deployment.sh

10 lines
411 B
Bash

#!/bin/bash
export MSYS_NO_PATHCONV=1
DEPLOY_ID='ocid1.apideployment.oc1.sa-saopaulo-1.amaaaaaasks3yliakj26vsah6we4nohbzrdi67epapwfewrtdah64qu5ujyq'
echo "Updating deployment: ${DEPLOY_ID:0:40}..."
oci api-gateway deployment update \
--deployment-id "$DEPLOY_ID" \
--specification "file://C:/dev/mfe_shell_spa_spec.json" \
--force \
--wait-for-state SUCCEEDED \
--max-wait-seconds 120 2>&1 | tail -10