From charlesreid1

No edit summary
Line 7: Line 7:
=AWS=
=AWS=


==AWS Jenkins Shepherd and Sheep==
Spin up an AWS node.
 
Guide to setting up a Jenkins build server on AWS: https://aws.amazon.com/getting-started/projects/setup-jenkins-build-server/
 
Overview:
* launch ec2 instance
* install jenkins
* configure jenkins to spin up workers if build abilities need to be augmented
 
Set up security group:
* set up a vpc
* allow http access from anyone
* allow ssh traffic from your public ip
 
Launching instance:
* t2.micro
* Enable auto-assign a public IP address
* Choose your VPC from Network, choose your public subnet from Network
 
Install:
* apt-get update
* download/install (import yum key in instructions)
* Connect to port 8080 to log in
 
Check for Jenkins password in <code>/var/lib/jenkins/secrets/initialAdminPassword</code>.
 
Select Amazon EC2 plugin, pick install without restart
 
Manage Jenkins > Configure system > Cloud > Add new cloud  > Amazon EC2
 
Now you can create EC2 instances as build sheep


Tasks:
* Install Jenkins
* Open firewall
* Access Jenkins
* Run a basic Python workflow


=Links=
=Links=

Revision as of 00:55, 6 August 2018

Basics

You develop Pipelines, the main object in Jenkins

Pipelines have 3 basic steps: build step, test step, and deploy (or "deliver") step.

AWS

Spin up an AWS node.

Tasks:

  • Install Jenkins
  • Open firewall
  • Access Jenkins
  • Run a basic Python workflow

Links

https://jenkins.io/doc/tutorials/build-a-python-app-with-pyinstaller/

Flags