#!/bin/bash
# mr5.5: separate 'check' stage for ngcp-upgrade (TT#21601)

set -e

### Mandatory environment variables
: "${OLD_VERSION?ERROR: Missing mandatory environment variable 'OLD_VERSION', cannot continue.}"
: "${UPGRADE_VERSION?ERROR: Missing mandatory environment variable 'UPGRADE_VERSION', cannot continue.}"

echo "Checking for upgrade from '${OLD_VERSION}' to '${UPGRADE_VERSION}' started on $(date)"
