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 23:24:44 +0000 |
commit | a3fb86f6caa0d6c12daa99ffa59a3fd805bb0886 (patch) | |
tree | 7e8f35b021bfb94a42613cf8f0ee265f3235988b | |
parent | 4479ec53f112bbd03ca2aa0e976b23a7164feb56 (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` |