Skip to content

Instantly share code, notes, and snippets.

@Prajithp
Created May 15, 2021 15:15
Show Gist options
  • Select an option

  • Save Prajithp/3bf88aabae546b49f013c4a4fdca7dc4 to your computer and use it in GitHub Desktop.

Select an option

Save Prajithp/3bf88aabae546b49f013c4a4fdca7dc4 to your computer and use it in GitHub Desktop.

Revisions

  1. Prajith created this gist May 15, 2021.
    35 changes: 35 additions & 0 deletions config.toml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,35 @@
    concurrent = 3
    check_interval = 0

    [session_server]
    session_timeout = 1800

    [[runners]]
    name = "awsbastian"
    limit = 10
    url = "https://gitlab.zzzz/"
    token = "xx"
    executor = "docker+machine"
    [runners.docker]
    tls_verify = false
    image = "alpine:3"
    disable_cache = false
    volumes = ["/cache"]
    shm_size = 0
    privileged = true
    [runners.cache]
    Type = "s3"
    Shared = true
    ServerAddress = "s3.amazonaws.com"
    BucketName = "zzzz"
    BucketLocation = "ap-south-1"
    [runners.machine]
    IdleCount = 1
    IdleTime = 180
    MaxBuilds = 5
    MachineDriver = "amazonec2"
    MachineName = "gitlab-docker-machine-%s"
    MachineOptions = ["amazonec2-region=ap-south-1", "amazonec2-vpc-id=vpc-dab983b3", "amazonec2-subnet-id=subnet-30020f59", "amazonec2-private-address-only=true", "amazonec2-use-private-address=true", "amazonec2-tags=runner-manager-name,gitlab-aws-autoscaler,gitlab,true,gitlab-runner-autoscale,true", "amazonec2-security-group=private-sg-ec2-allow-all-int-traffic", "amazonec2-instance-type=m5.large", "amazonec2-request-spot-instance=true", "amazonec2-spot-price="]
    OffPeakTimezone = ""
    OffPeakIdleCount = 0
    OffPeakIdleTime = 0