Commit graph

1368 commits

Author SHA1 Message Date
Marc Durdin
c475188c6b chore: use builder_die, remove die 2023-02-20 09:03:37 +07:00
Marc Durdin
318b4d4478 chore: use builder_warn, remove warn 2023-02-20 08:56:31 +07:00
Marc Durdin
8f5997a3e6 chore: rename os_id to BUILDER_OS 2023-02-20 08:44:03 +07:00
Marc Durdin
f61ef08f05 chore: cleanup shellHelperFunctions 2023-02-20 08:33:23 +07:00
Steven R. Loomis
bccc1e5720 Merge remote-tracking branch 'upstream/master' into chore/merge-master-20230217-epic-ldml 2023-02-17 18:52:33 -06:00
Joshua A. Horton
889d347c02 chore(common): Merge branch 'master' into chore/common/js-ts-dependency-updates 2023-02-16 13:51:31 +07:00
Marc Durdin
670932f922
Merge pull request #8198 from keymanapp/feat/common/builder-parent-child-scripts
feat(common): parent-child scripts for builder
2023-02-16 15:28:52 +11:00
Marc Durdin
6f3d67c6d2
Update resources/build/build-utils.md 2023-02-16 12:45:20 +11:00
Marc Durdin
772fbe6cca
Apply suggestions from code review
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2023-02-16 12:44:36 +11:00
Marc Durdin
729f3ede72
Update resources/builder.inc.sh
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2023-02-16 12:34:56 +11:00
Eberhard Beilharz
4b9f57560b
fix(linux): Try a different approach 2023-02-15 16:15:47 +01:00
Eberhard Beilharz
d1fd20d001
fix(linux): Another fix for GHA package build 2023-02-15 11:10:07 +01:00
Eberhard Beilharz
1c15f83aa0
fix(linux): Fix GHA package build 2023-02-15 08:56:37 +01:00
Marc Durdin
5379145724 chore(common): target_path unbound 2023-02-15 11:30:14 +07:00
Marc Durdin
c0951f8597 feat(common): support custom child projects 2023-02-15 11:21:10 +07:00
Eberhard Beilharz
4a75689f3c
feat(linux): Pass PR# in the event type
This allows to see which GHA build ran on which branch/PR.
2023-02-14 17:03:27 +01:00
Eberhard Beilharz
24c6786b7d
chore(linux): Merge remote-tracking branch 'origin/master' into fix/linux/gha 2023-02-14 11:21:37 +01:00
Eberhard Beilharz
81933c8886
Merge pull request #8210 from keymanapp/chore/skippedBuilds
chore(common): Report status if no platform needs build
2023-02-14 09:18:33 +01:00
Marc Durdin
3c08d8f6b1
Merge pull request #8197 from keymanapp/chore/common/builder-cleanup-color-test
chore(common): automatically apply _builder_check_color
2023-02-11 13:13:30 +11:00
Eberhard Beilharz
9908eed572
fix(linux): Use PR HEAD for status
We need to use HEAD of the PR for setting the status, not the
merge commit.
2023-02-10 18:36:21 +01:00
Steven R. Loomis
db272e08e7 Merge remote-tracking branch 'upstream/master' into chore/merge-master-20230210-epic-ldml 2023-02-10 11:01:27 -06:00
Eberhard Beilharz
c9d806306a
chore(common): Report status if no platform needs build
This works around a problem where status.keyman.com keeps a PR in
the "Waiting for build" status because no status messages appear
in the PR because no files changed that affect any platform (e.g.
changes in GHA or documentation) which causes no platform builds
to be triggered.
2023-02-10 17:18:51 +01:00
Eberhard Beilharz
53e10ad0a6
fix(linux): Fix checkout of PRs
We need to specify the full ref, otherwise GitHub will add
`refs/heads` and `refs/tags` which won't work for pull requests.
2023-02-09 16:27:32 +01:00
Eberhard Beilharz
54ec47cba0
Merge pull request #7911 from keymanapp/feat/linux/githubdeb
feat(linux): Add debian packaging GHA
2023-02-09 10:38:34 +01:00
Marc Durdin
f3f7e04387 feat(common): parent-child scripts for builder
Introduces the `builder_run_child_actions` function. Sample scripts in
resources/build/tests/trees.
2023-02-09 13:45:23 +07:00
Joshua A. Horton
a3752dd9ff chore(common): full-repo ts-node update 2023-02-09 12:39:15 +07:00
Marc Durdin
4598f13ba8 chore(common): automatically apply _builder_check_color 2023-02-09 12:12:18 +07:00
Marc Durdin
a43802e006
Update resources/builder.inc.sh 2023-02-09 15:05:13 +11:00
Joshua A. Horton
878e0f0ea2 chore(common): updates typescript to 4.9.5 2023-02-09 08:40:52 +07:00
Marc Durdin
463b76de5d chore(common): builder internal dependencies
Fixes the scenario where `builder_describe_outputs` is called after
`builder_parse`, so that internal dependencies will be built as
required.
2023-02-08 14:08:47 +07:00
Marc Durdin
983ae43357 chore(common): add builder_term function 2023-02-08 12:49:54 +07:00
Eberhard Beilharz
2bf41ec377
docs: Add quotes around builder_describe_outputs example
This makes it clearer that the parameters can't be in the same
string (in contrast to `builder_describe`).
2023-02-07 15:26:23 +01:00
Eberhard Beilharz
e6300f1841
chore(linux): Address code review comments 2023-02-07 10:05:21 +01:00
Eberhard Beilharz
4975a38dd6
feat(linux): Use different types for PR and release builds
This makes it more obvious which workflow run is a PR build
and which is a release build.
2023-02-06 17:12:44 +01:00
Eberhard Beilharz
8caa73c500
feat(linux): Add debian packaging GHA 2023-02-06 17:12:43 +01:00
Marc Durdin
8ab6a8e5bc docs: builder.inc.sh improved documentation around dependencies 2023-02-06 13:56:10 +07:00
Steven R. Loomis
ae45295dc6 Merge remote-tracking branch 'upstream/master' into chore/merge-master-a17s5-REDO-epic-ldml 2023-02-03 16:53:35 -06:00
Eberhard Beilharz
5a9dfc21f6
chore: Fail TC build if triggering Jenkins build fails
(cherry picked from commit d60f2de25a)
2023-02-02 09:56:52 +01:00
Marc Durdin
d0c0d0ff58 Merge pull request #8139 from keymanapp/chore/developer/update-build-trigger-for-developer
chore: add new developer build trigger
2023-02-01 10:21:48 +07:00
Marc Durdin
9457f0c64a Merge pull request #8136 from keymanapp/chore/beta-release-trigger-definitions
chore: add 16.0-stable trigger definitions
2023-02-01 09:35:00 +07:00
Steven R. Loomis
48f72bf1d3 chore(resources): ldml: CLDR update 🙀
- Update to CLDR d0bdd8868a502afb6c1c1a3e2bf7c3404620f23b
- from in-progress PR https://github.com/unicode-org/cldr/pull/2633
2023-01-27 12:39:41 -06:00
Marc Durdin
fc4eb2b2c8 chore: address review comments 2023-01-23 14:13:38 +07:00
Marc Durdin
4698ad8df5 chore: add VERSION_GIT_TAG to replaceVersionStrings 2023-01-21 18:03:27 +07:00
Marc Durdin
067028cec2 chore: revise tag variable name to VERSION_GIT_TAG
Introduce new $VERSION_GIT_TAG environment variable, and update all
references to release@version in all projects to use the new variable.
2023-01-21 17:02:50 +07:00
Marc Durdin
98caa4e848 chore: git tag with release@semver
Follow-up from #8031.
2023-01-18 16:02:07 +07:00
Marc Durdin
eb77a73ab6
Revert "chore(common): Fix shellcheck warnings" 2022-12-19 07:18:48 +11:00
Steven R. Loomis
bc14f18460 Merge remote-tracking branch 'origin/master' into chore/core/mergemaster4-epic-ldml 2022-12-15 17:55:13 -06:00
Eberhard Beilharz
f8f113fd13
chore(common): Fix shellcheck warnings 2022-12-15 17:43:43 +01:00
Darcy Wong
85407c96b6 chore(common): Merge remote-tracking branch 'origin/beta' into chore/common/beta-b16s2 2022-11-25 08:17:34 +07:00
Marc Durdin
8448580365 fix: test builds should always run latest changes
While release builds need to build a specific commit hash, test builds
should always build the HEAD of the branch. This stops multiple merges
and/or pushes generating multiple test builds in the queue.
2022-11-24 10:07:15 +11:00