Commit Graph

48 Commits

Author SHA1 Message Date
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
Peter Dave Hello 178e7a18a2 Enable curl "--compressed" 2017-05-04 00:03:16 +08:00
Peter Petrov a86d32ab9a Add Yarn 2017-02-25 00:58:44 +02:00
Christopher Horrell 3fb0c520d9 EOL v0.12. Fixes #241
Node.js v0.12 reached end-of-life on December 31, 2016:

- https://github.com/nodejs/LTS/#lts-schedule
2017-01-03 09:24:50 -05:00
Simen Bekkhus 5bd74bb188 Remove mention of 0.10 from update script
Ref #240
2016-11-16 16:46:17 +01:00
Christopher Horrell 9cd8d4c47e Update script improvements (#236)
* Better approach to determining available variants (Borrowed from generate-stackbrew-library.sh
)
* Better approach for skipping "docs" and other non-docker directories (Borrowed from generate-stackbrew-library.sh)
* Also disables tracing from previous commit.
2016-09-26 13:44:19 -04:00
Christopher Horrell e541be578f Fix update.sh to account for default Dockerfile
Fixes #170
2016-04-26 17:04:04 -04:00
Laurent Goderre 1746c216e5 Reused the variant detection code from the test-build script 2016-04-25 11:14:48 -04:00
Christopher Horrell 5bde64769f Npm log level exclusion for 0.10 and 0.12 (#155)
* Don't set npm log info for 0.10 and 0.12.

Reference: #57, #144
2016-04-18 11:13:15 -04:00
Laurent Goderre ced0aa8af2 Added templates for generating the variants 2016-04-08 09:10:42 -04:00
Christopher Horrell b38aad33fe Exclude docs directory. Fixes #126 2016-03-16 21:57:18 -04:00
Christopher Horrell 3b5bd51e86 Use https in update.sh 2016-03-05 10:19:50 -05:00
Hans Kristian Flaatten 82db3af7cc Remove npm check form update.sh utility 2015-12-17 19:01:51 +01:00
Christopher Horrell 8c38b2fad9 update Node.js and npm separately
update.sh now just updates Node.js, update-npm.sh updates npm
2015-07-04 00:00:41 -04:00
Christopher Horrell 4e2ed679d0 Made scripts executable 2015-03-06 16:38:34 -05:00
Derek Crudgington f4ee36f350 Updated to include bash3 and 4 support 2015-02-26 10:06:06 -06:00
Christopher Horrell 7222ca5ead Added helper scripts for updating
update.sh updates the docker files with the latest version(s) of
Node.js and npm.

generate-stackbrew-library.sh is used for updating the library file
2015-01-13 14:44:22 -05:00