From 33e13c2aad9bb8a91abea6a2870dc178e3bd00de Mon Sep 17 00:00:00 2001 From: Stephen Augustus Date: Thu, 19 Nov 2020 19:00:16 -0500 Subject: [PATCH] Fully automate dev setup with Gitpod (#1868) * Fully automate dev setup with Gitpod This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitHub and GitLab 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. Signed-off-by: justaugustus --- .dockerignore | 1 + .gitpod.yml | 3 +++ README.md | 1 + 3 files changed, 5 insertions(+) create mode 100644 .gitpod.yml diff --git a/.dockerignore b/.dockerignore index 56588ee4..6e7c7ac1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,4 @@ .github/ bin/ tmp/ +.gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..443b711f --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,3 @@ +tasks: + - init: go get && go build ./... && go test ./... && make + command: go run diff --git a/README.md b/README.md index a37f998d..be401850 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/dexidp/dex/CI?style=flat-square) [![Go Report Card](https://goreportcard.com/badge/github.com/dexidp/dex?style=flat-square)](https://goreportcard.com/report/github.com/dexidp/dex) [![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/mod/github.com/dexidp/dex) +[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/dexidp/dex) ![logo](Documentation/logos/dex-horizontal-color.png)