Commit graph

1758 commits

Author SHA1 Message Date
Eberhard Beilharz
436b4f3543
chore(windows): Merge branch 'master' into maint/windows/13399_tconfig 2025-07-03 13:04:09 +02:00
Eberhard Beilharz
684672f9c0
Merge pull request #14255 from keymanapp/maint/developer/fixrelease
Refactors the Powershell scripts that download and upload files and create .download_info files.

This change is based on #14236/#14254 which bypasses the path rewriting that msys does when calling Windows rsync.
2025-07-03 12:58:34 +02:00
Eberhard Beilharz
366bc304bf
Merge pull request #14254 from keymanapp/maint/web/rsync 2025-07-03 12:54:53 +02:00
Eberhard Beilharz
401edd9456
Merge pull request #14253 from keymanapp/refactor/common/downloads-script
- add shebang so that shellcheck knows what shell we use 
- fix line endings
2025-07-03 12:53:11 +02:00
Eberhard Beilharz
b92a642ec8
Merge pull request #14205 from keymanapp/main/common/14187_tcconfig 2025-07-03 12:45:31 +02:00
Eberhard Beilharz
d981e0a5c0
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-07-03 12:45:08 +02:00
Eberhard Beilharz
6c4b3b3d10
Update resources/teamcity/windows/keyman-windows-release.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-07-03 12:41:43 +02:00
Eberhard Beilharz
f38eaa1295
maint(developer): replace Powershell scripts
Refactors the Powershell scripts that download and upload files and
create .download_info files.

This change is based on #14236/#14254 which bypasses the path rewriting
that msys does when calling Windows rsync.

Fixes: #14226
Related: #14236
Build-bot: skip
Test-bot: skip
2025-07-02 19:14:08 +02:00
Eberhard Beilharz
8bb0be2f8f
maint(windows): replace Powershell scripts
Refactors the Powershell scripts that download and upload files and
create .download_info files.

This change is based on #14236/#14254 which bypasses the path rewriting
that msys does when calling Windows rsync. Part of this change was done
for developer in #14255.

Related: #14236, #14255
2025-07-02 18:43:08 +02:00
Eberhard Beilharz
52943600dc
maint(web): move rsync code to shared functions
Build-bot: skip
Test-bot: skip
2025-07-02 17:01:30 +02:00
Eberhard Beilharz
cd796fe770
chore(windows): Merge branch 'master' into maint/windows/13399_tconfig 2025-07-02 16:59:23 +02:00
Eberhard Beilharz
8ea81be621
maint(web): move rsync code to shared functions
Build-bot: skip
Test-bot: skip
2025-07-02 11:51:25 +02:00
Eberhard Beilharz
bde4db43ae
refactor(common): improve downloads include script
- add shebang so that shellcheck knows what shell we use
- fix line endings
2025-07-02 10:34:58 +02:00
Marc Durdin
755357ecdf chore(common): Merge branch 'master' into maint/common/14149-7z-sevenz-seven-z 2025-07-02 15:43:38 +10:00
Marc Durdin
d5c61df5bf
Merge pull request #14216 from keymanapp/feat/resources/14200-builder-ignore-unknown-for-script-integrations
feat(resources): support ignoring unknown options in builder
2025-07-02 12:39:10 +07:00
Marc Durdin
533bc73312
Merge pull request #14249 from keymanapp/maint/web/14225-simplify-rsync-call-and-download-info-build
maint(web): adjust rsync path
2025-07-02 05:20:27 +07:00
Marc Durdin
c5dc3e583d chore: remove unnecessary comment 2025-07-02 08:18:24 +10:00
Marc Durdin
3011a0816d maint(web): adjust rsync path 2025-07-02 08:12:35 +10:00
Marc Durdin
5473eb43d5
Merge pull request #14236 from keymanapp/maint/web/14225-simplify-rsync-call-and-download-info-build
maint(web): cleanup rsync call from bash for Windows agents and refactor
2025-07-01 06:04:45 +07:00
Marc Durdin
90b7c34df8 maint(web): cleanup rsync call from bash for Windows agents and refactor
Refactors the Powershell script which built the .download_info file for
web into the keyman-web-release.sh script, and then bypasses the path
rewriting that msys does when calling a Windows executable (rsync).

This was tricky because msys was mangling all the paths to Windows-style
but we specifically need to reference one remote Unix-style path in the
rsync call. As we wanted to move away from the Powershell script anyway,
it was cleaner to resolve this in one go by moving the whole script to
bash.

The new tc-download-info.inc.sh script is a minimally generalized
version of the download_info writing from keyman-linux-release.sh, and
once the dust settles, it would be good to DRY this out.

Note that this is still Windows-only, despite the rest of the build
being basically platform-agnostic. I wanted to get this stable before we
generalize, which should be fairly straightforward, as it's only the
rsync call which will be touched.

Tested locally with a drop-in Windows executable that just prints its
arguments, to verify that path mangling is not occurring where we don't
want it. The DEBUG lines in keyman-web-release.sh will be removed once
we are confident this is correct.

Fixes: #14225
2025-06-29 10:13:22 +10:00
Eberhard Beilharz
399baddf23
refactor(linux): rename linux agent specific functions
This change prefixes functions with `ba_` that are intended to be run on
a Linux build agent. That should make it easier to distinguish them from
functions that deal with building Keyman for Linux.

Test-bot: skip
2025-06-25 20:13:09 +02:00
Marc Durdin
d3a38b93d0
Merge branch 'master' into maint/common/14149-7z-sevenz-seven-z 2025-06-25 10:05:24 +07:00
Marc Durdin
41b89bb0d1 maint(resources): add pr-build-status test to resources/build.sh
Also tweak one output string for clarity.

Build-bot: skip
2025-06-25 05:51:00 +10:00
Marc Durdin
bb282303e4 maint(resources): minor cleanup
Build-bot: skip
2025-06-25 05:47:12 +10:00
Eberhard Beilharz
bc5e05fd84
refactor(developer): use shared upload_help function
Build-bot: build developer
Test-bot: skip
2025-06-24 18:48:33 +02:00
Eberhard Beilharz
aec28e5855
chore(windows): Merge branch 'master' into maint/windows/13399_tconfig 2025-06-24 18:07:58 +02:00
Eberhard Beilharz
d727991fff
maint(common): simplify scripts
This addresses code review comments.
2025-06-24 15:28:29 +02:00
Eberhard Beilharz
7aadd622df
maint(windows): fix location of kmcomp.zip 2025-06-24 15:09:55 +02:00
Marc Durdin
6ab6e2b20e fix(resources): use correct payload for status event 2025-06-24 16:54:56 +10:00
Marc Durdin
9de8d260cc maint(resources): support additional workflow events for pr-build-status
Also retrieves the correct SHA from each workflow event.

Build-bot: skip
Test-bot: skip
2025-06-24 16:49:19 +10:00
Marc Durdin
795f9f75ae maint(resources): build pr-build-status.yml from sources 2025-06-24 09:47:12 +10:00
Marc Durdin
dde272ac27
Merge branch 'master' into feat/resources/14200-builder-ignore-unknown-for-script-integrations 2025-06-24 06:10:12 +07:00
Marc Durdin
3be1bd942d
Merge pull request #14199 from keymanapp/maint/resources/14172-pr-build-status-2
maint(resources): add pr-build-status GitHub Action to summarize build status 🤖
2025-06-24 06:07:30 +07:00
Marc Durdin
61e1b4ca37
Merge pull request #14217 from keymanapp/maint/resources/allow-target-branch-names-in-rrtb
fix(resources): allow branch names in run-required-test-builds shortcut call
2025-06-24 06:07:16 +07:00
Marc Durdin
0f4a1cdfe7 fix(resources): allow branch names in run-required-test-builds shortcut call
This is a transitional patch while we wait for the Build-bot changes to
flow through all the open PRs. Fixes the broken master test build.
2025-06-24 09:03:28 +10:00
Marc Durdin
a6936a3a41
Merge pull request #14196 from keymanapp/maint/developer/support-buildLevel
maint(developer): support buildLevel 🤖
2025-06-24 05:53:13 +07:00
Marc Durdin
8145c017d7 feat(resources): support ignoring unknown options in builder
Fixes: #14200
Test-bot: skip
2025-06-24 07:12:09 +10:00
Marc Durdin
27196068ae chore(common): Merge branch 'maint/common/pr-build-bot' of https://github.com/keymanapp/keyman into maint/common/pr-build-bot 2025-06-23 05:14:36 +10:00
Marc Durdin
94cdf834df maint(common): polish docs and add tests for build-bot 2025-06-23 05:05:01 +10:00
Marc Durdin
deb18b4811 maint(resources): add pr-build-status check run GHA
Adds a check run to verify the outcome of all builds on the branch, so
that we can add branch protection rules.

Fixes: #14172
Build-bot: skip
2025-06-19 07:36:06 +10:00
Eberhard Beilharz
ed28a3174f
maint(common): move TC configuration for common tests
Fixes: #14187
Part-of: #13399
Test-bot: skip
2025-06-17 18:24:48 +02:00
Eberhard Beilharz
27c6628230
maint(windows): address code review comments
Previous commit used wrong if-branch.
2025-06-17 16:15:43 +02:00
Eberhard Beilharz
c70c854b99
maint(windows): address code review comments 2025-06-16 18:05:55 +02:00
Eberhard Beilharz
a8dedae2d1
chore(windows): Merge branch 'master' into maint/windows/13399_tconfig 2025-06-16 17:49:15 +02:00
Marc Durdin
825f7d2df0
Merge branch 'maint/common/pr-build-bot' into maint/developer/support-buildLevel 2025-06-16 04:54:29 +07:00
Marc Durdin
81c941313b
Merge branch 'master' into maint/common/pr-build-bot 2025-06-16 03:52:39 +07:00
Marc Durdin
156bdcdd8a maint(common): rename and move builder_if_release_build_level 2025-06-16 06:45:42 +10:00
Marc Durdin
f3136d5ab2 maint(developer): skip signature check on buildLevel build 2025-06-16 05:54:33 +10:00
Marc Durdin
870d37f56b maint(developer): only copy .dbg/.pdb on release buildLevel 2025-06-16 05:40:30 +10:00
Marc Durdin
11a558e926 maint(developer): support buildLevel
Relates-to: 14125
Build-bot: build
Test-bot: skip
2025-06-14 15:22:15 +10:00