Skip to content

Commit 04570c4

Browse files
committed
update scripts
1 parent 73035b5 commit 04570c4

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

air_gapped/build.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ if [[ ! -d ~/.git-references/built-docs.git ]]; then
1414
fi
1515

1616
# Get an up to date copy of the repo
17-
rm -rf air_gapped/work
18-
mkdir air_gapped/work
19-
git clone --reference ~/.git-references/built-docs.git --dissociate \
20-
--depth 2 --branch master --bare \
21-
[email protected]:elastic/built-docs.git air_gapped/work/target_repo.git
17+
#rm -rf air_gapped/work
18+
#mkdir air_gapped/work
19+
#git clone --reference ~/.git-references/built-docs.git --dissociate \
20+
# --depth 2 --branch master --bare \
21+
# [email protected]:elastic/built-docs.git air_gapped/work/target_repo.git
22+
2223
GIT_DIR=air_gapped/work/target_repo.git git fetch
2324

2425
# Build the images
25-
source preview/build.sh
2626
DOCKER_BUILDKIT=1 docker build -t $AIR_GAPPED -f air_gapped/Dockerfile .

air_gapped/test.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ set -e
1010
cd $(git rev-parse --show-toplevel)
1111

1212
source ./air_gapped/build.sh
13-
id=$(docker run --rm \
14-
--publish 8000:8000/tcp \
15-
-d \
16-
$AIR_GAPPED)
13+
id=$(docker run --rm --publish 3000:3000 -d $AIR_GAPPED)
14+
1715
echo "Started the air gapped docs. Some useful commands:"
1816
echo " docker kill $id"
1917
echo " docker logs -tf $id"
2018
echo "You should eventually be able to access:"
21-
echo " http://master.localhost:8000/guide/index.html"
19+
echo " http://master.localhost:3000/guide/index.html"

0 commit comments

Comments
 (0)