-
Notifications
You must be signed in to change notification settings - Fork 456
chore(governance): add pre-configured dev environment with GitPod.io to ease contributions #1403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
7c4eb7c
9a4efca
7959b14
c14944c
102ba0f
065f35f
57e5cb5
8eeebdc
dc5a258
5ee8972
e66f89a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # See here all gitpod images available: https://hub.docker.com/r/gitpod/workspace-python-3.10/tags | ||
| # Current python version: 3.10.5 | ||
| FROM gitpod/workspace-python-3.10@sha256:8a7ad4f0bbaa281a36cf2a87b772354638a14d7383f0a755b9ea32596ee99632 | ||
|
|
||
| WORKDIR /app | ||
| ADD . /app | ||
|
|
||
| # Installing pre-commit as system package and not user package. Git needs this to execute pre-commit hooks. | ||
| RUN export PIP_USER=no | ||
| RUN python3 -m pip install pre-commit | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| image: | ||
| file: .gitpod.Dockerfile | ||
| tasks: | ||
| - init: make dev-gitpod | ||
| vscode: | ||
| extensions: | ||
heitorlessa marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - ms-python.python | ||
| - littlefoxteam.vscode-python-test-adapter | ||
| - ms-azuretools.vscode-docker | ||
| - davidanson.vscode-markdownlint | ||
| - bungcip.better-toml | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,6 +36,8 @@ To send us a pull request, please follow these steps: | |
| 5. Send us a pull request with a [conventional semantic title](https://github.com/awslabs/aws-lambda-powertools-python/pull/67), and answering any default questions in the pull request interface. | ||
| 6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation. | ||
|
|
||
| Optionally you can use [Gitpod](https://gitpod.io/) to have a pre-configured dev environment. If you choose to use Gitpod, there is no need to install anything on your machine, as the environment will be pre-configured with all necessary dependencies. | ||
|
||
|
|
||
| GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and | ||
| [creating a pull request](https://help.github.com/articles/creating-a-pull-request/). | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use 3.9. It's the latest Lambda runtime supports, we can upgrade to 3.10 when they do. Also deeply appreciate the security mindset in using an immutable image