Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
Align build so that tests are run also on push
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbosch committed Nov 21, 2023
1 parent 3e90657 commit 7a5b36c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
## Naming of Tags

* Release tags need to be in the following form:
**v\<mayor>.\<minor>.\<bugfix>\* eg: v1.2.1, v2.0.0alpha**
**\<major>.\<minor>.\<bugfix>\* eg: 1.2.1, 2.0.0**
## Workflow and branching model
![ci_workflow](./doc/ci_workflow.svg)

Expand All @@ -28,10 +28,7 @@ In general the naming shall follow: **<type>(_<sub-type>)_<componenent-name>.tar
* Documentation: **docu_\<component-name\>.\**, e.g: docu_vservice-seat

## How to create a new release
1. Adapt the version tags in all needed files, (e.g.: for v0.15.0) via executing
* ``./prepare_release.sh 0.15.0``
2. tag a main branch version with a release tag
* This trigger a github workflow which automatically creates a draft release
3. Publish the release on the repo webpage
* navigate to the repo webpage -> Release -> edited the create draft -> Publish

See [Release Process](https://github.com/eclipse/kuksa.val.services/wiki/Release-Process)


3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ name: lint

on:
# Trigger mega-linter at every push. Action will also be visible from Pull Requests to main
push:
branches:
- main
pull_request:
branches: [main]

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/seat_service_seatctrl_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
name: seat-service-seatcontroller-tests

on:
push:
branches:
- main
pull_request:
paths:
- ".github/workflows/seat_service_seatctrl_test*"
Expand Down

0 comments on commit 7a5b36c

Please sign in to comment.