Skip to content

Commit 97b9c95

Browse files
committed
Use the updated ci connect
1 parent 970ffd5 commit 97b9c95

File tree

7 files changed

+85
-5
lines changed

7 files changed

+85
-5
lines changed

.github/workflows/bazel_cpu_rbe.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
pull_request:
55
branches:
66
- main
7+
workflow_dispatch:
8+
inputs:
9+
halt-for-connection:
10+
description: 'Should this workflow run wait for a remote connection?'
11+
type: choice
12+
required: true
13+
default: 'no'
14+
options:
15+
- 'yes'
16+
- 'no'
717

818
jobs:
919
run_bazel_rbe_cpu_tests:
@@ -31,6 +41,8 @@ jobs:
3141
- uses: actions/checkout@v3
3242
# Halt for testing
3343
- name: Wait For Connection
34-
uses: ./actions/ci_connection/
44+
uses: google-ml-infra/actions/ci_connection@main
45+
with:
46+
halt-dispatch-input: ${{ inputs.halt-for-connection }}
3547
- name: Run Bazel CPU Tests
3648
run: ./ci/run_bazel_test_cpu_rbe.sh

.github/workflows/bazel_gpu_non_rbe.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
pull_request:
55
branches:
66
- main
7+
workflow_dispatch:
8+
inputs:
9+
halt-for-connection:
10+
description: 'Should this workflow run wait for a remote connection?'
11+
type: choice
12+
required: true
13+
default: 'no'
14+
options:
15+
- 'yes'
16+
- 'no'
717

818
jobs:
919
build:
@@ -25,7 +35,9 @@ jobs:
2535
- uses: actions/checkout@v3
2636
# Halt for testing
2737
- name: Wait For Connection
28-
uses: ./actions/ci_connection/
38+
uses: google-ml-infra/actions/ci_connection@main
39+
with:
40+
halt-dispatch-input: ${{ inputs.halt-for-connection }}
2941
- name: Build jaxlib
3042
run: ./ci/build_artifacts.sh "ci/envs/build_artifacts/jaxlib.env"
3143
- name: Build jax-cuda-plugin

.github/workflows/bazel_gpu_rbe.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
pull_request:
55
branches:
66
- main
7+
workflow_dispatch:
8+
inputs:
9+
halt-for-connection:
10+
description: 'Should this workflow run wait for a remote connection?'
11+
type: choice
12+
required: true
13+
default: 'no'
14+
options:
15+
- 'yes'
16+
- 'no'
717

818
jobs:
919
build:
@@ -25,6 +35,8 @@ jobs:
2535
- uses: actions/checkout@v3
2636
# Halt for testing
2737
- name: Wait For Connection
28-
uses: ./actions/ci_connection/
38+
uses: google-ml-infra/actions/ci_connection@main
39+
with:
40+
halt-dispatch-input: ${{ inputs.halt-for-connection }}
2941
- name: Run Bazel GPU tests using RBE
3042
run: ./ci/run_bazel_test_gpu_rbe.sh

.github/workflows/build_artifacts.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
pull_request:
55
branches:
66
- main
7+
workflow_dispatch:
8+
inputs:
9+
halt-for-connection:
10+
description: 'Should this workflow run wait for a remote connection?'
11+
type: choice
12+
required: true
13+
default: 'no'
14+
options:
15+
- 'yes'
16+
- 'no'
717
workflow_call:
818

919
jobs:

.github/workflows/pytest_cpu.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
pull_request:
55
branches:
66
- main
7+
workflow_dispatch:
8+
inputs:
9+
halt-for-connection:
10+
description: 'Should this workflow run wait for a remote connection?'
11+
type: choice
12+
required: true
13+
default: 'no'
14+
options:
15+
- 'yes'
16+
- 'no'
717

818
jobs:
919
build:
@@ -32,7 +42,9 @@ jobs:
3242
- uses: actions/checkout@v3
3343
# Halt for testing
3444
- name: Wait For Connection
35-
uses: ./actions/ci_connection/
45+
uses: google-ml-infra/actions/ci_connection@main
46+
with:
47+
halt-dispatch-input: ${{ inputs.halt-for-connection }}
3648
- name: Build jaxlib
3749
run: ./ci/build_artifacts.sh "ci/envs/build_artifacts/jaxlib.env"
3850
- name: Install pytest

.github/workflows/pytest_gpu.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
pull_request:
55
branches:
66
- main
7+
workflow_dispatch:
8+
inputs:
9+
halt-for-connection:
10+
description: 'Should this workflow run wait for a remote connection?'
11+
type: choice
12+
required: true
13+
default: 'no'
14+
options:
15+
- 'yes'
16+
- 'no'
717

818
jobs:
919
build:
@@ -25,7 +35,9 @@ jobs:
2535
- uses: actions/checkout@v3
2636
# Halt for testing
2737
- name: Wait For Connection
28-
uses: ./actions/ci_connection/
38+
uses: google-ml-infra/actions/ci_connection@main
39+
with:
40+
halt-dispatch-input: ${{ inputs.halt-for-connection }}
2941
- name: Build jaxlib
3042
run: ./ci/build_artifacts.sh "ci/envs/build_artifacts/jaxlib.env"
3143
- name: Build jax-cuda-plugin

.github/workflows/pytest_tpu.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
pull_request:
55
branches:
66
- main
7+
workflow_dispatch:
8+
inputs:
9+
halt-for-connection:
10+
description: 'Should this workflow run wait for a remote connection?'
11+
type: choice
12+
required: true
13+
default: 'no'
14+
options:
15+
- 'yes'
16+
- 'no'
717

818
jobs:
919
run_tests:

0 commit comments

Comments
 (0)