add ci to test
parent
73a9a3ff6f
commit
5cd3a3b9fd
@ -0,0 +1,20 @@
|
|||||||
|
stages:
|
||||||
|
- build_on_main
|
||||||
|
- build_on_tag
|
||||||
|
|
||||||
|
build_on_main:
|
||||||
|
image: domaindrivenarchitecture/devops-build:latest
|
||||||
|
stage: build_on_main
|
||||||
|
script:
|
||||||
|
- echo "buld on main"
|
||||||
|
|
||||||
|
build_on_tag:
|
||||||
|
image: domaindrivenarchitecture/devops-build:latest
|
||||||
|
stage: build_on_tag
|
||||||
|
rules:
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
|
when: never
|
||||||
|
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
||||||
|
script:
|
||||||
|
- echo "buld on tag"
|
||||||
|
|
@ -0,0 +1,11 @@
|
|||||||
|
# Release Testing
|
||||||
|
## NoRelease
|
||||||
|
|
||||||
|
```
|
||||||
|
pyb dev prepare_release publish tag_bump_and_push_release
|
||||||
|
```
|
||||||
|
## Release
|
||||||
|
|
||||||
|
```
|
||||||
|
pyb [patch|minor|major] prepare_release tag_bump_and_push_release
|
||||||
|
```
|
Loading…
Reference in New Issue