Skip to content

Commit de677ec

Browse files
authored
The travis CI builds failure (#488)
* The travis CI builds failure Reverting changes to image push out of the build. Fixes #487 * Testing with suggestion from PR review. * Fixes after local test * Removed the double if
1 parent aebfcfc commit de677ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ script:
2727
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then make images; fi'
2828
# Process 'make images' when running as a pull request
2929
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then unset quay_repository && make images; fi'
30+
# Process 'make push-images' when NOT a pull request
31+
- 'if [[ "$TRAVIS_PULL_REQUEST" == "false" && ! "$TRAVIS_BRANCH" =~ "^v[0-9]\.[0-9]+\.[0-9]+" ]]; then make push-images; fi'
3032
# Run the e2e and handle Travis condition where Travis fails on no output for 10 minutes. No output for 10 minutes
3133
# is fine for our test cases that waits for 10 minutes before requeuing a job. The other workaround was to
3234
# use 'travis_wait n' which unfortunately does not stream output until the very end so monitoring the Travis log

0 commit comments

Comments
 (0)