4 TIMESTAMP=$(date +"%Y%m%d%H%M")
5 LOGFILE=/var/log/update_software_$TIMESTAMP.log
6 echo "logging to $LOGFILE"
7 exec 1> >(tee -a $LOGFILE)
10 # Site specific variables
11 export OS_AUTH_URL="http://iam-sw.vran.k2.ericsson.se:80/v3"
12 export OS_USERNAME=shipyard
13 export OS_PASSWORD=password123
16 tools/airship shipyard create configdocs ${REGION_NAME} --directory=/target/configs/promenade
18 tools/airship shipyard commit configdocs
20 tools/airship shipyard create action update_software
22 tools/airship shipyard get actions
24 # Monitor the workflow
25 #SHIPYARD_ACTION=$(tools/airship shipyard get actions | awk '/update_software/ {print $2};')
26 #tools/airship shipyard describe $SHIPYARD_ACTION