...
1#!/usr/bin/env bash
2
3set -o errexit
4set -o nounset
5set -o pipefail
6set +x
7
8# if last expected argument is missing, not enough args were passed
9# "$#" is not feasible in this case since the last arg passed is a glob, currently "$#" ~= 600
10if [ -z "$3" ]; then
11 echo "lift, WAREHOUSE_CACHE, and WAREHOUSE_PATH are required args" >&2
12 exit 1
13else
14 echo "Updating warehouse image layout fixtures..." >&2
15fi
16
17lift="$1"
18export WAREHOUSE_CACHE="$2"
19export WAREHOUSE_PATH="$(pwd)/$3"
20export VERSION="7.7.7"
21
22# point build info to older commit
23export SOURCE="https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1"
24export REVISION="696897a3df910b6e84a88c9336907a17b18159c1"
25export CREATED=1676582799
26
27"$lift" pack pallets/real/...
28
29"$lift" pack pallets/test-pallets/...
30
31# pack and tag cert-manager-conflict pallet
32"$lift" pack --tag=resolve-conflict pallets/test-conflict/cert-manager-conflict
View as plain text