Skip to content

Commit 235b416

Browse files
authored
Merge pull request #143 from flatland-association/41-implement-releases
Implement releases.
2 parents 94a96bd + d3c5219 commit 235b416

9 files changed

+143
-13
lines changed

.github/pull_request_template.md

+25-7
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,32 @@ See [here](https://docs.github.com/en/get-started/writing-on-github/working-with
1717
## Checklist
1818

1919
- [ ] Tests are included for relevant behavior changes.
20-
- [ ] Prefix the PR title with one of the labels of [Keep a Changelog](https://keepachangelog.com/).
20+
- [ ] Prefix the commits with one of the labels of [Conventional Commit messages](https://www.conventionalcommits.org/en/v1.0.0/).
2121
<!--
22-
- `[Added]` for new features.
23-
- `[Changed]` for changes in existing functionality.
24-
- `[Deprecated]` for soon-to-be removed features.
25-
- `[Removed]` for now removed features.
26-
- `[Fixed]` for any bug fixes.
27-
- `[Security]` in case of vulnerabilities.
22+
The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an explicit commit history; which makes it easier to write automated tools on top of. This convention dovetails with SemVer, by describing the features, fixes, and breaking changes made in commit messages.
23+
24+
The commit message should be structured as follows:
25+
<type>[optional scope]: <description>
26+
27+
[optional body]
28+
29+
[optional footer(s)]
30+
31+
32+
1. fix: a commit of the type fix patches a bug in your codebase (this correlates with PATCH in Semantic Versioning).
33+
2. feat: a commit of the type feat introduces a new feature to the codebase (this correlates with MINOR in Semantic Versioning).
34+
3. BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.
35+
4. types other than fix: and feat: are allowed, for example @commitlint/config-conventional (based on the Angular convention) recommends
36+
- build:
37+
- chore:
38+
- ci:
39+
- docs:
40+
- style:
41+
- refactor:
42+
- perf:
43+
- test:
44+
5. footers other than BREAKING CHANGE: <description> may be provided and follow a convention similar to git trailer format.
45+
2846
-->
2947
- [ ] Document changes in this pull request above.
3048
- [ ] Documentation is added in the `docs` folder for relevant behavior changes.
File renamed without changes.

.github/workflows/release-please.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
7+
# https://docs.github.com/en/rest/authentication/permissions-required-for-github-apps?apiVersion=2022-11-28#repository-permissions-for-actions
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
actions: write
12+
13+
name: release-please
14+
15+
jobs:
16+
release-please:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: googleapis/release-please-action@v4
20+
id: release
21+
- name: Realease FAB frontend and backend images and upload to ghcr.io
22+
run: gh workflow run fab-docker.yml -f tag=${{ steps.release.outputs.tag_name }}
23+
if: ${{ steps.release.outputs.release_created }}
24+
- name: Realease FAB Flatland 3 compute worker, evaluator and submission template images and upload to ghcr.io
25+
run: gh workflow run fab-flatland-docker.yml -f tag=${{ steps.release.outputs.tag_name }}
26+
if: ${{ steps.release.outputs.release_created }}

.release-please-manifest.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.4.0"
3+
}

CHANGELOG.md

+65-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,70 @@
11
# Changelog
22

3-
All notable changes will be documented under [GitHub Releases](https://github.com/flatland-association/flatland-benchmarks/releases).
4-
5-
The release notes are based on [Keep a Changelog](https://keepachangelog.com/),
3+
All notable changes will be documented in this file, updated by [release-please](https://github.com/googleapis/release-please) based on [Conventional Commit messages](https://www.conventionalcommits.org/en/v1.0.0/),
64
and this project adheres to [Semantic Versioning](https://semver.org/).
75

6+
## [0.4.0](https://github.com/flatland-association/flatland-benchmarks/compare/v0.3.0...v0.4.0) (2025-02-11)
7+
8+
* [Fixed] Fix passing through S3_UPLOAD_PATH_TEMPLATE and S3_UPLOAD_PATH_TEMPLATE_USE_SUBMISSION_ID from compute worker to evaluator. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/95
9+
* [Changed] Run checks upon push to main and daily on default branch. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/96
10+
* [Added] Display and store evaluation result by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/101
11+
* [Security] Update npm packages by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/102
12+
* [Changed] #31 Publish result when eula accepted by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/106
13+
* [Changed] #103 Use same theme as flatland.cloud by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/107
14+
* [Added] #30 Public leaderboard by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/109
15+
* [Changed] #98 Use python 3.13 for compute worker. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/100
16+
* [Changed] #81 Get rid of pvc and ad-hoc pod in favor of s3. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/112
17+
* [Added] #69 Add timeout for k8s jobs. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/110
18+
* [Changed] #94 UUID for submissions and results by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/113
19+
* [Added] #75 Make supported client versions configurable. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/115
20+
* [Changed] #9 Remove submission template in favor of external starterkit. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/111
21+
* [Changed] Reduce Rabbit healthcheck interval. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/118
22+
* [Changed] Cleanup pr template. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/121
23+
* [Added] #78 Evaluate only selected tests by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/117
24+
* [Changed] #105 Submission flow by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/116
25+
* [Changed] #10 Download environments from S3 in k8s initContainers. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/126
26+
* [Added] #99 Fail fast if either submission or evaluation fails. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/119
27+
* [Changed] #104 #120 Improve submission UX and leaderboard by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/129
28+
* [Changed] #93 #33 #130 UI updates by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/131
29+
* [Security] #108 #88 Backend auth guard by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/134
30+
* [Added] #10 Env generation for Flatland 3. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/128
31+
32+
## [0.3.0](https://github.com/flatland-association/flatland-benchmarks/compare/v0.0.0...v0.3.0) (2025-02-05)
33+
34+
* [Added] #1 Repo Initialization. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/13
35+
* [Added] Add CHANGELOG.md, CONTRIBUTING.MD and pr template. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/18
36+
* [Added] #3 Data Model Frontend/Backend by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/17
37+
* [Added] #2 High-Level Architecture description. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/14
38+
* [Added] #4 story frontend template by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/19
39+
* [Changed] Update `pull_request_template.md` by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/24
40+
* [Added] #8 Cloud Deployment Bootstrapping. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/23
41+
* [Changed] #4 Minor template cleanup by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/22
42+
* [Added] #6 `@flatland-association/flatland-ui` library for UI components.. by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/25
43+
* [Fixed] Fix backend entrypoint. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/28
44+
* [Changed] Cleanup repo/app name: flatland-benchmarks/Flatland Benchmarks/FAB/fab-. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/29
45+
* [Added] #4 Bootstrapping Evaluation by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/20
46+
* [Fixed] #35 Fix RabbitMQ High CPU Usage. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/37
47+
* [Changed] Cleanup after repo renaming. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/44
48+
* [Changed] Simplify story issue template to general task. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/61
49+
* [Added] #27 Cloud Deployment. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/38
50+
* [Added] #7 #26 refine submission flow by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/51
51+
* [Added] #56 Bootstrap Unit Test Coverage for fab-flatland3-compute-worker by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/58
52+
* [Added] #57 Bootstrap Integration Test Coverage for fab-flatland-compute-worker and fab-flatland3-evaluator by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/67
53+
* [Fixed] #49 Fix nginx config supporting paths. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/77
54+
* [Fixed] Fix invalid checks.yaml. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/79
55+
* [Fixed] #49 Fix path, failing in gh by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/80
56+
* [Added] 59 Update interface documentation by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/84
57+
* [Added] #65 Pass `output.csv` and `output.json`: `evaluator` -> `compute_worker` -> `redis` (-> `backend`) by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/68
58+
* [Added] #40 k8s compute worker implementation by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/83
59+
* [Changed] Use gh releases for changelog keeping. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/85
60+
* [Changed] #46 Use non-super-user to run compute worker. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/72
61+
* [Added] #6 Keycloak authentication integration frontend by @Holzchopf in https://github.com/flatland-association/flatland-benchmarks/pull/76
62+
* [Fix] Fix broken link to ci badge. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/89
63+
* [Fixed] Fix missing `pandas` dependency in compute worker. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/90
64+
* [Fixed] Fix compute worker: env var mismatch for redis. Fix missing file. Add config options for evaluator. by @chenkins in https://github.com/flatland-association/flatland-benchmarks/pull/91
65+
66+
## New Contributors
67+
68+
* @Holzchopf made their first contribution in https://github.com/flatland-association/flatland-benchmarks/pull/17
69+
870

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Flatland Benchmarks
22
===================
3-
[![Main](https://github.com/flatland-association/flatland-benchmarks/actions/workflows/checks.yaml/badge.svg)](https://github.com/flatland-association/flatland-benchmarks/actions/workflows/checks.yaml)
3+
[![Main](https://github.com/flatland-association/flatland-benchmarks/actions/workflows/checks.yml/badge.svg)](https://github.com/flatland-association/flatland-benchmarks/actions/workflows/checks.yml)
44

55
Flatland Benchmarks (FAB) is an open-source web-based platform for running Benchmarks to foster Open Research aiming at:
66

docs/DEVELOPMENT.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@ It is recommended to use [VSCode](https://code.visualstudio.com) with the [ESLin
1414
[Node.js](https://nodejs.org) must be installed. It runs frontend and backend code as well as local scripts (e.g. `npx lint-staged` which will lint and format staged source files). Node.js includes npm, which is required to install node modules.
1515

1616
To complete your local setup, run
17+
1718
```bash
1819
npm ci
1920
```
21+
2022
in the project root folder. This will install all required node modules as listed in `package-lock.json`.
2123

2224
The project is configured to lint and format your source code before committing and also on explicit save (when using VSCode as described above). However, if you're not using VSCode or for some reason not using the extensions, your code will still be linted and formatted before a commit. Be aware that in this case lint warnings and errors will abort your commit!
2325

24-
>If `lint-staged` fails and **discards** your changes, you can often `git stash pop` them back into existence. Run the `lint` npm script manually beforehand or install the VSCode plugins as described above to limit any surprises.
26+
> If `lint-staged` fails and **discards** your changes, you can often `git stash pop` them back into existence. Run the `lint` npm script manually beforehand or install the VSCode plugins as described above to limit any surprises.
2527
2628
## Developper notes
2729

@@ -53,4 +55,9 @@ https://www.reddit.com/r/PostgreSQL/comments/1ffqsvw/stop_using_serial_in_postgr
5355

5456
GET endpoints should always treat the `id` paramater as comma-separated list of values in accordance with dev.003.
5557

56-
2025-01-29, Olivier Stuker
58+
2025-01-29, Olivier Stuker
59+
60+
## Releases
61+
62+
* Release prs are automatically opened by [release-please](https://github.com/googleapis/release-please)/[release-please-action](https://github.com/marketplace/actions/release-please-action) based on [Conventional Commit Messages](https://www.conventionalcommits.org/en/v1.0.0/)
63+
* [How do I change the version number?](https://github.com/googleapis/release-please?tab=readme-ov-file#how-do-i-change-the-version-number)

release-please-config.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"packages": {
3+
".": {
4+
"changelog-path": "CHANGELOG.md",
5+
"release-type": "simple",
6+
"bump-minor-pre-major": false,
7+
"bump-patch-for-minor-pre-major": false,
8+
"draft": false,
9+
"prerelease": false
10+
}
11+
},
12+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
13+
}

version.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.4.0

0 commit comments

Comments
 (0)