Skip to content

Latest commit

 

History

History
104 lines (73 loc) · 4.17 KB

gitlab.md

File metadata and controls

104 lines (73 loc) · 4.17 KB

References

My Installation

See https://about.gitlab.com/install/#ubuntu

Minimum KVM Settings

4 Cores x 8GB

Docs

CI References

Python Packages

Blogs & Videos

Python Private Packages

Ansible

Terraform

Also see Gitlab Terraform Images and GitLab CI template for Terraform

CI Configuration

This uses tags and specifies a docker image

NOTE tags are specified in each stage not for the entire .yml file

See https://docs.gitlab.com/ee/ci/variables/ and https://docs.gitlab.com/ee/ci/yaml/ and https://docs.gitlab.com/ee/ci/yaml/#needs

variables:
  REGION: us-east-2
image: debian
before_script:
  - echo "Before script section"
  - echo "For example you might run an update here or install a build dependency"
  - echo "Or perhaps you might print out some debugging details"

after_script:
  - echo "After script section"
  - echo "For example you might do some cleanup here"

build:
  stage: build
  tags:
    - docker
  script:
    - echo "Do your build here"
    - export

test:
  stage: test
  tags:
    - arm64
  script:
    - echo "Do a test here"
    - echo "For example run a test suite"

Runners

Self Hosting Junk

  • 2 vCPUs and 8GB RAM is minimum resources

Save the stuff in /etc/gitlab after the initial install

root@gitlab16:/etc/gitlab# ls
gitlab-secrets.json  gitlab.rb  initial_root_password  trusted-certs