aboutsummaryrefslogtreecommitdiffstats
path: root/.yamllint
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-10 16:20:00 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-10 16:20:00 +0000
commitd8508c56661b0e0fb40e82e9feb1df1416749913 (patch)
tree09f2a90c1251e4723e4c0a1b0311a277f0a90990 /.yamllint
parent2eb688d9bf92880107dfafd0591ee81ad8210416 (diff)
parentee0d0d60d32192b17ee5670cf077e028c75ba29a (diff)
Merge "lib.sh: Cleanup previous /boot/efi contents" into stable/euphrates
Diffstat (limited to '.yamllint')
0 files changed, 0 insertions, 0 deletions
ackground-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail

# log info to console
echo "Downloading the $INSTALLER_TYPE artifact. This could take some time..."
echo "--------------------------------------------------------"
echo

# get the latest.properties file in order to get info regarding latest artifact
[[ -d $BUILD_DIRECTORY ]] || mkdir -p $BUILD_DIRECTORY
curl -s -o $BUILD_DIRECTORY/latest.properties http://$GS_URL/latest.properties

# check if we got the file
[[ -f $BUILD_DIRECTORY/latest.properties ]] || exit 1

# source the file so we get OPNFV vars
source $BUILD_DIRECTORY/latest.properties

# download the file
curl -s -o $BUILD_DIRECTORY/compass.iso http://$OPNFV_ARTIFACT_URL > gsutil.iso.log 2>&1

# list the file
ls -al $BUILD_DIRECTORY/compass.iso

echo
echo "--------------------------------------------------------"
echo "Done!"