blob: 17c92c6d92af201778314660e828d7712276072b [file] [log] [blame]
Joey Armstrong36c9bcd2023-04-05 19:05:56 -04001VOL-4883 - Publish a new bbsim release
2
3https://github.com/opencord/bbsim/releases/tag/untagged-6d947de2a6078a1fe175
4----------------------------------------------------------------------------
5 o Draft bbsim release v2.96.8572 created by this patch set.
6 o All 6cross-compile binaries are now included.
7 o Change ID + commit message document the release.
8 o Binaries downloaded/tested using {bbr,bbsim,bbsimctl} --help
9
10Makefile
11--------
12 o Makefile release target is now able to cross compile all binaries:
13 - bbsimctl cross compiled to arm, darwin, linux and windows.
14 - release-{bbr, bbsim} only built *-linux-amd64
15 o Refactor targets into a more modular and hierarchial setup.
16 o Be sure to create RELEASE_DIR early on localhost so docker
17 container can create a volume (NFS mount) for building into.
18 o Display banners when building targets to improve log readability.
19 o Clean targets updated to remove everything generated.
20 o Help targets added to document indvidual target logic.
21 o Makefile logic heavily commented.
22
23makefiles/release/bbr.mk
24makefiles/release/bbsim.mk
25makefiles/release/bbsimctl.mk
26-----------------------------
27 o Relocate build-* and release-* target logic into named makefiles.
28 o Update SHELL to set -euo pipefail to detect uninit shell vars.
29 o Replaced shell/looping logic with true makefile target dependencies:
30 - shell/loop replaced with a target rule that builds one platform binary.
31 - Derive a list of targets release/{bbr,bbsim,bbsimctl}-{os}-{arch}
32 - release: depends on all buildable targets
33 - release rule can extract arch= and os= from target path being built.
34 - To simplify logic construct env vars separately into a response file.
35 - passed as "docker --env-file [x]" VS appending to an ever growing command line.
36 o Marked more targets as .PHONY so they will always build.
37 o Added helper target 'onf-publish' for exercising changes in the github-release script.
38
39makefiles/include.mk
40--------------------
41 o Single include for importing all library makefiles.
42
43makefiles/consts.mk
44-------------------
45 o Include fixed values, esp $(quote-single) which is now used to document
46 o Refactor duplication in GO_* macros into named/reused values to shorten lines.
47
48makefiles/lint
49--------------
50 o Moved lint::docker (hadolint target) into makefiles/lint/docker/*.mk.
51 o Added makefiles/lint library targets for ability to lint more sources.
52
53makefiles/tools.mk
54------------------
55 o Refactor DOCKER_* and GO_* macros into a named includable makefile.q