49 Commits

Author SHA1 Message Date
Andreas Dangel
b73afc47f7 Bump build-tools from 11 to 12 2021-05-06 10:25:28 +02:00
Andreas Dangel
375e7a1bff [ci] Improve caching for pmd-regression-tester 2021-04-24 18:01:17 +02:00
Andreas Dangel
4b4af8c12f [ci] Increase fetch depth for git-repo-sync 2021-04-24 16:15:09 +02:00
Andreas Dangel
fe9bf3c352 Bump build-tools from 10 to 11 2021-04-22 10:59:51 +02:00
Andreas Dangel
a09e38471f [ci] Run git-repo-sync only on pushes, not on pull requests
Also remove unneeded actions
2021-04-18 19:57:50 +02:00
Andreas Dangel
2ad755f963 [ci] Add git-repo-sync 2021-04-18 19:50:52 +02:00
Andreas Dangel
f413328653 [ci] Set autoReleaseAfterClose=true in workflow 2021-04-18 18:49:14 +02:00
Andreas Dangel
953a9999b4 [ci] Checkout with fetch-depth 2
Otherwise we can't fetch later more commits
for regression-tester and danger.
2021-04-16 20:06:56 +02:00
Andreas Dangel
081edd5213 Revert "[ci] Enable debug mode for check-environment.sh"
This reverts commit ff68dd7bef8fb7911f390ebc64769993b915e4ea.
2021-04-16 16:43:28 +02:00
Andreas Dangel
ff68dd7bef [ci] Enable debug mode for check-environment.sh 2021-04-16 16:35:52 +02:00
Andreas Dangel
417cc7fcbe [ci] Finish scripts migration, integration sonar+coveralls 2021-04-15 16:20:22 +02:00
Andreas Dangel
10c6906f0f [ci] First round of migration to new build scripts 2021-04-15 15:26:33 +02:00
Andreas Dangel
fdc6336bf2 [ci] Increase timeout for staging to oss.sonatype.org 2021-03-26 17:56:26 +01:00
Andreas Dangel
49ff9a5c5f [ci] Increase build timeout for pull requests to 60 minutes 2021-01-08 15:33:48 +01:00
Andreas Dangel
f276eec0ba [ci] Use ruby 2.7 for release build (#2967) 2020-12-12 11:19:51 +01:00
Andreas Dangel
db3c636081 [ci] Avoid mixing caches 2020-11-25 14:14:49 +01:00
Andreas Dangel
bc4938087a [ci] Only install java7 on Linux, add GITHUB_TOKEN for sonar 2020-11-14 20:29:27 +01:00
Andreas Dangel
4147d09771 [ci] Windows needs maven_dependencies_resolve
* Use the same build script for Windows+MacOS as for PRs
* Also install java7 for PRs (that was missing from the old travis solution)
* Run coveralls and sonar in parallel to win/macos after linux
2020-11-14 19:27:40 +01:00
Andreas Dangel
faa0a6109e [ci] Fix builds for Windows / MacOS
Add missing include for logger
2020-11-14 18:29:44 +01:00
Andreas Dangel
91835315cc Add vendor/bundle to cache 2020-11-14 12:44:57 +01:00
Andreas Dangel
4246cb77ca Add sonar and coveralls jobs 2020-11-14 12:33:31 +01:00
Andreas Dangel
e2514c546c Implement release builds 2020-11-13 20:34:37 +01:00
Andreas Dangel
8c087e9357 Describe workaround for failing downloads 2020-11-13 19:43:55 +01:00
Andreas Dangel
825e3426d7 Fetch more commits of the PR for danger 2020-11-13 17:15:53 +01:00
Andreas Dangel
a5c7f3c77a Increase fetch depth so that danger finds the HEAD commit of the PR 2020-11-13 15:56:05 +01:00
Andreas Dangel
e8525008b2 Move install-openjdk into main script, add check-environment 2020-11-13 15:35:16 +01:00
Andreas Dangel
412ddb3018 Fix pull requests build - correctly extract data from event 2020-11-13 14:58:57 +01:00
Andreas Dangel
7e35165c01 Externalize tokens for Danger, use correct base branch ref 2020-11-13 14:27:26 +01:00
Andreas Dangel
be07f5b8c8 Enable windows build again 2020-11-13 12:01:53 +01:00
Andreas Dangel
6e81754078 There are no secrets in pull requests 2020-11-13 12:01:28 +01:00
Andreas Dangel
9d531cba4d Enable pull-requests workflow 2020-11-13 11:39:30 +01:00
Andreas Dangel
70f2c56888 Resolve maven dependencies before building
This tries to solve build timeouts while downloading dependencies.
Also the job timeout for PRs is 30 minutes - if it takes longer,
something is wrong.
2020-11-13 11:37:05 +01:00
Andreas Dangel
1790684fff Add troubleshooting 2020-11-12 20:12:07 +01:00
Andreas Dangel
1edc659456 Take out windows build
It's always failing to download dependencies
2020-11-12 19:15:29 +01:00
Andreas Dangel
295505af5b Integrate danger for pull requests 2020-11-12 13:11:56 +01:00
Andreas Dangel
4628664545 Add regression-tester for updating baseline 2020-11-12 11:54:51 +01:00
Andreas Dangel
0f14066adc Use github job infos 2020-11-12 10:42:19 +01:00
Andreas Dangel
b42a358844 Add workaround for connection timeouts 2020-11-12 09:44:17 +01:00
Andreas Dangel
14548e7b80 Integrate setup secrets into build.sh, add env.gpg, add sourceforge upload 2020-11-11 22:56:02 +01:00
Andreas Dangel
a089bbc143 Use bash 2020-11-10 22:37:04 +01:00
Andreas Dangel
3d4928dfbb Initial version of new ci scripts 2020-11-10 22:26:26 +01:00
Andreas Dangel
398305144d [ci] Display used java version in github action 2020-10-28 11:03:20 +01:00
Andreas Dangel
d626b9314e [ci] Support [skip ci] with github actions
See https://github.com/marketplace/actions/skip-based-on-commit-message
2020-10-15 11:28:46 +02:00
Andreas Dangel
b8da15ce00 [ci] use actions/checkout@v2 and actions/setup-java@v1
instead of specific subversions. This uses then always the latest
versions automatically.
2020-10-10 14:03:32 +02:00
dependabot[bot]
d37ccca4ab Bump actions/setup-java from v1.4.2 to v1.4.3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from v1.4.2 to v1.4.3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v1.4.2...d202f5dbf7256730fb690ec59f6381650114feb2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 06:16:30 +00:00
dependabot[bot]
2a6b04ef4d Bump actions/checkout from v2.3.2 to v2.3.3
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.2 to v2.3.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.2...a81bbbf8298c0fa03ea29cdc473d45769f953675)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 06:18:42 +00:00
dependabot[bot]
72f9d0f90a Bump actions/setup-java from v1.4.0 to v1.4.2
Bumps [actions/setup-java](https://github.com/actions/setup-java) from v1.4.0 to v1.4.2.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v1.4.0...8bb50d97d6b4d316daf284fdf8eafbfc988421fc)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-12 10:46:46 +00:00
Andreas Dangel
b247d616d9 [ci] github actions: Build on push and pull requests 2020-09-12 12:13:28 +02:00
XenoAmess
01de9ce450 add github actions for a fast view of pr succeed/not.
travis-ci is toooo slow.
2020-08-24 19:15:52 +08:00