diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-06-04 16:23:54 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-06-04 16:23:54 -0700 |
commit | 614331b0605ee176995f9037d7c161dd3c4a3d75 (patch) | |
tree | 0d2680e3aa1b9c64b6e43ad725eb9df3c2e6a1ad | |
parent | d2121aa240d8465f384524c73e69bcf2f8b7817f (diff) |
Add license header to deployment scripts
Change-Id: I5c14c553a5d702b625f69d361cbb2d22cb52cd5a
Issue-ID: INT-504
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rw-r--r-- | deployment/heat/onap-oom/k8s_vm_entrypoint.sh | 10 | ||||
-rw-r--r-- | deployment/heat/onap-oom/rancher_vm_entrypoint.sh | 10 | ||||
-rwxr-xr-x | deployment/heat/onap-oom/scripts/deploy.sh | 9 | ||||
-rwxr-xr-x | deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh | 9 | ||||
-rwxr-xr-x | deployment/heat/onap-oom/scripts/prepull-docker.sh | 9 |
5 files changed, 47 insertions, 0 deletions
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` |