#!/bin/bash

# This script does a manual container push for a user specified hash.
# Use this in only in case you know what you are doing.

source ~/registry_secret
export SCRIPT_ROOT=/home/centos/ci-config

if [[ -z "$PROMOTE_NAME" ]]; then
    read -p "PROMOTE_NAME=" PROMOTE_NAME
fi
export PROMOTE_NAME

if [[ -z "$FULL_HASH" ]]; then
    read -p "FULL_HASH=" FULL_HASH
fi
export FULL_HASH

if [[ -z "$RELEASE" ]]; then
    read -p "RELEASE=" RELEASE
fi
export RELEASE

ansible-playbook -v container-push.yml


Add a script to manually push containers
Add a script to manually push containers

This can be useful if the promotion fails or you want to re-push some
containers.

Change-Id: Idfbd68592f618a8f442b3c78b08a5fb3b4b6b78c
