Skip to content

Commit bc9c07c

Browse files
authored
ci: Fix gcloud CI to have python installed (feast-dev#3389)
Signed-off-by: Danny Chiao <danny@tecton.ai> Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent 8f242e6 commit bc9c07c

8 files changed

Lines changed: 24 additions & 12 deletions

File tree

.github/fork_workflows/fork_pr_integration_tests_gcp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
go-version: 1.18.0
4646
- name: Set up gcloud SDK
47-
uses: google-github-actions/setup-gcloud@v0
47+
uses: google-github-actions/setup-gcloud@v1
4848
with:
4949
project_id: ${{ secrets.GCP_PROJECT_ID }}
5050
service_account_key: ${{ secrets.GCP_SA_KEY }}

.github/workflows/java_master_only.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ jobs:
2121
- uses: actions/checkout@v2
2222
with:
2323
submodules: 'true'
24-
- uses: google-github-actions/setup-gcloud@v0
24+
- name: Setup Python
25+
uses: actions/setup-python@v2
26+
id: setup-python
27+
with:
28+
python-version: "3.8"
29+
architecture: x64
30+
- uses: google-github-actions/setup-gcloud@v1
2531
with:
2632
version: '290.0.1'
2733
export_default_credentials: true
@@ -150,7 +156,7 @@ jobs:
150156
restore-keys: |
151157
${{ runner.os }}-it-maven-
152158
- name: Set up gcloud SDK
153-
uses: google-github-actions/setup-gcloud@v0
159+
uses: google-github-actions/setup-gcloud@v1
154160
with:
155161
project_id: ${{ secrets.GCP_PROJECT_ID }}
156162
service_account_key: ${{ secrets.GCP_SA_KEY }}

.github/workflows/java_pr.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,13 @@ jobs:
7272
- uses: actions/checkout@v2
7373
with:
7474
submodules: 'true'
75-
- uses: google-github-actions/setup-gcloud@v0
75+
- name: Setup Python
76+
uses: actions/setup-python@v2
77+
id: setup-python
78+
with:
79+
python-version: "3.8"
80+
architecture: x64
81+
- uses: google-github-actions/setup-gcloud@v1
7682
with:
7783
version: '290.0.1'
7884
export_default_credentials: true
@@ -122,7 +128,7 @@ jobs:
122128
restore-keys: |
123129
${{ runner.os }}-it-maven-
124130
- name: Set up gcloud SDK
125-
uses: google-github-actions/setup-gcloud@v0
131+
uses: google-github-actions/setup-gcloud@v1
126132
with:
127133
project_id: ${{ secrets.GCP_PROJECT_ID }}
128134
service_account_key: ${{ secrets.GCP_SA_KEY }}

.github/workflows/master_only.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
with:
9696
go-version: ${{ matrix.go-version }}
9797
- name: Set up Cloud SDK
98-
uses: google-github-actions/setup-gcloud@v0
98+
uses: google-github-actions/setup-gcloud@v1
9999
with:
100100
project_id: ${{ secrets.GCP_PROJECT_ID }}
101101
service_account_key: ${{ secrets.GCP_SA_KEY }}
@@ -195,7 +195,7 @@ jobs:
195195
username: ${{ secrets.DOCKERHUB_USERNAME }}
196196
password: ${{ secrets.DOCKERHUB_TOKEN }}
197197
- name: Set up Cloud SDK
198-
uses: google-github-actions/setup-gcloud@v0
198+
uses: google-github-actions/setup-gcloud@v1
199199
with:
200200
project_id: ${{ secrets.GCP_PROJECT_ID }}
201201
service_account_key: ${{ secrets.GCP_SA_KEY }}

.github/workflows/nightly-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
with:
146146
go-version: 1.18.0
147147
- name: Set up gcloud SDK
148-
uses: google-github-actions/setup-gcloud@v0
148+
uses: google-github-actions/setup-gcloud@v1
149149
with:
150150
project_id: ${{ secrets.GCP_PROJECT_ID }}
151151
service_account_key: ${{ secrets.GCP_SA_KEY }}

.github/workflows/pr_integration_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
with:
122122
go-version: 1.18.0
123123
- name: Set up gcloud SDK
124-
uses: google-github-actions/setup-gcloud@v0
124+
uses: google-github-actions/setup-gcloud@v1
125125
with:
126126
project_id: ${{ secrets.GCP_PROJECT_ID }}
127127
service_account_key: ${{ secrets.GCP_SA_KEY }}

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
username: ${{ secrets.DOCKERHUB_USERNAME }}
6666
password: ${{ secrets.DOCKERHUB_TOKEN }}
6767
- name: Set up Cloud SDK
68-
uses: google-github-actions/setup-gcloud@v0
68+
uses: google-github-actions/setup-gcloud@v1
6969
with:
7070
project_id: ${{ secrets.GCP_PROJECT_ID }}
7171
service_account_key: ${{ secrets.GCP_SA_KEY }}
@@ -109,7 +109,7 @@ jobs:
109109
VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}
110110
steps:
111111
- uses: actions/checkout@v2
112-
- uses: google-github-actions/setup-gcloud@v0
112+
- uses: google-github-actions/setup-gcloud@v1
113113
with:
114114
version: '290.0.1'
115115
export_default_credentials: true

docs/project/maintainers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Fork specific integration tests are run by the `fork_pr_integration_tests.yml_[p
3636

3737
```yaml
3838
- name: Set up gcloud SDK
39-
uses: google-github-actions/setup-gcloud@v0
39+
uses: google-github-actions/setup-gcloud@v1
4040
with:
4141
project_id: ${{ secrets.GCP_PROJECT_ID }}
4242
service_account_key: ${{ secrets.GCP_SA_KEY }}

0 commit comments

Comments
 (0)