Commit 98460a4d authored by Elizabeth Halper's avatar Elizabeth Halper
Browse files

proper comment

parent 1a3d7a00
Pipeline #115429 failed with stages
in 15 minutes and 47 seconds
......@@ -66,10 +66,10 @@ filemetadata_azure_deploy:
- helm upgrade $FILEMETADATA_AZURE_SERVICE ${CHART_PATH} --install --dry-run --values $CHART_PATH/values.yaml
- helm upgrade $FILEMETADATA_AZURE_SERVICE ${CHART_PATH} --install --values $CHART_PATH/values.yaml
# Wait for service to be running to start
- kubectl rollout status deployment.v1.apps/$FILEMETADATA_SERVICE_NAME -n osdu --timeout=900s
- pod=$(kubectl get pod -n osdu|grep $FILEMETADATA_LOCAL_SERVICE_NAME |tail -1 |awk '{print $1}')
- status=$(kubectl wait -n osdu --for=condition=Ready pod/$pod --timeout=600s)
- if [[ "$status" != *"met"* ]]; then echo "POD didn't start correctly" ; exit 1 ; fi
# - kubectl rollout status deployment.v1.apps/$FILEMETADATA_SERVICE_NAME -n osdu --timeout=900s
# - pod=$(kubectl get pod -n osdu|grep $FILEMETADATA_LOCAL_SERVICE_NAME |tail -1 |awk '{print $1}')
# - status=$(kubectl wait -n osdu --for=condition=Ready pod/$pod --timeout=600s)
# - if [[ "$status" != *"met"* ]]; then echo "POD didn't start correctly" ; exit 1 ; fi
only:
changes:
- devops/**/*
......
......@@ -82,10 +82,10 @@ sdms_azure_deploy:
- helm upgrade $SDMS_SERVICE_NAME ${CHART_PATH} --install --dry-run --values $CHART_PATH/values.yaml
- helm upgrade $SDMS_SERVICE_NAME ${CHART_PATH} --install --values $CHART_PATH/values.yaml
# Wait for service to be running to start
# - kubectl rollout status deployment.v1.apps/$SDMS_SERVICE_NAME -n osdu --timeout=900s
# - pod=$(kubectl get pod -n osdu|grep $SDMS_PROJECT_NAME |tail -1 |awk '{print $1}')
# - status=$(kubectl wait -n osdu --for=condition=Ready pod/$pod --timeout=600s)
# - if [[ "$status" != *"met"* ]]; then echo "POD didn't start correctly" ; exit 1 ; fi
- kubectl rollout status deployment.v1.apps/$SDMS_SERVICE_NAME -n osdu --timeout=900s
- pod=$(kubectl get pod -n osdu|grep $SDMS_PROJECT_NAME |tail -1 |awk '{print $1}')
- status=$(kubectl wait -n osdu --for=condition=Ready pod/$pod --timeout=600s)
- if [[ "$status" != *"met"* ]]; then echo "POD didn't start correctly" ; exit 1 ; fi
only:
changes:
- devops/**/*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment