diff options
Diffstat (limited to 'update')
-rwxr-xr-x | update/templates/rm_images.sh | 8 | ||||
-rw-r--r-- | update/templates/rm_olds.sh | 8 | ||||
-rw-r--r-- | update/test.yml | 9 | ||||
-rw-r--r-- | update/update.yml | 9 |
4 files changed, 34 insertions, 0 deletions
diff --git a/update/templates/rm_images.sh b/update/templates/rm_images.sh index 6722573..c166072 100755 --- a/update/templates/rm_images.sh +++ b/update/templates/rm_images.sh @@ -1,4 +1,12 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## number=`docker images | awk 'NR != 1' | grep testapi | wc -l` if [ $number -gt 0 ]; then diff --git a/update/templates/rm_olds.sh b/update/templates/rm_olds.sh index c6bca18..6724c33 100644 --- a/update/templates/rm_olds.sh +++ b/update/templates/rm_olds.sh @@ -1,4 +1,12 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## proc_number=`ps -ef | grep opnfv-testapi | grep -v grep | wc -l` if [ $proc_number -gt 0 ]; then diff --git a/update/test.yml b/update/test.yml index 943105c..24cb7be 100644 --- a/update/test.yml +++ b/update/test.yml @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + --- - hosts: "{{ host }}" remote_user: "{{ user }}" diff --git a/update/update.yml b/update/update.yml index 18b75b6..3a2ce91 100644 --- a/update/update.yml +++ b/update/update.yml @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + --- - hosts: "{{ host }}" remote_user: "{{ user }}" |