FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
feast-demo/.github/workflows/feast_plan.yml at main · feast-dev/feast-demo · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
feast-dev
/
feast-demo
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
7
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
feast-demo
/
.github
/
workflows
/
feast_plan.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
52 lines (47 loc) · 1.55 KB
Breadcrumbs
feast-demo
/
.github
/
workflows
/
feast_plan.yml
Copy path
File metadata and controls
52 lines (47 loc) · 1.55 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name
:
Feast plan
on
:
[pull_request]
#
Should be triggered once then manually if possible
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Setup Python
id
:
setup-python
uses
:
actions/setup-python@v2
with
:
python-version
:
"
3.7
"
architecture
:
x64
#
Get the registry from the local `main` branch first
-
uses
:
actions/checkout@v2
with
:
ref
:
main
-
name
:
Install feast
run
:
pip install feast==0.18.0
-
name
:
Run feast apply locally on the main branch
run
:
feast apply
-
uses
:
actions/upload-artifact@v2
with
:
name
:
registry
path
:
feature_repo/data/registry.db
#
Get the registry from the previous step and run `feast plan`
-
uses
:
actions/checkout@v2
-
uses
:
actions/download-artifact@v2
with
:
name
:
registry
-
name
:
Install feast
run
:
pip install feast==0.18.0
-
name
:
Capture `feast plan` in a variable
id
:
feast_plan
run
:
|
body=$(feast plan)
body="${body//'%'/'%25'}"
body="${body//$'\n'/'%0A'}"
body="${body//$'\r'/'%0D'}"
echo "::set-output name=body::$body"
#
Post a comment on the PR with the results of `feast plan`
-
name
:
Create comment
uses
:
peter-evans/create-or-update-comment@v1
if
:
${{ steps.feast_plan.outputs.body }}
with
:
issue-number
:
${{ github.event.pull_request.number }}
body
:
|
${{ steps.feast_plan.outputs.body }}
Back
|
FazBrowse Home
|
New Git URL