From f08ded635d1f07d2d31393b0f5c8ca03386340cb Mon Sep 17 00:00:00 2001 From: primeithard Date: Fri, 8 Jan 2021 01:54:03 +0000 Subject: [PATCH 1/2] 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. --- .gitpod.yml | 3 +++ README.md | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..1bb1aff3 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,3 @@ +tasks: + - init: go get && go build ./... && go test ./... + command: go run diff --git a/README.md b/README.md index 48e3811a..e4099aea 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/primeithard/filebrowser) +

From a642f904254243ffaa6db4db12cc214183f65803 Mon Sep 17 00:00:00 2001 From: primeithard Date: Fri, 8 Jan 2021 02:11:04 +0000 Subject: [PATCH 2/2] 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. --- .gitpod.Dockerfile | 7 +++++++ .gitpod.yml | 3 +++ README.md | 2 ++ 3 files changed, 12 insertions(+) create mode 100644 .gitpod.Dockerfile diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 00000000..f0decb62 --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,7 @@ +FROM gitpod/workspace-mongodb + +# 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/ diff --git a/.gitpod.yml b/.gitpod.yml index 1bb1aff3..bf29590b 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,3 +1,6 @@ +image: + file: .gitpod.Dockerfile + tasks: - init: go get && go build ./... && go test ./... command: go run diff --git a/README.md b/README.md index e4099aea..4c547de8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/primeithard/filebrowser) +[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/primeithard/filebrowser) +