forked from kedro-org/kedro-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introdcuing .gitpod.yml to kedro-plugins (kedro-org#185)
Currently opening gitpod will installed a Python 3.11 which breaks everything because we don't support it set. This PR introduce a simple .gitpod.yml to get it started. Signed-off-by: jmcdonnell <[email protected]>
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart | ||
image: gitpod/workspace-python-3.10:2023-04-20-16-32-37 | ||
|
||
|
||
tasks: | ||
# We want packages installed during the pre-build init steps to go to /workspace | ||
# rather than ~ so that they are persisted. Gitpod sets PIP_USER=yes to ensure this, | ||
# but pre-commit requires PIP_USER=no. Hence we set PIP_USER=no and use | ||
# pip install --user to install to /workspace. | ||
- name: kedro-plugins | ||
before: | | ||
echo PIP_USER=no >> ~/.bashrc && export PIP_USER=no | ||
init: | | ||
make sign-off | ||
command: | | ||
pre-commit install --install-hooks | ||
clear | ||
github: | ||
prebuilds: | ||
# enable for the master/default branch (defaults to true) | ||
master: true | ||
# enable for all branches in this repo (defaults to false) | ||
branches: true | ||
# enable for pull requests coming from this repo (defaults to true) | ||
pullRequests: true | ||
# enable for pull requests coming from forks (defaults to false) | ||
pullRequestsFromForks: true | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true) | ||
addComment: false | ||
# add a "Review in Gitpod" button to pull requests (defaults to false) | ||
addBadge: true |