Compare commits
No commits in common. "7c22a1db8016f3d5bfcb5e07d27bb3c4a7ab77ec" and "629435626e944c237317fa710b20dc36b8a9554a" have entirely different histories.
7c22a1db80
...
629435626e
56
.drone.yml
56
.drone.yml
@ -4,60 +4,35 @@ type: docker
|
|||||||
name: main
|
name: main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: fetch tags
|
- name: Tag commit
|
||||||
image: alpine/git
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- git fetch --tags
|
- echo This would create a tag
|
||||||
- name: update version and changelog
|
|
||||||
image: registry.riba-interactive.de/conventi:0.1.0
|
|
||||||
- name: commit changelog updates
|
|
||||||
image: alpine/git
|
|
||||||
commands:
|
|
||||||
- git add .
|
|
||||||
- git commit -m "[CI SKIP] version and changelog update"
|
|
||||||
- git push origin $DRONE_TARGET_BRANCH
|
|
||||||
- name: tag commit
|
|
||||||
image: registry.riba-interactive.de/conventi:0.1.0
|
|
||||||
commands:
|
|
||||||
- export version=$(conventi.sh get_version)
|
|
||||||
- git tag -am "Tagging new version $version" "$version"
|
|
||||||
- git push origin "$version"
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
image_pull_secrets:
|
|
||||||
- dockerconfig
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: tag
|
name: develop
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build release
|
- name: Tag commit
|
||||||
image: registry.riba-interactive.de/alpine-build:1
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- cmake -S. -Bcmake-build-ci -DCMAKE_BUILD_TYPE=Release
|
- echo This would build the app and run test
|
||||||
- cd cmake-build-ci
|
|
||||||
- cmake --build .
|
|
||||||
- echo "Done"
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
branch:
|
||||||
- tag
|
- develop
|
||||||
|
|
||||||
image_pull_secrets:
|
|
||||||
- dockerconfig
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: Build and Test
|
name: feature
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build and run tests
|
- name: Run tests
|
||||||
image: registry.riba-interactive.de/alpine-build:1
|
image: registry.riba-interactive.de/alpine-build:1
|
||||||
commands:
|
commands:
|
||||||
- cmake -S. -Bcmake-build-ci -DCMAKE_BUILD_TYPE=Debug -DENABLE_TEST_COVERAGE=on
|
- cmake -S. -Bcmake-build-ci -DCMAKE_BUILD_TYPE=Debug -DENABLE_TEST_COVERAGE=on
|
||||||
@ -65,17 +40,8 @@ steps:
|
|||||||
- cmake --build .
|
- cmake --build .
|
||||||
- ctest -T Test -T Coverage
|
- ctest -T Test -T Coverage
|
||||||
|
|
||||||
- name: Report test and coverage
|
|
||||||
image: alpine
|
|
||||||
commands:
|
|
||||||
- echo "Do some curl or so"
|
|
||||||
when:
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- develop
|
|
||||||
- feature/*
|
- feature/*
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
|
|||||||
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "0.1.1",
|
|
||||||
"sha": "dc2e644",
|
|
||||||
"url": "https://git.riba-interactive.de/rick/waitui"
|
|
||||||
}
|
|
||||||
33
CHANGELOG.md
33
CHANGELOG.md
@ -1,33 +0,0 @@
|
|||||||
# Changelog
|
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file. See [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for commit guidelines.
|
|
||||||
|
|
||||||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
||||||
|
|
||||||
----
|
|
||||||
|
|
||||||
## [0.1.1](https://git.riba-interactive.de/rick/waitui/compare/3fe3a2a...dc2e644) (2022-06-01)
|
|
||||||
|
|
||||||
|
|
||||||
### Bug fixes 🩹
|
|
||||||
|
|
||||||
* **conventi:** fix `conventi.sh` function `get_commit_body()` ([dc2e644](https://git.riba-interactive.de/rick/waitui/commit/dc2e644))
|
|
||||||
|
|
||||||
## [0.1.0](https://git.riba-interactive.de/rick/waitui/compare/dafd1ae...3fe3a2a) (2022-06-01)
|
|
||||||
|
|
||||||
|
|
||||||
### Bug fixes 🩹
|
|
||||||
|
|
||||||
* **pipeline:** fix `git push` parameters ([3fe3a2a](https://git.riba-interactive.de/rick/waitui/commit/3fe3a2a))
|
|
||||||
* **pipeline:** push version and changelog after update ([e992129](https://git.riba-interactive.de/rick/waitui/commit/e992129))
|
|
||||||
* **pipeline:** fix image pull in pipeline ([cda7b95](https://git.riba-interactive.de/rick/waitui/commit/cda7b95))
|
|
||||||
|
|
||||||
|
|
||||||
### Features 📦
|
|
||||||
|
|
||||||
* add version and changelog update to pipeline ([7dd39a9](https://git.riba-interactive.de/rick/waitui/commit/7dd39a9))
|
|
||||||
|
|
||||||
|
|
||||||
### Chores 🧽
|
|
||||||
|
|
||||||
* **release:** release the lastest develop ([cae8167](https://git.riba-interactive.de/rick/waitui/commit/cae8167))
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
FROM alpine:3.16.0
|
|
||||||
|
|
||||||
RUN apk --no-cache add \
|
|
||||||
bison \
|
|
||||||
build-base \
|
|
||||||
cmake \
|
|
||||||
flex
|
|
||||||
Loading…
Reference in New Issue
Block a user