Skip to content

Commit

Permalink
Fix the Circle CI error by removing the test-multi-arch job (#2203)
Browse files Browse the repository at this point in the history
* Remove test-multi-arch job in Circle CI

* Remove test-multi-arch definitions
  • Loading branch information
allenxwang authored Oct 3, 2024
1 parent f925566 commit 7b35568
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,6 @@ version: 2.1

jobs:

test-multi-arch:
parameters:
platform:
type: string
environment:
_JAVA_OPTIONS: "-Xms512m -Xmx1g"
DOCKER_CLI_EXPERIMENTAL: "enabled"
working_directory: ~/workspace
machine:
image: ubuntu-2004:202107-02
steps:
- checkout
- run: |
# install required qemu libraries
docker run --rm --privileged tonistiigi/binfmt:latest --install all
# run docker container with qemu emulation
docker run --rm \
--platform << parameters.platform >> \
--name qemu-cross-<< parameters.platform >> \
--mount type=bind,source=${PWD},target=/github_workspace \
--workdir /github_workspace \
<< parameters.platform >>/eclipse-temurin:11-jdk-focal uname -a; ./gradlew --no-daemon -PmaxParallelForks=1 build
- run:
command: mkdir ~/test-results
- run:
command: find ~/workspace -type f -regex ".*/test-results/.*xml" -exec ln {} ~/test-results/ \;
- store_test_results:
path: ~/test-results
- store_artifacts:
path: ~/test-results

build:
environment:
_JAVA_OPTIONS: "-Xms512m -Xmx1g"
Expand Down Expand Up @@ -106,21 +75,13 @@ workflows:
version: 2.1
build-and-publish:
jobs:
- test-multi-arch:
matrix:
parameters:
platform: ["s390x"]
filters:
tags:
only: /.*/
- build:
filters:
tags:
only: /.*/
- integration-test:
requires:
- build
- test-multi-arch
filters:
branches:
ignore: /.*/
Expand Down

0 comments on commit 7b35568

Please sign in to comment.