You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
buildtest/README.md

69 lines
1.7 KiB
Markdown

4 months ago
This repo shows examples how dda-devops-build (https://repo.prod.meissa.de/meissa/dda-devops-build) can be used.
As a starting point, you may want to have a look at file [build.py](build.py) in this repo
and the tasks which are defined in this file.
4 months ago
# Usage
## Examples
### Build
You can trigger the build-task by
```
pyb dev
```
### Releases
With task `patch` you can create a patch-level release with one command, i.e. perform the following actions:
* create a commit for a patch-leve release version
* e.g. if current project version is 1.1.1-dev, the update version will be the release version 1.1.1
* the commit contains all build files specified in the build.py (primary as well as secondary build files),
where the primary build file contains the version number to be used for all build files
* create a tag for the release commit (e.g. tag 1.1.1 for the corresponding commit)
* a second commit for the next snapshot version (1.1.2-dev)
* push both commits and the tag to the remote git repo
```
pyb patch
```
Similarly you can create a minor or major version with:
```
pyb minor
```
resp.
```
pyb major
```
4 months ago
12 months ago
# Release Testing
## NoRelease
```
12 months ago
pyb dev prepare_release tag_bump_and_push_release
12 months ago
```
## Release
```
pyb [patch|minor|major] prepare_release tag_bump_and_push_release
12 months ago
```
## Development & mirrors
Development happens at: https://repo.prod.meissa.de/meissa/build-test
Mirrors are:
* https://gitlab.com/domaindrivenarchitecture/build-test (issues and PR, CI)
For more details about our repository model see: https://repo.prod.meissa.de/meissa/federate-your-repos
## License
Copyright © 2021 meissa GmbH
9 months ago
Licensed under the [Apache License, Version 2.0](LICENSE) (the "License")