Skip to content

Commit

Permalink
Run buildkite right after init job
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Mar 25, 2024
1 parent bef2cc6 commit 57e5ef9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/gen-workflow-ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,8 @@ def sync_files(needs: List[str]) -> str:
build_and_test_images(id='build-and-test-heads', name='Build and Test heads', needs=['build-and-test'], images=allhead_images, tests_per_image=tests_per_image, tests=tests),
build_and_test_images(id='build-mins', name='Build mins', needs=['build-and-test'], images=allmin_images, tests_per_image=tests_per_image, tests={}),
build_and_test_macos(id='build-and-test-macos', name='Build and Test macOS', needs=['build-and-test']),
trigger_buildkite_job(id='buildkite', name='Build and Test GPU', needs=['build-and-test'], mode='GPU NON HEADS'),
trigger_buildkite_job(id='buildkite-heads', name='Build and Test GPU heads', needs=['build-and-test'], mode='GPU HEADS'),
trigger_buildkite_job(id='buildkite', name='Build and Test GPU', needs=['init-workflow'], mode='GPU NON HEADS'),
trigger_buildkite_job(id='buildkite-heads', name='Build and Test GPU heads', needs=['init-workflow'], mode='GPU HEADS'),
publish_docker_images(needs=['build-and-test', 'buildkite'], images=['horovod', 'horovod-cpu', 'horovod-nvtabular', 'horovod-ray']),
sync_files(needs=['init-workflow'])
)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4561,7 +4561,7 @@ jobs:
${{ steps.test-3.outputs.artifacts-path }}
buildkite-trigger:
name: "Build and Test GPU (trigger Builtkite)"
needs: [init-workflow, build-and-test]
needs: [init-workflow]
runs-on: ubuntu-latest
if: >
github.repository == 'horovod/horovod' &&
Expand Down Expand Up @@ -4618,7 +4618,7 @@ jobs:
buildkite-heads-trigger:
name: "Build and Test GPU heads (trigger Builtkite)"
needs: [init-workflow, build-and-test]
needs: [init-workflow]
runs-on: ubuntu-latest
if: >
github.repository == 'horovod/horovod' &&
Expand Down

0 comments on commit 57e5ef9

Please sign in to comment.