From 1dd01bdeefd70510cf4427514d3ce1457fbfd645 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Sat, 26 Aug 2017 17:55:52 +1000 Subject: [PATCH] Add missing license headers for releng scripts Change-Id: If11d71b9b3fe300c5d1d31555a026d584ba22d8e Signed-off-by: Anil Belur --- ...ntegration-distribution-delete-snaphot-artifacts.sh | 9 +++++++++ jjb/opendaylight-infra-cleanup-old-images.sh | 9 +++++++++ jjb/opendaylight-infra-cleanup-stale-nodes.sh | 9 +++++++++ jjb/opendaylight-infra-cleanup-stale-stacks.sh | 10 ++++++++++ jjb/opendaylight-infra-copy-ssh-keys.sh | 10 ++++++++++ jjb/opendaylight-infra-push-gerrit-patch.sh | 9 +++++++++ jjb/opendaylight-infra-stack.sh | 10 ++++++++++ jjb/opendaylight-infra-update-image-list.sh | 10 ++++++++++ jjb/verify-gpg-signatures.sh | 9 +++++++++ 9 files changed, 85 insertions(+) diff --git a/jjb/integration-distribution-delete-snaphot-artifacts.sh b/jjb/integration-distribution-delete-snaphot-artifacts.sh index d97818940..825023d31 100644 --- a/jjb/integration-distribution-delete-snaphot-artifacts.sh +++ b/jjb/integration-distribution-delete-snaphot-artifacts.sh @@ -1,4 +1,13 @@ #!/bin/bash -x +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## set +e # To avoid failures in projects which generate zero snapshot artifacts. find "/tmp/r/org/opendaylight/$GERRIT_PROJECT/" -path "*-SNAPSHOT*" -delete diff --git a/jjb/opendaylight-infra-cleanup-old-images.sh b/jjb/opendaylight-infra-cleanup-old-images.sh index b3b28e103..162b2667e 100644 --- a/jjb/opendaylight-infra-cleanup-old-images.sh +++ b/jjb/opendaylight-infra-cleanup-old-images.sh @@ -1,4 +1,13 @@ #!/bin/bash +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## lftools openstack --os-cloud odlpriv-sandbox \ image cleanup --hide-public=True \ diff --git a/jjb/opendaylight-infra-cleanup-stale-nodes.sh b/jjb/opendaylight-infra-cleanup-stale-nodes.sh index e8f1c83d7..7170af479 100644 --- a/jjb/opendaylight-infra-cleanup-stale-nodes.sh +++ b/jjb/opendaylight-infra-cleanup-stale-nodes.sh @@ -1,4 +1,13 @@ #!/bin/bash +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## # Todo: As a safe check we could obtain the list of active jobs from Jenkins and # compute the checksum from $JOB_NAME to check if any active nodes exist and diff --git a/jjb/opendaylight-infra-cleanup-stale-stacks.sh b/jjb/opendaylight-infra-cleanup-stale-stacks.sh index 5d4cdffd5..7bf11b42c 100644 --- a/jjb/opendaylight-infra-cleanup-stale-stacks.sh +++ b/jjb/opendaylight-infra-cleanup-stale-stacks.sh @@ -1,4 +1,14 @@ #!/bin/bash +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## + virtualenv "/tmp/v/openstack" # shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091 source "/tmp/v/openstack/bin/activate" diff --git a/jjb/opendaylight-infra-copy-ssh-keys.sh b/jjb/opendaylight-infra-copy-ssh-keys.sh index 7e3d8b0ca..daa33c3db 100644 --- a/jjb/opendaylight-infra-copy-ssh-keys.sh +++ b/jjb/opendaylight-infra-copy-ssh-keys.sh @@ -1,4 +1,14 @@ #!/bin/bash +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## + echo "----------> Copy ssh public keys to csit lab" # shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091 diff --git a/jjb/opendaylight-infra-push-gerrit-patch.sh b/jjb/opendaylight-infra-push-gerrit-patch.sh index a75710b2c..0d1a67055 100644 --- a/jjb/opendaylight-infra-push-gerrit-patch.sh +++ b/jjb/opendaylight-infra-push-gerrit-patch.sh @@ -1,4 +1,13 @@ #!/bin/bash +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## # Install git-review using virtualenv to the latest version that supports # --reviewers option, available through pip install. Existing minion image has a diff --git a/jjb/opendaylight-infra-stack.sh b/jjb/opendaylight-infra-stack.sh index dd731f1ac..f68f6a008 100644 --- a/jjb/opendaylight-infra-stack.sh +++ b/jjb/opendaylight-infra-stack.sh @@ -1,4 +1,14 @@ #!/bin/bash +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## + virtualenv "/tmp/v/openstack" # shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091 source "/tmp/v/openstack/bin/activate" diff --git a/jjb/opendaylight-infra-update-image-list.sh b/jjb/opendaylight-infra-update-image-list.sh index 8f2c7f46b..9875aa158 100644 --- a/jjb/opendaylight-infra-update-image-list.sh +++ b/jjb/opendaylight-infra-update-image-list.sh @@ -1,4 +1,14 @@ #!/bin/bash +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## + virtualenv "/tmp/v/openstack" # shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091 source "/tmp/v/openstack/bin/activate" diff --git a/jjb/verify-gpg-signatures.sh b/jjb/verify-gpg-signatures.sh index 5975b744f..e00eab6f9 100644 --- a/jjb/verify-gpg-signatures.sh +++ b/jjb/verify-gpg-signatures.sh @@ -1,4 +1,13 @@ #!/bin/bash +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## if git log --show-signature -1 | egrep -q 'gpg: Signature made.*key ID'; then echo "git commit is gpg signed" -- 2.36.6