Skip to content

Commit 14ab7f4

Browse files
Add release-please
1 parent d4fa867 commit 14ab7f4

File tree

4 files changed

+45
-1
lines changed

4 files changed

+45
-1
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Create Release
3+
4+
on:
5+
workflow_dispatch:
6+
push:
7+
branches: [main]
8+
9+
permissions:
10+
contents: read
11+
12+
concurrency:
13+
group: ${{ github.ref }}-${{ github.workflow }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
release_please:
18+
name: Create Release
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
22+
id: token
23+
with:
24+
app-id: ${{ vars.FOREST_RELEASER_APP_ID }}
25+
private-key: ${{ secrets.FOREST_RELEASER_APP_PRIVATE_KEY }}
26+
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
27+
id: release
28+
with:
29+
token: ${{ steps.token.outputs.token }}

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.24)
22

3-
project(Postmaster VERSION 0.1.0)
3+
project(Postmaster VERSION 0.1.0) # x-release-please-version
44

55
set(CMAKE_CXX_STANDARD 17)
66
set(CMAKE_CXX_STANDARD_REQUIRED true)

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77
## Overview
88

99
Postmaster is a device that clicks on top of an STM32 Nucleo-F767ZI board from ST Microelectronics, and through its Ethernet connector you can program the Nucleo and communicate with it.
10+
1011
In this way, Postmaster is usable in hardware-in-the-loop tests, where a test board is reachable through the internet. That test board can first be programmed with the correct firmware. For communicating with the test board, a client can connect to Postmaster via a websocket connection, and talk to the attached board either via a plain UART connection, or via an [ECHO](https://philips-software.github.io/amp-embedded-infra-lib/embedded_infrastructure_library/6.0.0/Echo.html) connection. This communication line is used to execute tests.
12+
1113
Test boards enabled by Postmaster are intended to be inherently scalable; Adding tests boards in a setup should be as simple as putting a Postmaster on top of it, configuring the Postmaster with a few labels describing the characteristics of that board, and connecting it to the internet. A locally installed proxy (also part of this archive) provides discoverability of all Postmasters in its vicinity, and routes incoming requests for boards with certain characteristics to any available board.
14+
1215
By providing a schematics and PCB layout, the Postmaster firmware, and various tools, this repository aims to provide a full suite of components tackling all aspects of connecting a hardware-in-the-loop test board to the cloud.
1316

1417
Requirements of Postmaster are documented [here](Documents/Requirements.md).

release-please-config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"include-component-in-tag": false,
3+
"plugins": ["sentence-case"],
4+
"packages": {
5+
".": {
6+
"release-type": "simple",
7+
"package-name": "amp-postmaster",
8+
"extra-files": ["CMakeLists.txt"]
9+
}
10+
},
11+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
12+
}

0 commit comments

Comments
 (0)