Commit Graph

28 Commits

Author SHA1 Message Date
Peter Dave Hello bb92568f3a Improve coding style of shell scripts 2018-05-18 03:03:10 +08:00
Peter Dave Hello f384c2b6f1 Format shell scripts with shfmt -i 2 -ci -l -w -f 2018-05-14 19:29:13 +08:00
Seth Westphal 36135d58af Remove Node.js 4. 2018-04-30 09:26:41 -05:00
Laurent Goderre d9db6792fd Added multiple CPU docker build 2018-04-06 07:32:29 -04:00
Laurent Goderre 455313ccdc Fixed the onbuild build broken by build stages 2018-04-05 17:35:37 -04:00
Laurent Goderre e00c234f63 Fixed the test-build treatment of commq seperated versions and variants 2018-04-04 10:37:03 -04:00
Laurent Goderre f385ece941 Prevent the building of the default variant for each Travis stage 2018-04-03 18:13:57 -04:00
Laurent Goderre e839bbbb50 Modified the test build to accept a list of variants to slimit the build 2018-03-26 13:55:42 -04:00
Laurent Goderre 6888da3189 Modified test-build to accept comma separated versions
[skip ci]
2018-03-26 11:06:43 -04:00
Laurent Goderre 42541fe0fb Added a build function to test-build.sh 2018-03-23 13:39:30 -04:00
Laurent Goderre 193e04ae6b Moved image test to a script to be run in the image 2018-03-23 12:47:23 -04:00
Cecile Tonglet ab12e9bab4 Fixed symbolic links to yarn and yarnpkg (#650)
* Fixed symbolic links to yarn and yarnpkg

* Ensures npm and yarn can be run properly
2018-03-16 16:41:21 +01:00
Kyle Farnung 2cf732a291 Adding fork support to the scripts
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
2018-02-08 10:59:19 -08:00
Yihong Wang 8305e4c32f Support Linux on ppc64le
- 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>
2017-07-20 10:41:22 -07:00
Peter Dave Hello 712ead7e6e Refactor to make test-build.sh shorter 2017-07-06 01:01:59 +08:00
Nick Schonning c11be06fa4 Shellcheck: SC2164 Use 'cd ... || exit' or 'cd ... || return' in case cd fails 2017-06-14 03:54:55 -04:00
Nick Schonning 19d6c12219 Spellcheck: SC2002 useless cat 2017-06-14 03:46:09 -04:00
Nick Schonning d2d0efe69c Shellcheck: SC2046 and SC2086 quoting 2017-06-14 03:46:04 -04:00
Nick Schonning 359ba16fe0 Shellcheck: SC2181 Check exit code directly 2017-06-14 03:35:30 -04:00
Christopher Horrell 1b99bb91e8 Better approach to establishing variants 2016-09-29 09:35:47 -04:00
Christopher Horrell 54ee1265cd Improvements to skip "docs" and other non-docker directories 2016-09-29 09:16:18 -04:00
Christopher Horrell 1e1a59de96 Make test builds more debugable 2016-04-26 10:33:03 -04:00
Christopher Horrell af265e1692 Don't hard code variants when testing
This allows for easily testing newer variants without having to update
test-build.sh
2016-04-19 23:24:15 -04:00
Peter Petrov d128c325ce Enhance test-build.sh to also perform simple execution tests
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.
2016-04-05 04:37:43 +03:00
Christopher Horrell b38aad33fe Exclude docs directory. Fixes #126 2016-03-16 21:57:18 -04:00
Christopher Horrell 634af20e82 Remove unused var 2015-05-16 20:58:01 -04:00
Christopher Horrell 2089e6f517 Ensure test image builds are tagged. Fixes #18 2015-05-16 20:44:03 -04:00
Christopher Horrell f29260b2f5 Added script for running test builds of all images 2015-05-04 15:38:40 -04:00