2 virtualenv "/tmp/v/openstack"
3 # shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091
4 source "/tmp/v/openstack/bin/activate"
5 pip install --upgrade --quiet pip
6 pip install --upgrade --quiet python-openstackclient python-heatclient
9 cat > "$WORKSPACE/docs/cloud-images.rst" << EOF
10 Following are the list of published images available to be used with Jenkins jobs.
13 # Blank line before EOF is on purpose to ensure there is spacing.
16 IMAGES=($(openstack image list --public -f value -c Name))
17 for i in "${IMAGES[@]}"; do
18 echo "* $i" >> "$WORKSPACE/docs/cloud-images.rst"
21 git add docs/cloud-images.rst