Commit Graph

76 Commits

Author SHA1 Message Date
Travis Shivers ee169b2fdd
ci: use single dynamic build-test action
Add a GitHub action that dynamically generates the matrix of Dockerfiles
to test based on what files have changed. This avoids having to have
generated workflows for each version x variant combo.

It looks for any changed Dockerfiles, or docker-entrypoint.sh. If any of
the testing files are changed, it will test all Dockerfiles
2020-10-12 18:07:00 -05:00
Travis Shivers 3d290f8d6d
fix: use python3 or python2 for alpine
In alpine3.12, they removed the python package in favor of either
python2 or python3.
https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.12.0#python2_no_longer_provides_python_and_python-devel

However, nodejs 12, 10 require python2 for building from source. I added
a change in update.sh that swaps out python3 for python2 in those older
versions for alpine Dockerfiles.

Refs #1330
2020-09-22 18:50:21 -05:00
Nick Schonning 42a70beebd chore: Generate Docker file GitHub Actions 2020-08-15 00:47:53 -04:00
Laurent Goderre 3dbeefaa1b
Revert "Fix update.sh invocation with unknown variant" 2020-01-10 09:41:24 -05:00
Peter Dave Hello e088f69dce
Merge pull request #1161 from LaurentGoderre/improve-updatesh
Fix update.sh invocation with unknown variant

Co-authored-by: Tommi Vainikainen <thv@iki.fi>
2020-01-09 12:28:28 +08:00
Nick Schonning b7a069e833 chore: Remove OnBuild variant 2019-12-31 19:08:52 -05:00
Tommi Vainikainen 6c3fa2f322 Fix update.sh invocation with unknown variant
If update.sh was invoked with non-existing variant, it updated all
variants.  Change in_variants_to_update to return true always if
second variant argument was not given, but not when given variant
argument does not match to available variants.
2019-11-22 19:04:21 +00:00
Tommi Vainikainen b93f9ebdcf Fix update.sh example with slim
Invoking update.sh with `slim` variant did not work, because slim
variants are always tied to Debian version (e.g. stretch, buster).
2019-11-22 18:47:58 +00:00
Laurent Goderre c6bc44e84a Added multiple versions of alpine 2019-11-12 07:27:42 -05:00
Laurent Goderre 93c5e09856 Fetch the checksum for the pre-built alpine binary at image update time. 2019-10-28 09:15:17 -04:00
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