Shared
* Moved version parsing/detection to a separate function
* Added path/version parameters to various functions
* Fixed whitespace metacharacters so they work on both macOS and Linux
* Updated tag generation logic to account for forks
generate-stackbrew-library.sh
* Updated sort algorithm to sort the non-fork versions first
test_build.sh
* Fixed a bug where it could only handle one version
update.sh
* Added support for configurable node download URIs
* Added some informational and error output
* Updated it to use the templates for each fork
- Add an architectures file to list supported architectures and
variants.
- Add new `ARCH` ENV into Dockerfile. It represents the architecture.
- Add a functions.sh to put utility functions, including
- get_arch: get the current running architecture.
- get_variants: get corresponding supported variants based on the
running architecture.
Signed-off-by: Yihong Wang <yh.wang@ibm.com>
In addition to testing that the images build correctly, now test-build.sh also
validates that Node executes successfully, and that it is the expected version.
Also fixed some inconsistent whitespace.