5 Commits

Author SHA1 Message Date
Simon Redman
93e4f43198 Use allowed CI image
## Summary

A recent (couple of weeks ago?) change to the Invent policies requires that we use a docker image from an allow list.

The cleanest fix is to just use the Ubuntu base image and install the JDK, which is approximately what we had before.

We considered the Sysadmin Android image (https://invent.kde.org/sysadmin/ci-images/-/blob/master/android-qt66/Dockerfile?ref_type=heads), but we use a newer version of the SDK tools and a newer version of the JDK, at which point we may as well just install those since those are the only dependencies. We could consider building another custom docker image in the future if we see value to doing so.

## Test Plan

### Before:

CI fails with:

```
ERROR: The "eclipse-temurin:17-jdk-focal" image is not present on list of allowed images:
- invent-registry.kde.org/sysadmin/ci-images/*:*
- ubuntu:*
- debian:*
- fedora:*
- centos:*
- opensuse/*:*
- python:*
- ruby:*
- fsfe/reuse:*
- quay.io/podman/stable:*
```

### After:

Build passes and drops .apk
2024-03-25 22:24:43 +00:00
Julius Künzel
77f0e4b512 GIT_SILENT Set tag for CI runner 2024-03-03 22:52:07 +00:00
Philip Cohn-Cort
22b6427a18 Match SDK versions in CI with current requirements
## Summary

This fixes execution on gitlab. The newer version of `sdkmanager` has
different expectations, so we now create a directory for the SDK first
and move `cmdline-tools` into that.

Other changes:
- More inline comments
- Cmdline tools (like sdkmanager) added to path
- Platform tools (like adb) removed from path
- 'patcher' is no longer installed
2023-11-17 16:00:31 +00:00
Simon Redman
d2d43c55a7 Bump OpenJDK to v17 as required by latest Gradle version
## Summary

Gradle version bump in 921d0ee884 (probably) is incompatible with Java 11.

Fix Gitlab CI by increasing Java version, as required by latest Gradle version.

## Test Plan

### Before:
Gitlab CI does not work, complaining about Java version. See for example: https://invent.kde.org/network/kdeconnect-android/-/jobs/950701

### After:
Gitlab CI does work
2023-05-17 16:29:08 +00:00
Nicolas Fella
d54f155b24 Add CI for debug PR builds
Add a debug and test CI. As the test coverage today is not much to get excited about, this is mostly a check that the app still builds, as well as a convenient way to download the prebuilt app for testing.
2023-03-21 00:00:03 +00:00