UNCLASSIFIED

"dd3e39bc5c9dc2cbec6d57c4685c289f30581f6f/README.md" did not exist on "dd3e39bc5c9dc2cbec6d57c4685c289f30581f6f"
README.md 1.23 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
# gitlab-toolbox-container

Gitlab Toolbox is an entry point for interaction with other containers in the cluster. It contains scripts for running Rake tasks, backup, restore, and tools to intract with object storage.

## GitLab Build

The hardened containers for GitLab require the gitlab correctly version assets blob to be available for download.

There are some included scripts to make this easier for user building images offline on their machine.


## Building

1. Switch to the desired versioned directory
2. Run `./build-scripts/build.sh`
   * Runs docker build, and takes care of setting the appropriate build args for users running locally


`build-script/build.sh` is provided as an example and helpful for building locally. You can also instead call docker build and pass build-args directly.

## Build Phases

Some of the GitLab containers are build ontop of previous containers, building the containers in ordered phases is necessary to build all containers.

- Phase One
  * kubectl
  * gitlab-ruby
  * gitlab-container-registry
- Phase Two
  * git-base
  * gitlab-exporter
  * gitlab-mailroom
  * gitlab-shell
  * gitlab-rails
  * gitlab-workhorse
- Phase 3
  * gitaly
- Phase 4
  * gitlab-sidekiq
  * gitlab-toolbox
  * gitlab-webservice