File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments