Skip to content

Commit

Permalink
Fully automate dev setup with Gitpod
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
brootware committed May 28, 2021
1 parent 45738bb commit e5c2d8b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Install custom tools, runtimes, etc.
# For example "bastet", a command-line tetris clone:
# RUN brew install bastet
#
# More information: https://www.gitpod.io/docs/config-docker/

FROM gitpod/workspace-full:latest

USER gitpod

RUN pip3 install pytest==4.4.2 pytest-testdox mock
14 changes: 14 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
image:
file: .gitpod.Dockerfile

tasks:
- command: python contemplate_koans.py

github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: false
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: false
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[![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)

0 comments on commit e5c2d8b

Please sign in to comment.