2 # SPDX-License-Identifier: EPL-1.0
3 ##############################################################################
4 # Copyright (c) 2017, 2018 The Linux Foundation and others.
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Eclipse Public License v1.0
8 # which accompanies this distribution, and is available at
9 # http://www.eclipse.org/legal/epl-v10.html
10 ##############################################################################
11 echo "---> Create HEAT stack"
13 os_cloud="${OS_CLOUD:-vex}"
14 stack_name="${OS_STACK_NAME}"
15 stack_template="${OS_STACK_TEMPLATE}"
16 stack_template_dir="/opt/ciman/${OS_STACK_TEMPLATE_DIR:-openstack-hot}"
17 stack_parameters="$WORKSPACE/stack-parameters.yaml"
21 openstack --os-cloud "$os_cloud" limits show --absolute
23 pushd "$stack_template_dir" || exit 1
24 lftools openstack --os-cloud "$os_cloud" stack create \
25 "$stack_name" "$stack_template" "$stack_parameters"