Skip to content

Commit

Permalink
ci: remove arm64 from image test
Browse files Browse the repository at this point in the history
  • Loading branch information
ttuffin committed Oct 6, 2023
1 parent 47cec66 commit bc30264
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
7 changes: 2 additions & 5 deletions .github/actions/image-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@ description: Build and test the container image
runs:
using: composite
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build container image
uses: docker/build-push-action@v4
with:
context: .
platforms: ${{ matrix.build-arch }}
platforms: linux/amd64
tags: localhost/ansible-rulebook:test
load: true

Expand All @@ -23,4 +20,4 @@ runs:
run: >
docker run --rm -u 0 localhost/ansible-rulebook:test bash -c '
pip install -r requirements_test.txt &&
pytest -m "e2e" -n auto'
EDA_E2E_CMD_TIMEOUT=90 pytest -m "e2e" -n auto'
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,6 @@ jobs:
verbose: true

build-and-test-image:
# we must use a matrix because buildx load
# does not currently support multi-arch.
# https://docs.docker.com/engine/reference/commandline/buildx_build/#docker
strategy:
matrix:
build-arch:
- linux/amd64
- linux/arm64
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit bc30264

Please sign in to comment.