File tree Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 6060 - BUILD_ALL=true
6161 - MQ_ARCHIVE_REPOSITORY=$MQ_930_ARCHIVE_REPOSITORY_AMD64
6262 - MQ_ARCHIVE_REPOSITORY_DEV=$MQ_930_ARCHIVE_REPOSITORY_DEV_AMD64
63- script : bash -e travis-build-scripts/run.sh
63+ script :
64+ - bash travis-build-scripts/travis-log-keepalive.sh &
65+ - bash -e travis-build-scripts/run.sh
6466 - stage : build
6567 if : branch = v9.3.0.x OR tag =~ ^release-candidate*
6668 name : " Multi-Arch S390X build"
7274 - TEST_OPTS_DOCKER="-run TestGoldenPathWithMetrics"
7375 - MQ_ARCHIVE_REPOSITORY=$MQ_930_ARCHIVE_REPOSITORY_S390X
7476 - MQ_ARCHIVE_REPOSITORY_DEV=$MQ_930_ARCHIVE_REPOSITORY_DEV_S390X
75- script : bash -e travis-build-scripts/run.sh
77+ script :
78+ - bash travis-build-scripts/travis-log-keepalive.sh &
79+ - bash -e travis-build-scripts/run.sh
7680 - stage : build
7781 if : branch = v9.3.0.x OR tag =~ ^release-candidate*
7882 name : " Multi-Arch PPC64LE build"
8488 - TEST_OPTS_DOCKER="-run TestGoldenPathWithMetrics"
8589 - MQ_ARCHIVE_REPOSITORY=$MQ_930_ARCHIVE_REPOSITORY_PPC64LE
8690 - MQ_ARCHIVE_REPOSITORY_DEV=$MQ_930_ARCHIVE_REPOSITORY_DEV_PPC64LE
87- script : bash -e travis-build-scripts/run.sh
91+ script :
92+ - bash travis-build-scripts/travis-log-keepalive.sh &
93+ - bash -e travis-build-scripts/run.sh
8894 - stage : push-manifest
8995 if : branch = v9.3.0.x AND type != pull_request OR tag =~ ^release-candidate*
9096 name : " Push Manifest-list to registry"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # © Copyright IBM Corporation 2020
4+ #
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+
17+ k=0
18+ dd=$( date)
19+
20+ # Output 200 lines of dummy output to force the logs to flush if they have broken, happens every 8 mins
21+ while true ; do
22+ echo -e " travis_fold:start:build_heartbeat.$k \033[33;1mDumping heartbeat logs to keep build alive - $dd \033[0m"
23+ for i in {1..200}; do
24+ echo " Keepalive $i "
25+ done
26+ echo -e " \ntravis_fold:end:build_heartbeat.$k \r"
27+ sleep 480
28+ k=$(( k+ 1 ))
29+ dd=$( date)
30+ done
You can’t perform that action at this time.
0 commit comments