Skip to content

Commit

Permalink
Mark AMD build image step optional
Browse files Browse the repository at this point in the history
  • Loading branch information
khluu authored Feb 9, 2025
1 parent 29b5d3b commit 300d52c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/test-template-aws.j2
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,11 @@ steps:
- group: "AMD Tests"
depends_on: ~
steps:
- label: "AMD: :docker: build image"
- block: "Build AMD image"
key: block-amd-build
depends_on: ~
- label: "AMD: :docker: build image"
depends_on: block-amd-build
commands:
# Handle the introduction of test target in Dockerfile.rocm
- "grep -i 'from base as test' Dockerfile.rocm && docker build --build-arg max_jobs=16 --tag {{ docker_image_amd }} -f Dockerfile.rocm --target test --progress plain . || docker build --build-arg max_jobs=16 --tag {{ docker_image_amd }} -f Dockerfile.rocm --progress plain ."
Expand Down

0 comments on commit 300d52c

Please sign in to comment.