Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit e0e7041

Browse files
set a timeout of no output for 2 minutes on the tests. If they don't pass in 2 minutes, something is wrong.
1 parent eda2c1f commit e0e7041

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.circleci/config.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,32 +100,36 @@ jobs:
100100
sed -i 's/pip /pip3 /g' tests/bootstrap.sh
101101
sed -i 's/python /python3 /g' tests/bootstrap.sh
102102
sed -i 's/-m pip3 /-m pip /g' tests/bootstrap.sh
103-
- run: |
104-
echo "Test Docker images"
105-
cd docker-seleniarm
106-
echo $PWD
107-
export USE_RANDOM_USER=false
108-
#export BUILD_DATE=$(date '+%Y%m%d')
109-
export BRANCH=$CIRCLE_BRANCH
110-
#export ARCH=`dpkg --print-architecture`
111-
USE_RANDOM_USER_ID=${USE_RANDOM_USER} NAMESPACE=${NAMESPACE} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} SKIP_BUILD=true make test_multi_arch
103+
- run:
104+
no_output_timeout: 2m
105+
command: |
106+
echo "Test Docker images"
107+
cd docker-seleniarm
108+
echo $PWD
109+
export USE_RANDOM_USER=false
110+
#export BUILD_DATE=$(date '+%Y%m%d')
111+
export BRANCH=$CIRCLE_BRANCH
112+
#export ARCH=`dpkg --print-architecture`
113+
USE_RANDOM_USER_ID=${USE_RANDOM_USER} NAMESPACE=${NAMESPACE} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} SKIP_BUILD=true make test_multi_arch
112114
113115
workflows:
114116
build:
115117
jobs:
116118
- build-multi-arch:
119+
name: build-multi-arch-arm64
117120
platforms: linux/arm64
118121
machine-type: ubuntu2004arm64
119-
name: build-multi-arch-arm64
120122
- build-multi-arch:
123+
name: build-multi-arch-amd64
121124
platforms: linux/amd64
122125
machine-type: ubuntu2004amd64
123-
name: build-multi-arch-amd64
124126
- test-multi-arch:
127+
name: test-multi-arch-arm64
125128
requires: [build-multi-arch-arm64]
126129
platforms: linux/arm64
127130
machine-type: ubuntu2004arm64
128131
- test-multi-arch:
132+
name: test-multi-arch-amd64
129133
requires: [build-multi-arch-amd64]
130134
platforms: linux/amd64
131135
machine-type: ubuntu2004amd64

0 commit comments

Comments
 (0)