buildtest/.gitlab-ci.yml

33 lines
592 B
YAML
Raw Normal View History

2023-07-06 15:53:19 +00:00
stages:
- build_on_main
- build_on_tag
2023-08-17 06:46:22 +00:00
.tag_only: &tag_only
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
.ddadevops: &ddo
image: "domaindrivenarchitecture/4.5.5-dev2023-08-17-08-40-46"
before_script:
- export RELEASE_ARTIFACT_TOKEN=$test
2023-07-06 15:53:19 +00:00
build_on_main:
2023-08-17 06:53:51 +00:00
<<: *ddo
2023-07-06 15:53:19 +00:00
stage: build_on_main
script:
- echo "buld on main"
2023-08-17 06:46:22 +00:00
- pyb publish_artifacts
2023-07-06 15:53:19 +00:00
build_on_tag:
2023-08-17 06:46:22 +00:00
<<: *ddo
<<: *tag_only
2023-07-06 15:53:19 +00:00
stage: build_on_tag
script:
- echo "buld on tag"
2023-08-17 06:46:22 +00:00
- pyb publish_artifacts