Public | Automated Build

Last pushed: 2 months ago
Short Description
gocd-server for continuous integration
Full Description

Go Constinous Delivery Server

The following are the containers used in the docker-compose.yml for the server

Container Docker index Github repo
gocd-server c12e/gocd-server cognitivescale/gocd-server
gocd-agent c12e/gocd-agent cognitivescale/gocd-agent
selenium-hub selenium/slenium-hub SeleniumHQ/docker-selenium
node-chrome selenium/node-chrome SeleniumHQ/docker-selenium
node-firefox selenium/node-firefox SeleniumHQ/docker-selenium
consul gliderlabs/consul-server
registrator gliderlabs/registrator
vault c12e/vault cognitivescale/docker-alpine/vault

How to use?

  1. Install Docker on your directly or via Docker Toolbox
  2. Launch consul/vault/registrator

     cd docker-alpine/baseband
     docker-compose up -d
    
  3. Connect to the vault container and initialize vault

     docker exec -it vault sh
     vault init
     # Write downs the keys and root token YOU WILL NEED these
     vault unseal KEY1
     vault unseal KEY2
     vault unseal KEY3
     vault status
    

    You should see that the vault is unsealed at this point

  4. Writing data to the vault

      export VAULT_TOKEN=<ROOT/Vault TOKEN from #3>
     vault write PATH KEY=VALUE
    

Here is a list of known paths/keys for setup in vault

Path Key(s) Description
secret/gocd rootfs docker exec -it gocdserver_vault_1 sh -c "VAULT_TOKEN=<TOKEN> vault write /secret/gocd rootfs=$(base64 root.tgz)" tore a tar of secrets
  1. Start the gocd compose file..

      cd gocd-server
      export VAULT_TOKEN=<ROOT/Vault TOKEN from #3>
      docker-compose up -d
    
Docker Pull Command
Owner
c12e
Source Repository

Comments (0)