We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bed5ec commit 95ebfaaCopy full SHA for 95ebfaa
bin/codedeploy/ValidateService.sh
@@ -14,6 +14,8 @@ ${DEBUG:-false} && set -vx
14
# and http://wiki.bash-hackers.org/scripting/debuggingtips
15
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
16
17
+GAUNTLT_RESULTS=/app/build/gauntlt-results.html
18
+
19
check_every() {
20
local delay=${1:-}
21
local host="http://localhost/"
@@ -29,4 +31,7 @@ echo "Checking web server availability"
29
31
check_every 2
30
32
33
echo "Scanning with openscap and gauntlt"
34
+mkdir -p /app/build
35
+cat < /dev/null > "$GAUNTLT_RESULTS"
36
+chown centos:centos "$GAUNTLT_RESULTS"
37
sudo -u centos HOME=/home/centos /app/bin/ansible.sh scan-openscap.yml scan-gauntlt.yml
0 commit comments