Commit Graph

66 Commits

Author SHA1 Message Date
Laurent Goderre 7e47b378c4 Added an entrypoint script
Fixes #1039
2019-05-26 19:53:24 -04:00
Peter Dave Hello 95bf09c7fd Add prompt msg about Dockerfile updated in update.sh 2018-12-19 03:06:27 +08:00
Laurent Goderre dec48312c8 Fixed the Travis Env Var error message
Fixes #920
2018-12-06 08:21:37 -05:00
Laurent Goderre 8c0a9f2c14 Multiple slim (#850) 2018-11-29 15:20:12 +01:00
Tianon Gravi 77c2d0850a Revert "Enable ccache for Alpine builds on Travis CI" and "Fix Alpine build with the missing `|| true`"
This reverts commits 2893221564 and 7e5b3f07e6.
2018-11-22 10:11:01 -08:00
Peter Dave Hello 7e5b3f07e6 Enable ccache for Alpine builds on Travis CI 2018-11-21 19:25:00 +08:00
Peter Dave Hello fe5a0629ef Add update.sh -t option to update .travis.yml only
Close #909
2018-11-19 20:44:18 +08:00
Peter Dave Hello b5714d0354 Fix help message indentation in update.sh 2018-11-15 19:18:33 +08:00
Peter Dave Hello 4d188a01fe Auto skip unnecessary builds 2018-11-06 17:12:24 +08:00
Peter Dave Hello dde42059bf Update .travis.yml auto-generated comment format 2018-08-13 20:47:36 +08:00
Peter Dave Hello 26550a63bc Add a space after redirect ops in shell script 2018-07-17 00:25:28 +08:00
Nick Schonning b22fb6c84e build: Drop Node 9 (#803)
Support for 9 dropped yesterday bc9d936e15/schedule.json (L44)
2018-07-01 18:49:04 +02:00
Laurent Goderre 26f21a886d Added ability to update specific variant for all versions 2018-06-26 08:11:56 -04:00
Laurent Goderre 1c4ff5c5f4 Added ability to update multiple versions of variants 2018-06-26 08:11:56 -04:00
Laurent Goderre 59cb6a317e Fixed the update script not working properly with the -s flag or variant filter 2018-06-20 15:19:21 -04:00
Laurent Goderre 1458f3e0bf Fixed the gpg key substituion 2018-06-20 13:01:21 -04:00
Christopher Horrell d50660f9b4 Add option to skip updating yarn and alpine when doing a security update 2018-06-18 13:05:48 -04:00
Laurent Goderre b9dc6bbbaa Fixed new shfmt issue 2018-06-18 11:50:10 -04:00
Laurent Goderre f76ebfb936 Fixed the update not outputing the version numbers on update 2018-05-28 11:20:43 -04:00
Laurent Goderre 11a62b6154 Fixed the onbuild versions
Explicitly define the debian version to use for onbuild
2018-05-27 22:35:32 -04:00
Laurent Goderre 7fea7b033c Don't use a default variant
tenp
2018-05-27 22:35:28 -04:00
Peter Dave Hello 9e004a0bfd
Merge pull request #757 from LaurentGoderre/fix-update-macosx
Fix the update script for macOS
2018-05-25 02:28:20 +08:00
Laurent Goderre 46b4159599 Fixed the update script for mac OS 2018-05-24 13:12:25 -04:00
Laurent Goderre fb8ac15c9c More code style fixes (again) 2018-05-24 02:19:54 -04:00
Laurent Goderre 9bd00c484c Simplify the management of alpine version
Standardizes the alpine version to use and helps upgrade the alpine version only on version update
2018-05-21 07:07:42 -04:00
Laurent Goderre 64629c613b More coding style fixes 2018-05-18 15:50:09 -04:00
Christopher Horrell 7b0a6177ea
Merge pull request #738 from LaurentGoderre/fix-update
Fix the update script for only a specific version
2018-05-18 13:21:04 -04:00
Peter Dave Hello bb92568f3a Improve coding style of shell scripts 2018-05-18 03:03:10 +08:00
Laurent Goderre eb8000cd22 Fix the update script for only a specific version
Fixes #737
2018-05-17 14:57:33 -04:00
Peter Dave Hello 54b51b3ab1 Adjust .travis.yml generation process to prevent trailing new line 2018-05-16 01:36:07 +08:00
Laurent Goderre 1cf5b83919 Fixed the update script 2018-05-15 11:08:17 -04:00
Peter Dave Hello bbf199c459 Fix format issues 2018-05-15 20:05:37 +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
Laurent Goderre 9e436c3176 Insert GPG keys on update 2018-05-08 07:51:44 -04:00
Peter Dave Hello 7d444c7cb8 Update update.sh, use Alpine v3.7 for node.js >= v10 2018-04-25 11:24:15 +08: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
Peter Dave Hello 9b60d3dab7
Futher parallelize update.sh process for different variants (#630) 2018-02-15 02:21:06 +08:00
Peter Dave Hello f2a0737ea9 Use "exit" instead of "continue" to exit subshell in update.sh 2018-02-15 00:02:40 +08:00
Peter Dave Hello 40957a38d3 Parallelize version update process to speed up 2018-02-14 03:13:31 +08: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
Christopher Horrell f941101d4d Use only major version for directory names 2017-11-08 11:06:50 -05:00
Peter Dave Hello 2de860ce9e Fix update.sh for empty patch version issue 2017-11-08 04:13:27 +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
Nick Schonning d2d0efe69c Shellcheck: SC2046 and SC2086 quoting 2017-06-14 03:46:04 -04:00
Nick Schonning 54ebc3d32f Add logic to bump Alpine in Node 8+
Node 8 started to use Alpine 3.6, so use that instead of the template 3.4 version
2017-06-08 01:29:57 -04:00