Commit graph

7013 commits

Author SHA1 Message Date
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
Keyman Server
dc0747bf6c
Merge pull request #2610 from keymanapp/auto/version-master-14.0.9
auto: increment master version to 14.0.9
2020-02-08 05:01:36 +11:00
Keyman Build Agent
0ed625d81f auto: increment master version to 14.0.9 2020-02-07 13:00:54 -05:00
Eberhard Beilharz
30f9476129
Merge pull request #2599 from keymanapp/fix/linux/packaging
fix(linux): Install requirements before packaging
2020-02-07 08:22:18 +01: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
4211b46894
Merge pull request #2606 from keymanapp/chore/beta-alpha-p9s1
chore: merge beta P9S1 changes to master
2020-02-07 17:19:54 +11:00
Marc Durdin
cb770d4afc
Merge pull request #2605 from keymanapp/chore/update-history
chore: update history
2020-02-07 17:19:34 +11:00
Marc Durdin
6902f7bf1c
Merge branch 'master' into chore/beta-alpha-p9s1 2020-02-07 16:25:39 +11:00
Marc Durdin
a69372febf chore: update history
The master builds ran on triggers rather than after
the increment, so need to manually update history to
bring it into sync. Shouldn't happen again.
2020-02-07 16:18:38 +11:00
Marc Durdin
67f08b0414 chore(ci): address review comment 2020-02-07 14:21:17 +11:00
Marc Durdin
144b72fdef
Merge pull request #2598 from keymanapp/tweak-readme
chore(common): Update README.md
2020-02-07 14:12:43 +11:00
Marc Durdin
686635d263
Merge pull request #2602 from keymanapp/chore/ci/tweak-history-management
chore(ci): Tweak history management
2020-02-07 14:12:25 +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
Keyman Server
da4b227dbf
Merge pull request #2600 from keymanapp/auto/version-master-14.0.7
auto: increment master version to 14.0.7
2020-02-07 05:22:16 +11:00
Keyman Build Agent
b8e0ae13bb auto: increment master version to 14.0.7 2020-02-06 13:21:36 -05:00
Eberhard Beilharz
61b5454914
fix(linux): python3-qrcode is not available on Xenial 2020-02-06 19:00:33 +01:00
Eberhard Beilharz
c1537a371f
fix(linux): Fix build dependencies for keyman-config 2020-02-06 18:49:37 +01:00
Eberhard Beilharz
f1548f0b16
docs(linux): Update README.md for keyman-config
keyman-config now requires `gir1.2-webkit2-4.0` instead of
`gir1.2-webkit-3.0`.
2020-02-06 18:29:11 +01:00
Eberhard Beilharz
f5666d1b1e
fix(linux): Fix build dependencies for keyman-config 2020-02-06 18:27:44 +01:00
Eberhard Beilharz
daae618386
fix(linux): add more package requirements
These packages are required for building the source package for
keyman-config.
2020-02-06 18:26:57 +01:00
Eberhard Beilharz
d7417cf3c2
fix(linux): add another package requirement 2020-02-06 15:44:48 +01:00
Eberhard Beilharz
9479937b0f
fix(linux): Install requirements before packaging
This change checks that the required packages are installed and
if necessary installs them before trying to build a source
package.
2020-02-06 15:39:26 +01:00
Eberhard Beilharz
81c807ef4c
Merge pull request #2591 from keymanapp/fix/linux/packaginglogging
fix(linux): Display the script name in log output
2020-02-06 09:53:53 +01:00
Eberhard Beilharz
ac2541b487
Merge pull request #2589 from keymanapp/fix/linux/packaging
fix(linux): cherry-pick packaging changes from beta branch
2020-02-06 09:53:23 +01:00
Joshua Horton
b346b960db
Merge pull request #2581 from keymanapp/feat/common/prepare-commit-hook
feat: prepare-commit-msg hook for autogenerated conventional commit messages
2020-02-06 14:15:46 +07:00
Marc Durdin
dec1789a4a
Update README.md 2020-02-06 17:17:53 +11:00
Marc Durdin
e4cc4b87a7
Update README.md 2020-02-06 16:51:12 +11:00
Joshua Horton
0574d28eea
Update resources/git-hooks/commit-msg-defs
Co-Authored-By: Darcy Wong <darcywong00@users.noreply.github.com>
2020-02-06 11:53:49 +07:00
jahorton
3c4679ae6f feat(common): Proper docs, extra tweak 2020-02-06 11:01:08 +07:00
jahorton
c81729fbe0 feat(common): creates common type/scope defn script for inclusion 2020-02-06 10:56:39 +07:00
Marc Durdin
e2b287768c chore(ci): tweak scopes 2020-02-06 10:42:58 +07:00
Marc Durdin
f4c205e9fc chore(ci): tweak commit hook 2020-02-06 10:42:54 +07:00
Eberhard Beilharz
60366e1cb0
fix(linux): Display the script name in log output 2020-02-05 15:17:41 +01:00
Darcy Wong
640a6b92ff
fix(linux): Add eoan
(cherry picked from commit a3ff9d10d1)
2020-02-05 15:11:43 +01:00
Darcy Wong
c7b37eac1d
fix(linux): Remove one more reference to disco
(cherry picked from commit 70e0f9308a)
2020-02-05 15:11:37 +01:00
Darcy Wong
4f99009938
fix(linux): Also remove disco
19.04 Disco is EOL Jan 23, 2020 so also remove it

(cherry picked from commit 3c65b5fcb9)
2020-02-05 15:11:30 +01:00
Darcy Wong
ce3ca67f36
fix(linux): Remove cosmic distribution
18.10 was end-of-life July 18, 2019 and launchpad is rejecting any further package updates for that version.

(cherry picked from commit bdd1244860)
2020-02-05 15:11:24 +01:00