Setting up on fresh Proxmox cluster/server
Pre-requisites
- Proxmox cluster or at least one server/node
- Ability to SSH to Proxmox server with root user, or
- Internet access on Proxmox server
Create templates
First create template VMs using Bash script:
- use
scpto copy create-prox-template.sh file to host - SSH to proxmox node and
cdto location of uploaded script as per above - run script
Create First VM
- use
scpto transfer create-prox-vm.sh file to host - SSH to proxmox node and
cdto location of uploaded script as per above - run script to create the first VM
SSH to new VM and configure it as Gitlab Runner
- script:
- install:
libguestfs-toolsandansible - install Gitlab Runner
- join Gitlab Runner to your Gitlab instance (public free tier works as well)
- and enable it as shared runner for all your projects
- install: