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
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
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
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
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
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
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
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
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
Marc Durdin
ec12469487
Merge pull request #7776 from keymanapp/chore/cleanup-history
...
chore: cleanup history
2022-11-21 17:20:45 +11:00
Marc Durdin
9103703e41
fix: automatically merge changes to history back to master
...
Fixes #7351 .
2022-11-21 13:17:30 +11:00
Marc Durdin
de0179ca39
fix: automatically merge changes to history back to master
...
Fixes #7351 .
2022-11-21 10:20:22 +11:00
Marc Durdin
4355a9ff1c
chore: use local history instead of PR title
2022-11-21 09:48:56 +11:00
Marc Durdin
6a49af43a7
fix(common): always define dry_run variable
2022-11-03 06:21:04 +11:00
Marc Durdin
c336a8052c
fix(developer): publish @keymanapp/keyman-version to npm
...
Fixes #7582 .
Because of https://github.com/npm/cli/issues/3466 , we must publish our
internal dependency @keymanapp/keyman-version. This change adds a common
builder function builder_publish_to_npm in build-utils-ci.inc.sh to help
with that task, which should be adopted by other scripts that need to
publish to npm, in the future.
For now, responsibility for publishing keyman-version is delegated to
kmlmc. In the future, we will move this to a single top-level build
action that publishes all npm modules across the entire repo for the
given version.
2022-11-02 13:33:24 +11:00
Marc Durdin
b45b759354
chore: make git pre-commit hook executable
2022-10-31 16:13:58 +11:00
Marc Durdin
5e55ceb903
fix(common): ignore deps when formatting help
...
Fixes #7512 .
Dependencies were being added to list of parameters, which caused the
help formatting to be overly spaced out. Given deps are not parameters,
we should never have been adding them anyway.
2022-10-24 15:26:16 +11:00
Marc Durdin
0e9d850ce9
chore(common): address review comments
2022-10-21 05:35:30 +11:00
Marc Durdin
d4cb5139da
chore(common): automatically run internal dependencies on builder
...
Fixes #7455 .
If a builder script defines outputs for configure or build actions,
builder will figure out if configure and/or build need to be run for
any dependent actions for the script.
2022-10-17 15:16:35 +11:00
Marc Durdin
77bb445258
chore(common): --debug standard flag for builder
2022-10-17 10:41:16 +11:00
Marc Durdin
986544c778
feat(common): builder script dependency and legacy script report
...
Adds /resources/build/builder-report.sh, internal maintenance script for
tracking build dependency tree and remaining legacy build.sh scripts.
@keymanapp-test-bot skip
2022-10-14 07:54:00 +11:00
Marc Durdin
b7000f5b7f
chore(common): builder_start_action wildcard support
2022-10-12 13:28:37 +11:00
Marc Durdin
30121d9793
chore(common): remove space for builder_..._action param
2022-10-12 13:28:37 +11:00
Marc Durdin
d803d47d1d
chore(common): handle missing files in path expansion
2022-10-12 13:28:16 +11:00
Marc Durdin
1cecb87f7f
feat(common): builder dependency support
2022-10-12 12:50:26 +11:00
Joshua A. Horton
e347aeabfe
chore(common/models): minor tweaks per review
2022-10-05 09:04:23 +07:00
Joshua A. Horton
066eede2df
fix(common): fixes trap error passing for npm-emitted errors
2022-10-03 12:45:57 +07:00
Darcy Wong
637bd7560c
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-09-30 07:06:10 +07:00
Darcy Wong
f06578714e
chore(common): Update standard example
2022-09-29 10:34:25 +07:00
Darcy Wong
0ee5055907
chore(common): Clarify assumption that THIS_SCRIPT has been set
2022-09-29 08:45:31 +07:00