Commit graph

51 commits

Author SHA1 Message Date
jahorton
f79e9ef136 change(ios): Sentry upload script for xcode-utils.sh 2020-03-04 21:34:39 +07:00
jahorton
9cf45434f8 change(ios): reworks new version update as xcode-utils.sh 2020-03-04 08:31:55 +07:00
Eberhard Beilharz
c9e4a66f28
Merge pull request #2714 from keymanapp/fix/ci/increment-version
fix(ci): Fix increment-version.sh script
2020-02-24 08:47:36 +01:00
Eberhard Beilharz
caed499d09 fix(ci): Fix increment-version.sh script
trigger-builds.sh now makes use of the definitions in
trigger-definitions.config. Therefore we need to make those definitions
available.
2020-02-22 20:54:54 +01:00
Eberhard Beilharz
bae70549e6
chore(ci): Force Jenkins build when building master 2020-02-21 15:22:07 +01:00
Eberhard Beilharz
8f7ca9b9d7
chore(ci): Improve output when triggering Jenkins jobs
- Output the result when triggering a Jenkins job
- Indent the output of triggering TeamCity jobs
2020-02-21 14:48:50 +01:00
Eberhard Beilharz
39717c226e chore(linux): Fix trigger script 2020-02-20 22:33:21 +01:00
Eberhard Beilharz
8d5724a79b fix(linux): Fix typo in previous commit 2020-02-20 21:53:20 +01:00
Eberhard Beilharz
71616cbcee
chore(linux): allow to trigger Jenkins build from script
This change also refactors `triggerBuilds` to use the definitions
from `trigger-definitions.config`. Jenkins configurations are
identified by the suffix `_Jenkins`.
2020-02-20 16:34:14 +01:00
Eberhard Beilharz
fefc1c27af
chore(ci): Rename trigger-definitions.sh to *.config
This makes it easier to see that this file doesn't contain any
executable code which makes it slightly easier to find the relevant
scripts in this directory that get executed on their own.
2020-02-17 14:12:20 +01:00
Marc Durdin
255e4f4b7a chore: Merge branch 'master' into chore/beta-to-master-p9s2-1 2020-02-17 10:11:15 +11:00
Marc Durdin
f73d64ab13 fix(ci): KEYMAN_ROOT 2020-02-10 13:23:39 +11:00
Marc Durdin
a1a70f7b72 fix(ci): don't include build-utils.sh
It depends on 14.0 alpha version infrastructure; we
shouldn't need it for triggering the test builds for
beta.
2020-02-10 13:20:34 +11:00
Marc Durdin
dd9cc4c50d chore(ci): address review comments 2020-02-10 13:04:06 +11:00
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