Skip to content

the0ffh/pipeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pipeline

Self hosted pipeline

prerequisites:

Ubuntu 20.04

desktop environment, e.g. ubuntu-desktop

VMware Workstation (not VMware Player)

Vagrant

GitHub Actions runner

setting up

  1. ubuntu desktop
apt install ubuntu-desktop
  1. VMware Workstation prerequisites
sudo apt install gcc build-essential
  1. VMware Workstation

https://www.vmware.com/de/products/workstation-pro/workstation-pro-evaluation.html

curl https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-16.1.2-17966106.x86_64.bundle -o VMware-Workstation-Full-16.1.2-17966106.x86_64.bundle
./VMware-Workstation-Full-16.1.2-17966106.x86_64.bundle
  1. Vagrant - DO NOT USE OS PACKAGE MANAGER

https://www.vagrantup.com/docs/installation

  1. Vagrant VMware Utilities

https://www.vagrantup.com/docs/providers/vmware/vagrant-vmware-utility

curl https://releases.hashicorp.com/vagrant-vmware-utility/1.0.20/vagrant-vmware-utility_1.0.20_x86_64.deb -o vagrant-vmware-utility_1.0.20_x86_64.deb
  1. GitHub Actions runner

https://github.com/actions/runner/releases

cd github_actions_runner/actions-runner
curl -o actions-runner-linux-x64-2.278.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.278.0/actions-runner-linux-x64-2.278.0.tar.gz
  1. github_actions_runner/.env
ORGANIZATION=    github organization
REPOSITORY_NAME= github repository name
GITHUB_TOKEN=    github developer token
  1. [OPTIONAL] VMs number ./vagrant/Vagrantfile

replace 5 with desired VMs number

...
  (1..5).each do |i|
    config.vm.define "node-#{i}" do |node|
      node.vm.hostname = "node-#{i}"
...
  1. Deployment
cd ./vagrant
vagrant up

About

self hosted pipeline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%