#!/usr/bin/env bash set -o errexit set -o nounset set -o pipefail set +x # if last expected argument is missing, not enough args were passed # "$#" is not feasible in this case since the last arg passed is a glob, currently "$#" ~= 600 if [ -z "$3" ]; then echo "lift, WAREHOUSE_CACHE, and WAREHOUSE_PATH are required args" >&2 exit 1 else echo "Updating warehouse image layout fixtures..." >&2 fi lift="$1" export WAREHOUSE_CACHE="$2" export WAREHOUSE_PATH="$(pwd)/$3" export VERSION="7.7.7" # point build info to older commit export SOURCE="https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1" export REVISION="696897a3df910b6e84a88c9336907a17b18159c1" export CREATED=1676582799 "$lift" pack pallets/real/... "$lift" pack pallets/test-pallets/... # pack and tag cert-manager-conflict pallet "$lift" pack --tag=resolve-conflict pallets/test-conflict/cert-manager-conflict