summaryrefslogtreecommitdiffstats
path: root/ansible/create_node_pod_yaml.yml
blob: b94a5fdee7e95016a155b668fa0e8429e1216c72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# SPDX-license-identifier: Apache-2.0

echo "--------------------------------------------------------"
vols="-v $WORKSPACE/allrepos/:/home/opnfv/anteater/allrepos/"
echo "Pulling releng-anteater docker image"
echo "--------------------------------------------------------"
docker pull opnfv/releng-anteater
echo "--------------------------------------------------------"
cmd="docker run -id $vols opnfv/releng-anteater /bin/bash"
echo "Running docker command $cmd"
container_id=
>$WORKSPACE/"$project".securityaudit.log 2>&1 done exit_code=$? echo "--------------------------------------------------------" echo "Stopping docker container with ID $container_id" docker stop $container_id #gsutil cp $WORKSPACE/securityaudit.log \ # gs://$GS_URL/$PROJECT-securityaudit-weekly.log 2>&1 # #gsutil -m setmeta \ # -h "Content-Type:text/html" \ # -h "Cache-Control:private, max-age=0, no-transform" \ # gs://$GS_URL/$PROJECT-securityaudit-weekly.log > /dev/null 2>&1