starkandwayne/cfna2018-app

Name: cfna2018-app

Owner: Stark & Wayne

Description: Test Application for CF North America 2018 Concourse Labs

Created: 2018-04-13 20:55:34.0

Updated: 2018-04-19 20:00:47.0

Pushed: 2018-04-20 17:12:17.0

Homepage: null

Size: 21

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

cfna2018-app - A Test Application for Cloud Foundry Summit Labs

This repository contains the code for an example Go application that will be used in the Cloud Foundry North America Summit 2018, held in Boston. Included in this repository is a Concourse pipeline that handles running tests against all commits made to the master branch.

The lab then discusses the theory of running tests on commits made against arbitrary Github Pull Requests; in the hands-on segment of the lab, you get to build out that functionality for real.

To get started, you'll need to fork this repo into your own Github org, and generate a personal access token for Concourse to use.

For the lab, we have provided a jumpbox with all the necessary tools on it, and a Concourse installation. For self-study, all you need is an instance of the jumpbox BOSH release, deployed somewhere near your Concourse.

Setup Instructions
Step 1

Fork the cfna2018-app repository, then create a personal access token with repo scope granted.

Step 2

SSH into the jumpbox: ssh cfdev#@pr-lab2.cfna2018.starkandwayne.com

(replace # with the number given to you)

Step 3

Clone the repository: git clone https://github.com/<yourgituser>/cfna2018-app.git

(replace with your GitHub account name)

Step 4

Within the repository folder, edit the file ci/settings.yml and input your information.

(Nano, Vim, and Emacs are installed on the jumpbox)

Step 5

Run ci/repipe to push the pipeline to Concourse.

Step 6 to End

Continue editing ci/pipeline.yml until you have GitHub PR Testing

Links & Commands
URLS

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.