Skip to content

Commit b8e9063

Browse files
authored
[ES-1199764] migrate Github actions for repo to IT managed runners (#373)
* runner changed to self-hosted * group changed * formatting-check test * macos runner removed for now
1 parent 44b9d1e commit b8e9063

File tree

7 files changed

+24
-10
lines changed

7 files changed

+24
-10
lines changed

.github/workflows/bugCatcher.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ on:
1111
jobs:
1212
build-and-test:
1313
name: Build and Run Integration Tests
14-
runs-on: ubuntu-latest
14+
runs-on:
15+
group: databricks-protected-runner-group
16+
labels: linux-ubuntu-latest
1517
environment: azure-prod
1618
steps:
1719
- name: Checkout code

.github/workflows/closeStale.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
- cron: "30 6 * * *" #Run at 06:30 GMT everyday
55
jobs:
66
stale:
7-
runs-on: ubuntu-latest
7+
runs-on:
8+
group: databricks-protected-runner-group
9+
labels: linux-ubuntu-latest
810
steps:
911
# Release v8 (https://github.com/actions/stale/tree/v8.0.0)
1012
- uses: actions/stale@v8

.github/workflows/prCheck.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
os: [ubuntu-latest]
1716
java-version: [21] # For formatting, we don't need to run across multiple versions. Only sanity testing is required here, rest is taken care in the build.
18-
runs-on: ${{ matrix.os }}
17+
runs-on:
18+
group: databricks-protected-runner-group
19+
labels: linux-ubuntu-latest
1920
steps:
2021
- name: Set up JDK
2122
uses: actions/setup-java@v4
@@ -40,10 +41,11 @@ jobs:
4041
strategy:
4142
fail-fast: false
4243
matrix:
43-
os: [macos-latest, ubuntu-latest]
4444
java-version: [11, 17, 21] # Adding LTS versions here. 21 is the latest LTS
4545

46-
runs-on: ${{ matrix.os }}
46+
runs-on:
47+
group: databricks-protected-runner-group
48+
labels: linux-ubuntu-latest
4749

4850
steps:
4951
- name: Set up JDK ${{ matrix.java-version }}

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77

88
jobs:
99
publish:
10-
runs-on: ubuntu-latest
10+
runs-on:
11+
group: databricks-protected-runner-group
12+
labels: linux-ubuntu-latest
1113
steps:
1214
- name: Checkout
1315
uses: actions/checkout@v2

.github/workflows/runBenchmarks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77

88
jobs:
99
benchmark:
10-
runs-on: ubuntu-latest
10+
runs-on:
11+
group: databricks-protected-runner-group
12+
labels: linux-ubuntu-latest
1113

1214
steps:
1315
- name: Checkout benchmarking branch

.github/workflows/runIntegrationTests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ on:
1111
jobs:
1212
build-and-test:
1313
name: Build and Run Integration Tests
14-
runs-on: ubuntu-latest
14+
runs-on:
15+
group: databricks-protected-runner-group
16+
labels: linux-ubuntu-latest
1517
environment: azure-prod
1618
strategy:
1719
matrix:

.github/workflows/slt.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ on:
1818
jobs:
1919
build:
2020

21-
runs-on: ubuntu-latest
21+
runs-on:
22+
group: databricks-protected-runner-group
23+
labels: linux-ubuntu-latest
2224

2325
steps:
2426
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)