You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding more details to the CONTRIBUTING.md (#1888)
* Adding more details to the CONTRIBUTING.md around testing
Signed-off-by: Danny Chiao <[email protected]>
* Add create PR from fork link
Signed-off-by: Danny Chiao <[email protected]>
* Fix broken development guide link
Signed-off-by: Danny Chiao <[email protected]>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+47-3Lines changed: 47 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Development Guide: Main Feast Repository
2
-
> Please see [Development Guide](https://docs.feast.dev/contributing/development-guide) for project level development instructions.
2
+
> Please see [Development Guide](https://docs.feast.dev/project/development-guide) for project level development instructions.
3
3
4
4
### Overview
5
5
This guide is targeted at developers looking to contribute to Feast components in
@@ -8,6 +8,13 @@ the main Feast repository:
8
8
-[Feast Go Client](#feast-go-client)
9
9
-[Feast Terraform](#feast-terraform)
10
10
11
+
## Making a pull request
12
+
13
+
### Forking the repo
14
+
Fork the Feast Github repo and clone your fork locally. Then make changes to a local branch to the fork.
15
+
16
+
See [Creating a pull request from a fork](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork)
17
+
11
18
### Pre-commit Hooks
12
19
Setup [`pre-commit`](https://pre-commit.com/) to automatically lint and format the codebase on commit:
13
20
1. Ensure that you have Python (3.7 and above) with `pip`, installed.
Setting up your development environment for Feast Python SDK / CLI:
@@ -71,13 +93,35 @@ make test-python
71
93
> and [no AWS credentials can be accessed](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials) by `boto3`
72
94
> - Ensure Feast Python SDK / CLI is not configured with configuration overrides (ie `~/.feast/config` should be empty).
73
95
96
+
### Integration Tests
97
+
To get tests running, you'll need to have GCP / AWS / Redis setup:
1. Install the [Cloud SDK](https://cloud.google.com/sdk/docs/install).
105
+
2. Then run login to gcloud:
106
+
```
107
+
gcloud auth login
108
+
gcloud auth application-default login
109
+
```
110
+
3. Export `GCLOUD_PROJECT=[your project]` to your .zshrc
111
+
112
+
AWS
113
+
1. TODO(adchia): flesh out setting up AWS login (or create helper script)
114
+
2. Modify `RedshiftDataSourceCreator` to use your credentials
115
+
116
+
Then run `make test-python-integration`. Note that for GCP / AWS, this will create new temporary tables / datasets.
117
+
74
118
## Feast Go Client
75
119
:warning: Feast Go Client will move to its own standalone repository in the future.
76
120
77
121
### Environment Setup
78
122
Setting up your development environment for Feast Go SDK:
79
-
1. Ensure the following development tools are installed:
80
-
- Golang, [`protoc` with the Golang & grpc plugins](https://developers.google.com/protocol-buffers/docs/gotutorial#compiling-your-protocol-buffers)
123
+
124
+
-Install Golang, [`protoc` with the Golang & grpc plugins](https://developers.google.com/protocol-buffers/docs/gotutorial#compiling-your-protocol-buffers)
81
125
82
126
### Building
83
127
Build the Feast Go Client with the `go` toolchain:
0 commit comments