UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 6128ac03 authored by razzle's avatar razzle :sparkles:
Browse files

uncomment

parent 628f3167
No related branches found
Tags v0.9.0
No related merge requests found
# include:
# - project: 'platform-one/big-bang/pipeline-templates/pipeline-templates'
# ref: bb-docs-v2-upgrade
# file: '/pipelines/bigbang-docs.yaml'
stages:
- test
test:
image: registry.dso.mil/platform-one/big-bang/pipeline-templates/pipeline-templates/bb-ci:2.4.67-beta-2
stage: test
script:
- echo "Browser binaries located at $PLAYWRIGHT_BROWSERS_PATH"
# - mkdir ~/.cache/dconf
- poetry install --no-dev
- npm install --global prettier
- npm ci
- poetry run bb-docs-compiler
- python3 -m http.server --directory site &>/dev/null &
- |
counter=10
while [ $(curl -LI http://localhost:8000 -o /dev/null -w '%{http_code}\n' -s) -ne 200 ]
do
if [ $counter -eq 0 ]
then
echo "Timed out waiting for "localhost:8000" to be ready"
exit 1
fi
counter=$(($counter - 1))
echo "[$((10 - $counter))/10] Waiting for 'localhost:8000' to be ready"
sleep 5
done
- npm test
- kill %1
include:
- project: 'platform-one/big-bang/pipeline-templates/pipeline-templates'
ref: bb-docs-v2-upgrade
file: '/pipelines/bigbang-docs.yaml'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment