Commit Graph

10 Commits

Author SHA1 Message Date
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 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 a1f30ea9b6 Added a build stage for each variant of each version
[skip ci]
2018-03-26 11:06:38 -04: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
Dāvis b502aa0163 Support arm32v7 architecture (#504)
* Support arm32v7

* Fix update script for armv7

* Fix get_arch function for arm32v7

* Fix indent
2017-08-18 21:21:26 +02:00
longquan7 35dbf01b34 Support arm64 architecture (#497)
* master

* Regenerate dockerfiles to update case statements

* Update architectures
2017-08-14 14:15:40 +02:00
Yihong Wang d001b4cfef Support s390x architecture (#490)
- Support `s390x` in all of the version except 4.8 and the following
  variants: default, alpine, stretch and onbuild
- Generate proper `architectures` for the stackbrew
- Update `update.sh` in order to be used on s390x
- `s390` is not supported in v4.8, therefore, add a local architectures
  under 4.8 and remove `s390x` there

Signed-off-by: Yihong Wang <yh.wang@ibm.com>
2017-08-09 11:13:50 +02:00
Yihong Wang bc4e7eecfe Generate 'Architectures' information (#472)
Enhance the `generate-stackbrew-library.sh` to generate `Architectures`
information.

Signed-off-by: Yihong Wang <yh.wang@ibm.com>
2017-07-23 09:24:35 +02: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