Skip to content

Commit d67f5dd

Browse files
authored
Fix circleci node 4 failure (#16236)
* fix circleci failure * remove debug * fix
1 parent 0ce1fef commit d67f5dd

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ jobs:
204204
- command_build_and_test:
205205
nodeNo: "3"
206206
node4:
207-
docker:
208-
- image: fkrull/multi-python
207+
machine:
208+
image: ubuntu-2004:202201-02
209209
working_directory: ~/OpenAPITools/openapi-generator
210210
shell: /bin/bash --login
211211
environment:
@@ -215,7 +215,7 @@ jobs:
215215
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
216216
steps:
217217
- checkout
218-
- command_docker_build_and_test:
218+
- command_build_and_test:
219219
nodeNo: "4"
220220
workflows:
221221
version: 2

CI/circle_parallel.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ set -e
99

1010
export NODE_ENV=test
1111

12-
function cleanup {
13-
# Show logs of 'petstore.swagger' container to troubleshoot Unit Test failures, if any.
14-
if [ "$NODE_INDEX" != "4" ]; then
15-
docker logs petstore.swagger # container name specified in circle.yml
16-
fi
17-
}
18-
19-
trap cleanup EXIT
20-
2112
if [ "$NODE_INDEX" = "1" ]; then
2213
echo "Running node $NODE_INDEX to test 'samples.circleci' defined in pom.xml ..."
2314
java -version

0 commit comments

Comments
 (0)