[VOL-5319] voltctl release problems
jjb/github-release/voltha.yaml
------------------------------
o Update copyright notice, add SPDX tokens.
o Edits allow 'make lint-reuse' to run cleanly.
jjb/shell/github-release/help.sh
jjb/shell/github-release/parse-args.sh
--------------------------------------
o Cosmetic edits.
o Script is growing so bulk move some functions into named libraries.
jjb/shell/github-release.sh
---------------------------
o Script edits are mostly added to improve logging and debugging.
o Replace hardcoded /bbsim/ reference in log output with /{repo}/.
Can be confusing displaying 'bbism' when voltctl is being released.
o Added debug function bannerEL() to announce function ENTER/LEAVE.
o Display function name and line number when error() is called.
o Added arg --self-verify for debugging. Perform simple credential
validation using login() & logout() VS allowing script to run.
o Added an extra case in getGitVersion(). GERRIT_PROJECT= may not
be defined while debugging interactively. Report error and
suggest fixes.
Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org>
Change-Id: I481b3dfa1cc323d02babb0a5df86145f49ab176f
diff --git a/jjb/github-release/voltha.yaml b/jjb/github-release/voltha.yaml
index e874bd2..a3ec8be 100644
--- a/jjb/github-release/voltha.yaml
+++ b/jjb/github-release/voltha.yaml
@@ -1,5 +1,25 @@
---
-# publishing artifacts to GitHub releases
+
+# -----------------------------------------------------------------------
+# Copyright 2023-2024 Open Networking Foundation Contributors
+#
+# 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
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -----------------------------------------------------------------------
+# SPDX-FileCopyrightText: 2023-2024 Open Networking Foundation Contributors
+# SPDX-License-Identifier: Apache-2.0
+# -----------------------------------------------------------------------
+# Intent: Config for publishing artifacts to GitHub releases
+# -----------------------------------------------------------------------
- job-template:
id: github-release-voltha