X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=tools%2Fdeploy_site.sh;h=26ce52ac816540e8408836246fb7ec89325b4c10;hb=refs%2Fchanges%2F69%2F369%2F1;hp=2db8214c57b8550dffff0d2c2b62cb8691b90c39;hpb=d743ec6c91f97cc9f5b944a8d0a609883440b14e;p=yaml_builds.git diff --git a/tools/deploy_site.sh b/tools/deploy_site.sh index 2db8214..26ce52a 100755 --- a/tools/deploy_site.sh +++ b/tools/deploy_site.sh @@ -1,6 +1,6 @@ #!/bin/bash ############################################################################## -# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # +# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. # # # # Licensed under the Apache License, Version 2.0 (the "License"); you may # # not use this file except in compliance with the License. # @@ -17,6 +17,10 @@ set -x +TIMESTAMP=$(date +"%Y%m%d%H%M") +echo "logging to /var/log/deploy_site_$TIMESTAMP.log" +exec > /var/log/deploy_site_$TIMESTAMP.log +exec 2>&1 # Regional Server specific variables KEYSTONE_IMAGE= @@ -67,13 +71,14 @@ getactions(){ sleep 5 } -#clean_configdocs -#create_configdocs -#commit_configdocs +sleep 900 +clean_configdocs +create_configdocs +commit_configdocs renderedconfigdocs -#deploy_site -getactions +deploy_site +#getactions #update_site ##