Skip to content

Commit dd896e7

Browse files
authored
Add JetStream E2E test CI (#89)
* Add JetStream E2E test CI * Use SA key for auth
1 parent 0c56aac commit dd896e7

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

.github/workflows/e2e_tests.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#
2+
# Licensed under the Apache License, Version 2.0 (the "License");
3+
# you may not use this file except in compliance with the License.
4+
# You may obtain a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
14+
# Details for GCP Service Account Key setup: https://github.com/google-github-actions/auth?tab=readme-ov-file#sake
15+
16+
name: E2E Tests
17+
18+
on:
19+
push:
20+
branches: [main]
21+
22+
permissions:
23+
id-token: write
24+
contents: read
25+
26+
jobs:
27+
run_e2e_tests:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v3
32+
33+
- name: GCP SA auth
34+
id: 'auth'
35+
uses: 'google-github-actions/auth@v2'
36+
with:
37+
credentials_json: '${{ secrets.GOOGLE_SA_KEY }}'
38+
39+
- name: Setup gcloud
40+
uses: 'google-github-actions/setup-gcloud@v2'
41+
with:
42+
version: '>= 363.0.0'
43+
44+
- name: Run E2E tests on ml-automation-solutions platform
45+
run: |
46+
gcloud composer environments run ml-automation-solutions \
47+
--project=cloud-ml-auto-solutions \
48+
--location=us-central1 dags trigger \
49+
-- \
50+
jetstream_e2e_inference

0 commit comments

Comments
 (0)