Giter Club home page Giter Club logo

gitlab_docker's Introduction

Purpose

Development environment comprised of a docker composed gitlab deployment with docker runners.

Deployment

  • update .env_template file with your own values (domain name, gitlab root password, etc.) and change the name to .env
    • Makefile will replace #{variables}# in docker-compose.yml with values in .env
  • add the make package to your shell environment and run make main from the root of the project.
    • make main will build the docker images, recreate TLS certs, create the docker network, and start the containers.
  • get runner registration token from gitlab server
  • register the runners by using scripts/runner_registration configuration
    • export the token to your shell before running the script

Runner Additional Configuration

  • add network_mode = "<docker network>" to the runner config file / runner registration script; must match docker-compose network configuration.
    • added to runner registration script.

Gotchas

TODO

  • Add make toolchain to streamline deployment
  • Create certificate authority container
  • Create script to loop through all runners and register them
  • Create bash and powershell executors for gitlab runners
  • Add packer and terraform builders and plugins to gitlab runner
  • Move certificate authority creation logic from scripts to ca container and share via docker volume
  • Remove all secrets from variables.tf and use environment variables substitution, vault api, or gitlab secret variables
  • Add kaniko builder to runner and remove privileged mode

gitlab_docker's People

Contributors

asoa avatar

Stargazers

 avatar

Watchers

 avatar

gitlab_docker's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.