Skip to content

Build and configures a custom gitlab runner with docker & kubectl

License

Notifications You must be signed in to change notification settings

niallmccullagh/gitlab-runner-packer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitlab Runner AMI

Packer

Builds and configures an AMI with:

Infra

  • Updates to latest packages and enables auto update of security packages
  • firewall allowing only ssh incoming

Tools

  • docker
  • kubectl
  • aws cli
  • gitlab runner
  • jq
  • docker cleanup jobs

Initialisation

  • Gitlab runner configuration
  • Kubectl configuration setup

See Packer Readme for more details

Terraform

A sample terraform project to show how to deploy the AMI into AWS.

See Terraform Readme for more details

Requirements

Usage

  1. Build the iamge cd packer; packer build -var 'aws_region=us-east-1' template.json. See Packer Readme for more details
  2. Create kube-config file which contains configuration to access your cluster.
  3. Run terrafrom init; terraform apply, set variables, review changes and confirm by typing yes. See Terraform Readme for more details

About

Build and configures a custom gitlab runner with docker & kubectl

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published