@cryptotaxi247 / netdata-1 / commits / 2fa6e4504

Skip all build checks on packaging builds. (#10058)

Package build runs on Travis only happen as part of release builds. Because they happen _after_ the rest of the release, the build checks have already run at least once because they're run as part of the initial release build. As such, there’s no point in running them again on the packaging builds, especially since they are the primary reason that the packaging builds experience transient errors.

Austin S. Hemmelgarn committed Oct 12, 2020 at 08:59 UTC 2fa6e45049373c44c274eee1153d20c26dad6b2d
1 file changed +1 -2
.travis.yml
+1 -2
@@ -48,6 +48,7 @@ notifications:
48 stages:
49 # Mandatory runs, we always want these executed
50 - name: Build process
51 + if: commit_message =~ /^((?!\[Package (amd64|arm64|i386) (DEB|RPM)( .*)?\]).)*$/
52
53 # Nightly operations
54 - name: Nightly operations
@@ -163,7 +164,6 @@ jobs:
164 after_failure: post_message "TRAVIS_MESSAGE" "Netdata updater process failed on bare Fedora 31"
165
166 - name: DEB package test
166 - if: commit_message =~ /^((?!\[Package (amd64|arm64|i386) (DEB|RPM)( .*)?\]).)*$/
167 git:
168 depth: false
169 before_install:
@@ -186,7 +186,6 @@ jobs:
186 after_failure: post_message "TRAVIS_MESSAGE" "Netdata DEB package build check failed."
187
188 - name: RPM package test
189 - if: commit_message =~ /^((?!\[Package (amd64|arm64|i386) (DEB|RPM)( .*)?\]).)*$/
189 git:
190 depth: false
191 before_install: