summaryrefslogtreecommitdiffstats
path: root/bifrost/scripts
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-08-27 00:25:37 +0200
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-08-11 12:56:12 -0700
commit56d0f754dbbfac67c513635d64c95320353bcf43 (patch)
tree7c0c0f27d48c422432af7f2b8332946712542650 /bifrost/scripts
parentc73f55b4a6c06a4b6f5906fba51ec0c26064cd6e (diff)
Create daily job for infra deployment, remove sandbox jobs and fix bugs
This change - creates upstream daily job to trigger and control the execution of jobs that provision nodes using bifrost, deployment using puppet-infracloud, and simple smoke test job. - fixes the hashbang placement in 2 of the scripts. - removes sandbox dummy jobs as the infra jobs can serve as examples now. Only the node provisioning job is functional at the moment. Change-Id: I311d159956d8b7ce3f7a500fac5a7dcb459104cf Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'bifrost/scripts')
-rwxr-xr-xbifrost/scripts/destroy_env.sh2
-rwxr-xr-xbifrost/scripts/test-bifrost-deployment.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bifrost/scripts/destroy_env.sh b/bifrost/scripts/destroy_env.sh
index aef4ccba..819048b5 100755
--- a/bifrost/scripts/destroy_env.sh
+++ b/bifrost/scripts/destroy_env.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2016 RedHat and others.
@@ -6,7 +7,6 @@
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-#!/bin/bash
virsh destroy jumphost.opnfvlocal || true
virsh destroy controller00.opnfvlocal || true
virsh destroy compute00.opnfvlocal || true
diff --git a/bifrost/scripts/test-bifrost-deployment.sh b/bifrost/scripts/test-bifrost-deployment.sh
index 5df58f8e..66affe9a 100755
--- a/bifrost/scripts/test-bifrost-deployment.sh
+++ b/bifrost/scripts/test-bifrost-deployment.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2016 Ericsson AB and others.
@@ -6,7 +7,6 @@
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-#!/bin/bash
set -eux
set -o pipefail