Commit graph

1368 commits

Author SHA1 Message Date
jahorton
c7df79e00f fix(ios): shell script quotes 2020-03-09 08:29:41 +07:00
Marc Durdin
6569536e10 fix(ci): builds were never triggered 2020-03-09 07:40:42 +11:00
Marc Durdin
53a439a523 fix(common): parameter order incorrect in git diff
This caused the build triggers to fail in some circumstances.
2020-03-08 12:59:08 +11:00
jahorton
38cfe74563 feat(ios): proper debug file format for KMEI 2020-03-05 14:26:30 +07:00
jahorton
7b9dc42f84 chore(ios): Merge branch 'feat/ios/xcode-compile-dev-version' into feat/ios/sentry-start 2020-03-05 13:50:32 +07:00
jahorton
c161fade8e feat(ios): adds updates for version string in iOS settings 2020-03-05 13:35:50 +07:00
jahorton
4d96324764 fix(ios): prevents unbound var on SENTRY_AUTH_TOKEN check 2020-03-05 10:03:41 +07:00
jahorton
42dfee31c0 fix(ios): better unbound var check 2020-03-05 10:01:28 +07:00
jahorton
f760712031 fix(ios): Fixes build script error from unbound variable 2020-03-05 09:58:32 +07:00
jahorton
989f5f2e8d change(ios): 'buildWarning' & 'buildError' macros in xcode-utils.sh 2020-03-05 09:53:50 +07:00
jahorton
02a5bc8a32 chore(ios): A bit of cleanup 2020-03-05 09:37:30 +07:00
jahorton
a6a6e227d3 feat(ios): Autogenerates environment.sh environment-def resource 2020-03-05 09:33:06 +07:00
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
jahorton
940bfa4718 feat(ios): a first-pass i18n export script, resource cleanup 2020-02-27 15:36:36 +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
ae8ae86971
Merge pull request #2701 from keymanapp/refactor/common/hooks
refactor(common): Simplify and improve getting hook directory
2020-02-21 09:08:34 +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
35c6208273 refactor(common): Simplify and improve getting hook directory 2020-02-20 21:44:46 +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
6902f7bf1c
Merge branch 'master' into chore/beta-alpha-p9s1 2020-02-07 16:25:39 +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