Skip to content

Commit b170d26

Browse files
authored
Merge pull request #100 from boschglobal/feature-83
test: Add Github Action to test SDK:main -> Databroker:master
2 parents a03cf49 + dc4e7cd commit b170d26

File tree

3 files changed

+63
-3
lines changed

3 files changed

+63
-3
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: SDK:main <-> Databroker:master
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
integration-tests:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
with:
14+
ref: main
15+
16+
- name: Setup Project
17+
uses: ./.github/actions/setup-project
18+
19+
- name: Run Tests
20+
uses: ./.github/actions/run-tests
21+
with:
22+
upload-test-reports: true
23+
databroker-version: master
24+
kotest-tag: "Integration & DefaultDatabroker"

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# kuksa-sdk-android
22

3-
This is an Android SDK for the [KUKSA Vehicle Abstraction Layer](https://github.com/eclipse/kuksa.val).
4-
5-
63
[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://opensource.org/licenses/Apache-2.0)
74
[![Gitter](https://img.shields.io/gitter/room/kuksa-val/community)](https://gitter.im/kuksa-val/community)
85

6+
![SDK:main <-> Databroker:master](https://github.com/eclipse-kuksa/kuksa-android-sdk/actions/workflows/daily_integration_main-master.yaml/badge.svg)
7+
8+
This is an Android SDK for the [KUKSA Vehicle Abstraction Layer](https://github.com/eclipse/kuksa.val).
9+
910
## Overview
1011

1112
The KUKSA Android SDK allows you to interact with [VSS data](https://covesa.github.io/vehicle_signal_specification/)

docs/CONTRIBUTING.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,38 @@ Used for detecting static code quality issues. It is recommended to install the
7676
#### [ktlint](https://pinterest.github.io/ktlint)
7777

7878
Used for detecting static code style issues.
79+
80+
### Fail-Early-Builds
81+
82+
We have multiple Fail-Early-Builds which run different versions of the KUKSA Android SDK against the KUKSA Databroker.
83+
Our goal is to have an early indication which allows us more easily to find breaking or behavioral changes when running our SDK on a specific version of the Databroker.
84+
85+
When one of these builds fail a short validity check should be done:
86+
- Were the correct versions of the SDK and Databroker used?
87+
- Is it a sporadically failing test? Does a re-run fixes it?
88+
- Is apparent if the issue is inside the SDK (e.g. wrongly written test, bug) or inside the Databroker (e.g. behavioral change, bug)?
89+
90+
Using different versions of the SDK and Databroker give different indications with varying importance. See the following list:
91+
92+
**SDK:latestRelease -> Databroker:latestRelease**
93+
This means that issues exist between the latest released version of the SDK and the latest released version of the Databroker.
94+
95+
If this build fails it should be considered as a potential bigger issue
96+
=> A hotfix or new release needs to be done
97+
98+
**SDK:latestRelease -> Databroker:master**
99+
This means, that the latest released version of the SDK is not compatible with the currently developed version of the Databroker.
100+
101+
If this build fails it should be considered as a warning
102+
=> Required fixes should be part of the next SDK release
103+
104+
**SDK:main -> Databroker:master**
105+
106+
![SDK:main <-> Databroker:master](https://github.com/eclipse-kuksa/kuksa-android-sdk/actions/workflows/daily_integration_main-master.yaml/badge.svg)
107+
108+
This means both the SDK and Databroker are running in a kind of "bleeding edge" state in their currently developed version.
109+
110+
If this build fails, it should be considered as a warning.
111+
=> It is okay for the pipeline to fail for a short period of time. Longer periods should be avoided.
112+
=> No explicit release / hotfix required, both components should be compatible before a release
113+

0 commit comments

Comments
 (0)