You are here: Home / virtualmachines / CI/CD

CI/CD

BastionLinux/CI/CD manual page

NAME

BastionLinux - CI/CD(EBS) x84_64

 

SYNOPSYS

BastionLinux™ is our RPM-Linux clone (baselined on Fedora Core 29/RHEL 8) with full RPM support for Jenkins, Gerrit, Zuul , and NodePool- the hard-core OpenStack Infrastructure development  suite. 

 

AMI Marketplace Identifiers

https://aws.amazon.com/marketplace/pp/B0845YCZJN 


DESCRIPTION

Jenkins is the leading open source continuous integration (and delivery) platform.  Our Jenkins comes with over 80 installed plugins - including the complete suite needed to support all of the features of Jenkins Job Builder (which is also included).  Jenkins Job builder takes templatised YAML and generates (posts) jobs and views onto your Jenkins server.

Gerrit is a full Git server and a source-code review system.  It was developed by Google and is used within the Android project.  The git-review workflow process is the prescribed OpenStack way that developers develop and push code against Git branches.

Zuul is a gatekeeper to automagically test your Git branches to ensure you're not merging broken code.  Zuul can manage, merge, promote your Git branches.  It can also gate across Git projects.

NodePool scales and manages clusters of Jenkins slaves.  Nodepool has an EC2 driver and it is quite simple to configure pools of EC2 instances as your Jenkins cluster.

 

USAGE

All our our AMI\'s have ec2-user with root sudo access, and to log onto your running instance with your X509 keypair:

$ ssh -i <your aws key>.pem

VMWare and KVM images can also directly log onto systems using root, whose password is pa55word (you should change this ASAP).  You may set a root password on a Marketplace instance to log in directly as root.

All services are set up as a standard service.  The Jenkins user is admin, also with the default password is the instance id.  Unfortunately, we cannot automatically set up integrations between Jenkins, Zuul, and Gerrit as this requires setting up ssh keys for these various users and the AWS scanner then flags the AMI as insecure.

There are also both up2date and yum, which gives you access to an amazing range of other extensions and modules via  your subscription to our Cloud channel. For patches, updates and large numbers of additional packages, you need to create an account and edit your yum login credentials:

$ vi /etc/yum.repos.d/bastion.repo

BastionLinux™ systems use monit to manage, watchdog, restart background services. To understand what services are (and should be) running, simply:

$ monit summary

 

SYSTEM SPECIFICATION

The initial file system size is 10Gb.  This is an x86_64 AMI, and you'll need a couple of GB RAM - we recommend at least a m1.large instance and quite an amount of storage if you're intending to run a lot of Jenkins jobs - these logs can take up a lot of space.

 

APPLICATION LOGIN

We have only exposed the Jenkins Web UI on the https port. 
You may open the Gerrit/SSH port (29418) - but you'll have to configure Gerrit's authentication, and post user's ssh keys into their profiles in order to use git.  Gerrit is quite a sophisticated software suite, and you're advised to familiarise yourself with the documentation.
We are unable to advance-configure Zuul to integrate with Jenkins and Gerrit as this involves ssh keys on the filesystem.  Zuul, too, is a sophisticated suite and you should refer to the documentation for Zuul and Nodepool.
 

AUTHOR

Last Bastion Network

 

OTHER AMI IMAGES

These may be found on The Cloud Market.

 

SEE ALSO

http://linux.last-bastion.net/LBN/up2date/cloud/25

http://jenkins-ci.org

https://gerrit.googlesource.com

https://zuul-ci.org

Document Actions