Skip to content

Commit

Permalink
Run Buildkite pipelines right after init
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Mar 1, 2022
1 parent 483224d commit df5a49b
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
Expand Up @@ -805,8 +805,8 @@ def sync_files(needs: List[str]) -> str:
build_and_test_images(id='build-and-test', name='Build and Test', needs=['init-workflow'], images=release_images, parallel_images='-cpu-', tests_per_image=tests_per_image, tests=tests),
build_and_test_images(id='build-and-test-heads', name='Build and Test heads', needs=['build-and-test'], images=allhead_images, parallel_images='', tests_per_image=tests_per_image, tests=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 (on Builtkite)', needs=['build-and-test'], mode='GPU NON HEADS'),
trigger_buildkite_job(id='buildkite-heads', name='Build and Test GPU heads (on Builtkite)', needs=['build-and-test'], mode='GPU HEADS'),
trigger_buildkite_job(id='buildkite', name='Build and Test GPU (on Builtkite)', needs=['init-workflow'], mode='GPU NON HEADS'),
trigger_buildkite_job(id='buildkite-heads', name='Build and Test GPU heads (on Builtkite)', needs=['init-workflow'], mode='GPU HEADS'),
publish_docker_images(needs=['build-and-test', 'buildkite'], images=['horovod', 'horovod-cpu', 'horovod-ray']),
sync_files(needs=['init-workflow'])
)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Expand Up @@ -3503,7 +3503,7 @@ jobs:
${{ steps.test-3.outputs.artifacts-path }}
buildkite:
name: "Build and Test GPU (on Builtkite)"
needs: [init-workflow, build-and-test]
needs: [init-workflow]
runs-on: ubuntu-latest
if: >
github.repository == 'horovod/horovod' &&
Expand Down Expand Up @@ -3553,7 +3553,7 @@ jobs:
buildkite-heads:
name: "Build and Test GPU heads (on 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 df5a49b

Please sign in to comment.