mirror of
https://github.com/netdata/netdata.git
synced 2025-04-06 22:38:55 +00:00
netdata/packaging: Trigger stable package generation upon release process (#6766)
enable auto-generation of packages for RPM and DEB, during stable release
This commit is contained in:
parent
2c1312b192
commit
4d975c2712
1 changed files with 9 additions and 0 deletions
|
@ -525,6 +525,15 @@ jobs:
|
|||
- .travis/draft_release.sh
|
||||
after_failure: post_message "TRAVIS_MESSAGE" "<!here> Draft release submission failed"
|
||||
|
||||
- name: Trigger .RPM and .DEB package generation
|
||||
before_script: post_message "TRAVIS_MESSAGE" "Starting RPM and DEB package generation for release" "${NOTIF_CHANNEL}"
|
||||
script:
|
||||
- if [[ -z "${GIT_TAG}" ]] || [[ ! "${GIT_TAG}" = "$(git tag --points-at)" ]]; then post_message "TRAVIS_MESSAGE" "<!here> I Did not find a valid GIT_TAG to proceed with stable packaging" "${NOTIF_CHANNEL}" && exit 1; fi;
|
||||
- if [[ -n "${GIT_TAG}" ]] && [[ "${GIT_TAG}" = "$(git tag --points-at)" ]]; then .travis/trigger_package_generation.sh; fi;
|
||||
after_failure: post_message "TRAVIS_MESSAGE" "<!here> Stable release package generation produced errors" "${NOTIF_CHANNEL}"
|
||||
git:
|
||||
depth: false
|
||||
|
||||
|
||||
|
||||
# This is the nightly pre-execution step (Jobs, preparatory steps for nightly, etc)
|
||||
|
|
Loading…
Add table
Reference in a new issue