[VOL-5026] - Build and (pre-) deploy repo:voltha-go
Makefile
--------
o Refactor test and mod-* targets per voltha-openolt-adatpter/Makefile.
o Logic moved into makefiles/analysis/{coverage,sca}.mk
o Inline ( set -euo pipefail && cmd | tee log) in test-coverage.
o Improve error handling, "cmd | tee" will silently mask shell exit status.
o make test failing locally (docker image: cpu profile acces denied).
o Local problem, send a job through jenkins for accurate status.
makefiles/
----------
o Copy in library makefiles
o Esp docker/include.mk
compose/*/*.yaml
----------------
o Update copyright notice
db/*/*.go
rw_core/*/*.go
--------------
o Run gofmt -s -w on source to fix latent linting problmes that fail jobs.
Change-Id: If7cd349822edd0e604ac4daf27d315f528c6bcf6
diff --git a/compose/adapters-ponsim.yml b/compose/adapters-ponsim.yml
index 86a30d2..9a5a5c6 100644
--- a/compose/adapters-ponsim.yml
+++ b/compose/adapters-ponsim.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2018 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compose/adapters-simulated.yml b/compose/adapters-simulated.yml
index 4d2a3b7..54e21cf 100644
--- a/compose/adapters-simulated.yml
+++ b/compose/adapters-simulated.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2018 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compose/docker-compose-etcd.yml b/compose/docker-compose-etcd.yml
index 9c11c3c..04cb899 100644
--- a/compose/docker-compose-etcd.yml
+++ b/compose/docker-compose-etcd.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2018 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compose/docker-compose-zk-kafka-test.yml b/compose/docker-compose-zk-kafka-test.yml
index dac9216..1ca1a5b 100644
--- a/compose/docker-compose-zk-kafka-test.yml
+++ b/compose/docker-compose-zk-kafka-test.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2018 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compose/ofagent.yml b/compose/ofagent.yml
index a54b610..af4f26a 100644
--- a/compose/ofagent.yml
+++ b/compose/ofagent.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2019-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2019 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compose/openolt.yml b/compose/openolt.yml
index 915dbca..cda7d74 100644
--- a/compose/openolt.yml
+++ b/compose/openolt.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2018 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compose/ponsim_olt.yml b/compose/ponsim_olt.yml
index 0ff5ca7..b88c185 100644
--- a/compose/ponsim_olt.yml
+++ b/compose/ponsim_olt.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2018 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compose/ponsim_onu.yml b/compose/ponsim_onu.yml
index 216df56..7b6e30b 100644
--- a/compose/ponsim_onu.yml
+++ b/compose/ponsim_onu.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2018 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compose/rw_core.yml b/compose/rw_core.yml
index 49d24f9..63ad263 100644
--- a/compose/rw_core.yml
+++ b/compose/rw_core.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2018 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compose/rw_core_concurrency_test.yml b/compose/rw_core_concurrency_test.yml
index c672cfd..e43d160 100644
--- a/compose/rw_core_concurrency_test.yml
+++ b/compose/rw_core_concurrency_test.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2019-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2019 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compose/system-test-bbsim.yml b/compose/system-test-bbsim.yml
index 850dadd..58e5761 100644
--- a/compose/system-test-bbsim.yml
+++ b/compose/system-test-bbsim.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2018 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -195,4 +196,4 @@
- "18120:18120"
networks:
- default
- restart: unless-stopped
\ No newline at end of file
+ restart: unless-stopped
diff --git a/compose/system-test-ponsim.yml b/compose/system-test-ponsim.yml
index af23668..b944102 100644
--- a/compose/system-test-ponsim.yml
+++ b/compose/system-test-ponsim.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2018 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/compose/system-test.yml b/compose/system-test.yml
index 4923889..0973718 100644
--- a/compose/system-test.yml
+++ b/compose/system-test.yml
@@ -1,4 +1,5 @@
---
+# Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
# Copyright 2018 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");