Skip to content

Commit

Permalink
Merge branch 'gitops-docs-main' into RHDEVDOCS-5999
Browse files Browse the repository at this point in the history
  • Loading branch information
Srivaralakshmi committed Apr 5, 2024
2 parents dc2bed2 + 1f455e4 commit e11810b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 0 additions & 3 deletions scripts/get-updated-preview-urls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ done
# Make the HTML URL slug
if [ ${#assemblies[@]} -gt 0 ]; then
updated_pages=$(echo "${assemblies[@]}" | sed 's/\.adoc$/.html/' | sort | uniq)
else
# No updated pages, just add default URL
pages+=("${preview_url}")
fi

# Search built_pages for every entry in updated_pages and add to pages array when it is found
Expand Down
9 changes: 8 additions & 1 deletion scripts/prow-smoke-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ TEST=$1
DISTRO=$2
PRODUCT_NAME=$3
VERSION=$4
CONTAINER_IMAGE=quay.io/redhat-docs/openshift-docs-asciidoc
ARCH=$(uname -m)
if [[ $ARCH == x86_64 ]]; then
TAG=latest
elif [[ $ARCH == aarch64 ]]; then
TAG=multiarch
fi
CONTAINER_IMAGE=quay.io/redhat-docs/openshift-docs-asciidoc:$TAG
SCRIPT_HEADSIZE=$(head -30 ${0} |grep -n "^# END_OF_HEADER" | cut -f1 -d:)

if [[ "$1" == "--help" || "$1" == "-h" ]]; then
Expand All @@ -52,6 +58,7 @@ else
fi

echo "CONTAINER_ENGINE=$CONTAINER_ENGINE 🐳"
echo "CONTAINER_IMAGE=$CONTAINER_IMAGE"

# Get the default container $WORKDIR
CONTAINER_WORKDIR=$($CONTAINER_ENGINE run --rm $CONTAINER_IMAGE /bin/bash -c 'echo $PWD')
Expand Down

0 comments on commit e11810b

Please sign in to comment.