summaryrefslogtreecommitdiffstats
path: root/pike/vagrant
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-10-17 19:10:08 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-10-17 19:10:08 +0800
commit2ecaac4a52f9fdbe0fef7e27062f2f2e444afb1f (patch)
tree0878557621d1bafff64c12ed5ef746dc2a01bae1 /pike/vagrant
parentbd8d6784e1bb354e630fa4eb4643dda37a74777c (diff)
Add license for pike
Change-Id: I779bc427bf8e0ff682806b8c8933312b1dd5a340 Issue-ID: MULTICLOUD-384 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'pike/vagrant')
-rw-r--r--pike/vagrant/Vagrantfile14
-rw-r--r--pike/vagrant/pip.conf14
-rwxr-xr-xpike/vagrant/piprepo.sh14
-rw-r--r--pike/vagrant/test/Dockerfile14
-rw-r--r--pike/vagrant/test/test-extensions.sh14
-rw-r--r--pike/vagrant/test/test_multicloud.sh14
-rw-r--r--pike/vagrant/test/tests14
7 files changed, 98 insertions, 0 deletions
diff --git a/pike/vagrant/Vagrantfile b/pike/vagrant/Vagrantfile
index 666f307b..d35f8abf 100644
--- a/pike/vagrant/Vagrantfile
+++ b/pike/vagrant/Vagrantfile
@@ -1,3 +1,17 @@
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
Vagrant.configure("2") do |config|
diff --git a/pike/vagrant/pip.conf b/pike/vagrant/pip.conf
index 73e7f4c4..b4ee9602 100644
--- a/pike/vagrant/pip.conf
+++ b/pike/vagrant/pip.conf
@@ -1,3 +1,17 @@
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
[global]
index-url = https://pypi.douban.com/simple/
[install]
diff --git a/pike/vagrant/piprepo.sh b/pike/vagrant/piprepo.sh
index 737ad4f3..4b298b18 100755
--- a/pike/vagrant/piprepo.sh
+++ b/pike/vagrant/piprepo.sh
@@ -1,5 +1,19 @@
#!/bin/bash
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
set -ex
mkdir -p ~/.pip
diff --git a/pike/vagrant/test/Dockerfile b/pike/vagrant/test/Dockerfile
index 00f8250c..aad0f9ff 100644
--- a/pike/vagrant/test/Dockerfile
+++ b/pike/vagrant/test/Dockerfile
@@ -1,3 +1,17 @@
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
FROM python:2
ENV MSB_ADDR "127.0.0.1"
diff --git a/pike/vagrant/test/test-extensions.sh b/pike/vagrant/test/test-extensions.sh
index 215c3fc3..9fb27b1f 100644
--- a/pike/vagrant/test/test-extensions.sh
+++ b/pike/vagrant/test/test-extensions.sh
@@ -1,4 +1,18 @@
#!/bin/bash
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
set -ex
MULTICLOUD_PLUGIN_ENDPOINT=http://172.16.77.40:9007/api/multicloud-pike/v0/openstack-hudson-dc_RegionOne
diff --git a/pike/vagrant/test/test_multicloud.sh b/pike/vagrant/test/test_multicloud.sh
index efc934ce..c18e317d 100644
--- a/pike/vagrant/test/test_multicloud.sh
+++ b/pike/vagrant/test/test_multicloud.sh
@@ -1,4 +1,18 @@
#!/bin/bash
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
set -ex
sudo apt-get update -y
diff --git a/pike/vagrant/test/tests b/pike/vagrant/test/tests
index 018c7a48..c5cdfc85 100644
--- a/pike/vagrant/test/tests
+++ b/pike/vagrant/test/tests
@@ -1 +1,15 @@
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
test-extensions.sh