Skip to content

Commit e5c2d8b

Browse files
committed
Fully automate dev setup with Gitpod
This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click.
1 parent 45738bb commit e5c2d8b

3 files changed

Lines changed: 27 additions & 0 deletions

File tree

.gitpod.Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Install custom tools, runtimes, etc.
2+
# For example "bastet", a command-line tetris clone:
3+
# RUN brew install bastet
4+
#
5+
# More information: https://www.gitpod.io/docs/config-docker/
6+
7+
FROM gitpod/workspace-full:latest
8+
9+
USER gitpod
10+
11+
RUN pip3 install pytest==4.4.2 pytest-testdox mock

.gitpod.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
4+
tasks:
5+
- command: python contemplate_koans.py
6+
7+
github:
8+
prebuilds:
9+
# enable for the master/default branch (defaults to true)
10+
master: true
11+
# enable for pull requests coming from this repo (defaults to true)
12+
pullRequests: false
13+
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
14+
addComment: false

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/gregmalcolm/python_koans)
2+

0 commit comments

Comments
 (0)