forked from feast-dev/feast-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 894 Bytes
/
feast_apply_gcp.yml
File metadata and controls
37 lines (34 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Feast apply (GCP)
on:
push:
branches:
- main
jobs:
feast_apply:
runs-on: ubuntu-latest
steps:
- name: Setup Python
id: setup-python
uses: actions/setup-python@v2
with:
python-version: "3.7"
architecture: x64
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v0
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
- name: Use gcloud CLI
run: gcloud info
# Run `feast apply`
- uses: actions/checkout@v2
- name: Install feast
run: pip install "feast[aws]"
- name: Run feast apply
env:
FEAST_USAGE: "False"
IS_TEST: "True"
run: |
cd module_0/feature_repo_aws
feast apply