This workshop is designed to introduce people to the concept of a deployment pipeline.
Requirements
- GitHub Account
- Internet Access
- Web Browser
Access your GoCD Instance
An IP address will be provided to your by your instructor. Go to that IP address with a web browser.
Sign in to your GitHub Account
During this workshop, GoCD will be polling a GitHub repository you control.
Go to GoCD Workshop Repository
Go to https://github.com/gocd-demo/GoCD-workshop-application and click the "Fork" button on the upper right.
Fork Repository to Your Account
This creates your own copy of the repository we'll be working with
Copy the HTTPS URL for your fork
Click on the "Clone or download" button. Make sure the URL is HTTPS. GoCD can use SSH based URLs as well, but it would require key setup.
Create Application Pipeline
Add Git URL
Paste the URL from your fork of the application repository
Move the fetch artifact task to the top
Upload the installer artifact
Create functional test pipeline
Set the Application pipeline as the material
Set up first job and task
It's going to fail (and it should)
Set up deploy environment variable
Create tab to show test output
Clone functional test pipeline
Create user acceptance pipeline
Create approve job and task
Update deploy environment
Audit trail shows approval
Clone user acceptance pipeline
Create deploy staging pipeline
Create deploy production pipeline
Set deploy environment variable