Commit Graph

24 Commits

Author SHA1 Message Date
Wouter Born
0d513d3d85
Replace deprecated stale bot with stale action (#17384)
The stale bot is deprecated and no longer maintained.
Instead the stale GHA should be used.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-09-07 20:11:49 +02:00
Holger Friedrich
4cc5a27984
[CI] Add Java 21 compiling to J17 and native J21 (#16672)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-04-22 08:41:38 +02:00
Wouter Born
c9f8324142
Upgrade get-changed-files GHA dependency (#16451)
This fixes the last remaining deprecation warning:

> Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20

Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-24 14:25:24 +01:00
Wouter Born
2fb3988dcd
Upgrade GHA dependencies (#16420)
This fixes the following deprecation warning:

> Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20

Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-17 11:47:35 +01:00
Wouter Born
8da6f0ad07
Upgrade Maven and plug-ins (#15525)
* Use Maven 3.9.4 with GitHub Actions CI
* Upgrade Maven plug-ins

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 13:28:44 +02:00
Wouter Born
8dd0028315
Trigger full build when add-on is removed (#14680)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-26 12:50:50 +02:00
Wouter Born
d70e2c6294
Instruct contributors to always use "main" branch for PRs (#14574)
* Instruct contributors to always use "main" branch for PRs
* Fix a typo too

This helps to prevent some frustration between contributors/maintainers.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-11 12:26:53 +01:00
Wouter Born
026ac92023
Add Stale configuration (#14109)
Similar to openhab/openhab-core#2974

See also: https://github.com/marketplace/stale

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-29 19:32:45 +01:00
J-N-K
cd9e1b0590
Fix build / Resolve itests (#14018)
* Fix build / Resolve itests
* Remove Java 11 from GHA matrix

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-20 08:11:31 +01:00
Wouter Born
74edb5377c
GitHub Actions workflow upgrades (#13915)
* Upgrade actions to fix deprecation warnings
* Use ubuntu-22.04 for builds

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-11 17:38:47 +01:00
Wouter Born
0a2a85b448
GitHub Actions workflow improvements (#13018)
* Upgrade actions to latest versions
* Upgrade Maven to 3.8.6
* Use Temurin JDK instead of Zulu JDK

The Temurin JDK is preinstalled in the [Ubuntu image](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#java) whereas the Zulu JDK first need to be downloaded.
It should also perform better because the Temurin JDK is linked to glibc 2.12 whereas the Zulu JDK is linked to glibc 2.5.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-27 22:30:40 +02:00
Wouter Born
62c30d034f
[mqtt] Revive disabled itests (#12431)
This fixes all the compilation/dependency issues in the MQTT itests so they can be reenabled again.
The tests now create and use their own Moquette instance instead of the removed embedded MQTT broker.
The moquette-broker JAR is also included in the test bundles as workaround for its missing OSGi bundle manifest headers.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-26 20:24:11 +02:00
Wouter Born
5842ad1644
GHA CI build workflow improvements (#12425)
* Add error annotations only in Java 11 matrix build to prevent duplicates
* Make sure Java 11 build is not cancelled when Java 17 build fails so it can add annotations by using `fail-fast: false`
* Use changed files only for incremental PR builds so a full build is done for changes merged into 'main' branch
* Add GHA build status badge

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-06 19:42:48 +01:00
Wouter Born
e84e2800a4
Add Java 17 to GHA CI build matrix (#12360)
This adds Java 17 to the GitHub Actions CI build matrix so we can make sure the build keeps working with both Java 11 and Java 17.
It also updates the required Java version range used by the enforcer plugin so it is also possible to build with the supported Java versions.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-24 10:55:20 +01:00
Fabian Wolter
a925fb52d0
PR template: Update marketplace URL; add notes about rebase/labels/update.lst (#11988)
Also update jfrog URL, proofreading and improve readability.

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-01-12 08:28:38 +01:00
Wouter Born
84de053847
Use Maven 3.8.4 in GHA CI builds (#11649)
This new version fixes a few regressions, see:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316922&version=12350685

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-28 19:32:50 +01:00
Wouter Born
1afe90d314
Report SAT Errors with GHA Annotations (#11652)
Let's test the GHA annotations for errors also in this repo!

Similar to openhab/openhab-core#2543

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-28 19:31:53 +01:00
Wouter Born
42b6a19d3d
Fix wrong build result when single add-on build fails (#11522)
Fixes the issue that single add-on builds that fail are not marked as such in GitHub Actions.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-05 18:42:16 +01:00
Wouter Born
49aa537036
GitHub Actions workflow improvements (#11507)
* Checkout merged branches for pull requests
* Add support for incremental add-on builds to speed up PR builds
* Echo the mvn command used for builds

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-04 09:05:39 +01:00
Wouter Born
03e2303800
Add GitHub Actions CI build (#11454)
This PR adds a CI build using GitHub Actions.
Besides having a backup for Jenkins, it will also make it easy for contributors to use a GitHub Actions build with their fork.

It features the following:

* Uncluttered simple build progress like we used with Travis CI
* Uploads the full build log and SAT summary report so they can be downloaded for further analysis
* Uses a Maven repository cache to speed up builds (first build takes a bit longer)
* Has some maven.wagon configuration options to prevent Maven Central artifact download issues from Azure
* Uses a matrix so we can easily add builds for other OS-es or newer Java LTS versions in the future

Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-27 09:55:00 +02:00
Wouter Born
e74cb82be7
Fix Crowdin URL in issue template configuration (#10616)
The URL is: https://crowdin.com/project/openhab-addons

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-29 18:57:45 +02:00
mueller-ma
b4a181a77e
Add issue template config (#9882)
Instead of using a dummy issue template for support questions, use a issue template config.

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2021-01-25 21:14:01 +01:00
Kai Kreuzer
c071b2ea06
Fixed urls in template that resulted in a 404 (#8601)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-28 14:10:39 -07:00
Kai Kreuzer
bbf1a7fd29 Codebase as of c53e4aed26 as an initial commit for the shrunk repo
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-20 23:57:58 +02:00