Commit graph

537 commits

Author SHA1 Message Date
Marc Durdin
265e69fbbc chore(ci): address review comments 2020-02-10 13:03:39 +11:00
Marc Durdin
77c42909c2 chore(ci): add build scripts for beta tests 2020-02-10 10:53:33 +11:00
Marc Durdin
85f8eb4ec5 chore(ci): add +x to run-required-test-builds 2020-02-10 09:29:20 +11:00
Marc Durdin
f11a567397 fix(ci): re-enable build configs 2020-02-10 07:57:38 +11:00
Marc Durdin
c868f047f2 fix(ci): cleanup branch spec 2020-02-10 07:56:16 +11:00
Marc Durdin
ffacdfb1ee chore(ci): test triggers 2020-02-10 07:50:23 +11:00
Marc Durdin
df86a608ef chore(ci): test triggers 2020-02-10 07:48:00 +11:00
Marc Durdin
829fa8469a fix(ci): use branch spec 2020-02-10 07:40:47 +11:00
Marc Durdin
78993b686d chore(ci): actually trigger builds 2020-02-10 07:26:10 +11:00
Marc Durdin
fe5071ea54 fix(ci): refactor to build based on central config
We have setup a single build configuration Keyman:Test that is triggered
when VCS changes are detected. This looks at the changes in the PR and
determines which projects need to be built. This is cleaner than the
current mess of configurations we have in TeamCity, because the
definitions are in just one place and far easier to maintain
consistently. This will also simplify all the pull request test
configurations because they won't need to be testing for safety or
other boilerplate as they will only ever be triggered by Keyma:Test
which has already run the safety tests.

The run-required-test-builds.sh script contains the logic; the data is
basically all in trigger-definitions.sh.
2020-02-10 07:17:13 +11:00
Marc Durdin
d0005ed893 fix(ci): tweak scripts 2020-02-09 17:37:00 +11:00
Marc Durdin
f5b473f84a fix(ci): report build status 2020-02-09 17:29:21 +11:00
Marc Durdin
1c994b57b9 chore(ci): test both messages 2020-02-08 09:10:27 +11:00
Marc Durdin
cdd6930ef5 chore(ci): testing just cancel message 2020-02-08 09:05:06 +11:00
Marc Durdin
e374d8c153 chore(ci): test build cancellation feature 2020-02-08 09:00:40 +11:00
Marc Durdin
752fd9662a fix(ci): is-build-required failed on missing branch
When the remote branch was deleted before the script ran, e.g. for
an automatically merged PR, this script would fail with error 128 from
git:

fatal: ambiguous argument 'origin/master...origin/auto/version-master-14.0.9':
unknown revision or path not in the working tree.

This handles error 128 as a signal to cancel the build rather than to
fail the build. It is possible that git would return error 128 for
other situations, but I cannot currently see any significant situations
where that would arise.
2020-02-08 08:45:47 +11:00
Marc Durdin
60a36182e5
Merge pull request #2603 from keymanapp/chore/ci/is-build-required
chore(ci): is build required?
2020-02-07 17:28:48 +11:00
Marc Durdin
67f08b0414 chore(ci): address review comment 2020-02-07 14:21:17 +11:00
Marc Durdin
32f220cf22 chore(ci): set execute bit 2020-02-07 13:56:46 +11:00
Marc Durdin
1246693c00 chore(ci): is build required?
Adds a script that tests whether changes are likely
to impact the target platform and cancels the build
if not.
2020-02-07 13:42:43 +11:00
Marc Durdin
f583034d31 chore(ci): ensure latest history is uploaded in ci 2020-02-07 09:50:05 +11:00
Marc Durdin
b4344da838 chore(ci): add bullets to history 2020-02-07 09:49:49 +11:00
Marc Durdin
3e2e40a3b2 chore(ci): address review comment 2020-02-04 12:12:07 +11:00
Marc Durdin
06b5feed0c chore: history parsing and validation 2020-02-04 08:46:34 +11:00
Marc Durdin
fad3ff2822 chore(ci): add date to history headings 2020-02-04 06:53:30 +11:00
Marc Durdin
bb53e9e3ed chore(ci): test builds on master/beta 2020-02-04 06:35:51 +11:00
Marc Durdin
6830ed1539 chore: remove commented oid 2020-02-03 12:44:50 +11:00
Marc Durdin
d184c1080c chore(ci): trigger-builds script 2020-02-03 12:44:28 +11:00
Marc Durdin
ade5243ebd chore(ci): Add triggerBuilds to increment-version 2020-02-03 12:40:43 +11:00
Marc Durdin
6e8ce1c38d chore: add version tags 2020-02-03 10:14:08 +11:00
Marc Durdin
eff292c6b3 chore(ci): increment version final
This prepares a PR with updated history and version
for auto-merge. Any new PRs are merged into HISTORY.md
but existing entries are left untouched. Thus, we can
tweak wording in HISTORY.md at any time without the
effort of figuring out which PRs need to be present
manually.
2020-02-03 09:33:46 +11:00
Marc Durdin
a0750b9f75 chore: no version tag for tc alpha/beta builds 2020-02-01 13:05:54 +11:00
Marc Durdin
91475a51a7 chore: version tags
Adds version tags and publishes them to
TeamCity as a starting point. We'll add them
progressively to project 'about' dialogs.
2020-02-01 10:47:24 +11:00
Marc Durdin
ef02b1bdda chore: address review comments 2020-01-31 20:01:46 +11:00
Marc Durdin
15621041d4 feat: setup automatic merge keyman-server
PRs from keyman-server will be automatically approved
and merged. Also tidies up other GitHub bits and pieces.
2020-01-31 12:23:34 +11:00
Marc Durdin
6f5f37ae82 chore(web): use new version infrastructure 2020-01-29 09:15:21 +11:00
Marc Durdin
d5fe536eef chore: start history/version infrastructure 2020-01-29 08:54:32 +11:00