From a3fb86f6caa0d6c12daa99ffa59a3fd805bb0886 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Mon, 4 Jun 2018 16:23:54 -0700 Subject: Add license header to deployment scripts Change-Id: I5c14c553a5d702b625f69d361cbb2d22cb52cd5a Issue-ID: INT-504 Signed-off-by: Gary Wu --- deployment/heat/onap-oom/k8s_vm_entrypoint.sh | 10 ++++++++++ deployment/heat/onap-oom/rancher_vm_entrypoint.sh | 10 ++++++++++ deployment/heat/onap-oom/scripts/deploy.sh | 9 +++++++++ deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh | 9 +++++++++ deployment/heat/onap-oom/scripts/prepull-docker.sh | 9 +++++++++ 5 files changed, 47 insertions(+) (limited to 'deployment/heat/onap-oom') diff --git a/deployment/heat/onap-oom/k8s_vm_entrypoint.sh b/deployment/heat/onap-oom/k8s_vm_entrypoint.sh index 1ec659c0e..a6392354c 100644 --- a/deployment/heat/onap-oom/k8s_vm_entrypoint.sh +++ b/deployment/heat/onap-oom/k8s_vm_entrypoint.sh @@ -1,4 +1,14 @@ #!/bin/bash -x +# +# Copyright 2018 Huawei Technologies Co., Ltd. +# +# 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 +# + printenv mkdir -p /opt/config diff --git a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh index 3f9150d1c..e44e20ccd 100644 --- a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh +++ b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh @@ -1,4 +1,14 @@ #!/bin/bash -x +# +# Copyright 2018 Huawei Technologies Co., Ltd. +# +# 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 +# + printenv mkdir -p /opt/config diff --git a/deployment/heat/onap-oom/scripts/deploy.sh b/deployment/heat/onap-oom/scripts/deploy.sh index aaf5924e7..e3acd3c95 100755 --- a/deployment/heat/onap-oom/scripts/deploy.sh +++ b/deployment/heat/onap-oom/scripts/deploy.sh @@ -1,4 +1,13 @@ #!/bin/bash -x +# +# Copyright 2018 Huawei Technologies Co., Ltd. +# +# 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 +# if [ -z "$WORKSPACE" ]; then export WORKSPACE=`git rev-parse --show-toplevel` diff --git a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh index 41d511391..1ab0de762 100755 --- a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh +++ b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh @@ -1,4 +1,13 @@ #!/bin/bash +# +# Copyright 2018 Huawei Technologies Co., Ltd. +# +# 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 +# if [ "$#" -ne 1 ]; then echo This script generates the HEAT template for X number of k8s VMs diff --git a/deployment/heat/onap-oom/scripts/prepull-docker.sh b/deployment/heat/onap-oom/scripts/prepull-docker.sh index d3556a882..4f88bcbec 100755 --- a/deployment/heat/onap-oom/scripts/prepull-docker.sh +++ b/deployment/heat/onap-oom/scripts/prepull-docker.sh @@ -1,4 +1,13 @@ #!/bin/bash -x +# +# Copyright 2018 Huawei Technologies Co., Ltd. +# +# 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 +# if [ -z "$WORKSPACE" ]; then export WORKSPACE=`git rev-parse --show-toplevel` -- cgit 1.2.3-korg