From c9bee793850bae72c3889a47ccabfacfde59957b Mon Sep 17 00:00:00 2001 From: Mario Cattamo Date: Wed, 24 Apr 2024 13:46:29 +0200 Subject: [PATCH] update readme --- README.md | 2 +- ostree-ng.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e9b79a6..1472293 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# RHEL-Edge +# RHEL-Edge1 RHEL-Edge help [documentation](HELP.md) diff --git a/ostree-ng.sh b/ostree-ng.sh index f22c8f4..79c63a2 100755 --- a/ostree-ng.sh +++ b/ostree-ng.sh @@ -11,7 +11,7 @@ source /etc/os-release ARCH=$(uname -m) TEST_UUID=$(uuidgen) IMAGE_KEY="ostree-ng-${TEST_UUID}" -QUAY_REPO_URL="docker://quay.io/rh_ee_mcattamo/test-repository" +QUAY_REPO_URL="docker://quay.io/rhel-edge/edge-containers" QUAY_REPO_TAG=$(tr -dc a-z0-9 < /dev/urandom | head -c 4 ; echo '') BIOS_GUEST_ADDRESS=192.168.100.50 UEFI_GUEST_ADDRESS=192.168.100.51 @@ -669,7 +669,7 @@ greenprint "Running stage repo in OCP4" oc login --token="${OCP4_TOKEN}" --server=https://api.ocp-c1.prod.psi.redhat.com:6443 -n rhel-edge --insecure-skip-tls-verify oc process -f tools/edge-stage-server-template.yaml -p EDGE_STAGE_REPO_TAG="${QUAY_REPO_TAG}" -p EDGE_STAGE_SERVER_NAME="${STAGE_OCP4_SERVER_NAME}" | oc apply -f - -for _ in $(seq 0 60); do +for _ in $(seq 0 120); do RETURN_CODE=$(curl -o /dev/null -s -w "%{http_code}" "${STAGE_OCP4_REPO_URL}refs/heads/${OSTREE_REF}") if [[ $RETURN_CODE == 200 ]]; then echo "Stage repo is ready"