Skip to content

Jenkins and Spinnaker CI/CD tools provisioned with Vagrant and Ansible on Ubuntu 22.04 LTS

Notifications You must be signed in to change notification settings

ashleykleynhans/vagrant-jenkins-spinnaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-jenkins-spinnaker

Supports Spinnaker v1.28.1 and higher, and Halyard v1.51.0 and higher.

Provision Jenkins and Spinnaker for CI/CD using Vagrant and Ansible.

Supports amd64 on Virtualbox and arm64 on Parallels (for Apple Silicon).

Requirements

At least the following hardware resources will be required on the host machine that will be running the VirtualBox guest VMs:

VM CPU Memory
jenkins 2 2GB
spinnaker 2 6GB
TOTAL 4 8GB

Clone the GitHub Repository

Run the following command from the terminal to clone the GitHub Repository:

git clone https://github.com/ashleykleynhans/vagrant-jenkins-spinnaker.git

Check out the branch for your required Virtualization type

VirtualBox (amd64) - Generic

git checkout virtualbox

Parallels (arm64) - Apple Silicon

git checkout parallels

To use the Parallels Vagrant provider, you will need to install the Parallels Vagrant plugin, and Parallels Virtualization SDK.

vagrant plugin install vagrant-parallels
brew install --cask parallels-virtualization-sdk
sudo ln -s /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prlsdkapi.pth /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/prlsdkapi.pth

Install Required Software

Begin by installing the homebrew package manager, which works on both Mac and Ubuntu Linux. May work on other Linux distributions but has not bee n tested.

Run the following command from the terminal to install homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

All of the remaining software can be installed by cloning the git repository and running the setup script provided.

Run the setup script from the terminal to install the required software:

./setup.sh

Managing the Stack

Begin by ensuring that you are in the directory which the Github Repository was cloned to:

cd vagrant-jenkins-spinnaker

Starting the Stack

vagrant up

Stopping the Stack

vagrant halt

Deleting the Stack

vagrant destroy -f

Community and Contributing

Pull requests and issues on GitHub are welcome. Bug fixes and new features are encouraged.

Appreciate my work?

Buy Me A Coffee

About

Jenkins and Spinnaker CI/CD tools provisioned with Vagrant and Ansible on Ubuntu 22.04 LTS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published