Skip to content

rabbids-incubator/packer-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packer templates

pipeline status

Packer templates to build and publish machines images.

How to use

Vagrant boxes

System Package name Box base image Added value
Ubuntu 20.04 (Focal) x64 rabbidsincubator/ubuntu2004x64 generic/ubuntu2004 Packages up-to-date
Ubuntu 18.04 (Bionic) x64 rabbidsincubator/ubuntu1804x64 hashicorp/bionic64 Packages up-to-date
  • Reference the image in the Vagrantfile
# gets locally the vagrant boxes from the remote Vagrant repository (artifactory)
vagrant box add "https://devpro.jfrog.io/artifactory/api/vagrant/rabbidsincubator-vagrant/rabbidsincubator%2Fubuntu2004x64"
vagrant box add "https://devpro.jfrog.io/artifactory/api/vagrant/rabbidsincubator-vagrant/rabbidsincubator%2Fubuntu1804x64"

# creates Vagrantfile on a specific version
vagrant init rabbidsincubator/ubuntu1804x64

# starts the machine
vagrant up

# cleans up
vagrant destroy -f
rm -r .vagrant/
rm Vagrantfile

How to contribute

Template folder Image type System
vagrant-ubuntu Vagrant box Ubuntu

How to run locally the GitLab pipeline

mkdir -p .gitlab/runner/local
docker run --rm --name gitlab-runner -v /var/run/docker.sock:/var/run/docker.sock -v $PWD/.gitlab/runner/local/config:/etc/gitlab-runner -v $PWD:$PWD --workdir $PWD gitlab/gitlab-runner exec shell ci

About

Packer templates to build and publish machines images

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published