Andreas Jaeger c1cc9cae1f Cleanup jobs and config
Use promote jobs for all publishing jobs, they work fine.

We don't use checkbuild/checklang anymore, remove it.

Keep checkbuild job until we have renamed training-guides to use the new
job.

Change-Id: I882fd90f07987358cd55e3a04a8f7ad0c746ce80
2019-08-16 16:19:56 +02:00

20 lines
562 B
Bash
Executable File

#!/bin/bash -xe
if [[ -d publish-docs/html/www/ ]]; then
output=publish-docs/html/www
else
output=publish-docs/html/
fi
.tox/publishdocs/bin/python tools/www-generator.py --verbose --source-directory www/ \
--output-directory $output $@
if [[ $? -eq 0 ]]; then
rsync -a www/static/ $output
fi
# publish-docs/html/www-index.html is the trigger for openstack-indexpage
# to include the file.
#mv publish-docs/html/www/www-index.html publish-docs/html/www-index.html
.tox/publishdocs/bin/whereto $output/.htaccess $output/redirect-tests.txt