concourse

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

README

Concourse omg plugin

This plugin extends omg to be able to deploy the Concourse product.

Download OMG

https://github.com/enaml-ops/omg-cli/releases/latest

Download Concourse Plugin

https://github.com/enaml-ops/omg-product-bundle/releases/latest

Don't forget to make the plugin executable before installing it.

Install Plugin

omg register-plugin -type product -pluginpath ./concourse-plugin

Verify installation with:

omg list-products

Deploy Concourse

./omg-osx deploy-product \
--bosh-url <bosh-url> \
--bosh-port 25555 \
--bosh-user <bosh-user> \
--bosh-pass <bosh-pwd> \
--ssl-ignore \
--print-manifest \
concourse-plugin-osx \
--web-vm-type medium \
--web-ip 192.168.10.31 \
--web-ip 192.168.10.32 \
--external-url http://10.0.100.1:8080 \
--worker-vm-type large.cpu \
--database-vm-type large.cpu \
--network-name concourse \
--concourse-username concourse \
--az z1 \
--database-storage-type medium \
--worker-instance-count 2

Tips and tricks

  • Set LOG_LEVEL=debug for verbose output

  • Add the --print-manifest flag to see the manifest you are about to deploy:

    omg deploy-product --print-manifest ...

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalResource added in v1.0.8

type AdditionalResource struct {
	Type  string `yaml:"type"`
	Image string `yaml:"image"`
}

AdditionalResource - struct that is used for adding additional resources

type DBName

type DBName struct {
	Name     string `yaml:"name,omitempty"`
	Role     string `yaml:"role,omitempty"`
	Password string `yaml:"password,omitempty"`
}

DBName -

type Deployment

type Deployment struct {
	ConcourseURL            string
	ConcourseUserName       string
	ConcoursePassword       string
	NetworkName             string
	WebIPs                  []string
	AZs                     []string
	WorkerInstances         int
	DeploymentName          string
	PostgresPassword        string
	WebVMType               string `omg:"web-vm-type"`
	WorkerVMType            string
	DatabaseVMType          string
	DatabaseStorageType     string
	ConcourseReleaseVer     string
	ConcourseReleaseURL     string
	ConcourseReleaseSHA     string
	StemcellVersion         string
	StemcellAlias           string
	StemcellOS              string
	GardenReleaseVer        string
	GardenReleaseURL        string
	GardenReleaseSHA        string
	TLSCert                 string
	TLSKey                  string
	HTTPProxyURL            string
	HTTPSProxyURL           string
	NoProxy                 []string
	AdditionalResourceTypes []string
	// contains filtered or unexported fields
}

Deployment -

func NewDeployment

func NewDeployment() (d Deployment)

NewDeployment -

func (*Deployment) CreateAtcJob

func (d *Deployment) CreateAtcJob() (job *enaml.InstanceJob)

CreateAtcJob -

func (*Deployment) CreateBaggageClaimJob

func (d *Deployment) CreateBaggageClaimJob() (job *enaml.InstanceJob)

CreateBaggageClaimJob -

func (*Deployment) CreateDatabaseInstanceGroup

func (d *Deployment) CreateDatabaseInstanceGroup() (db *enaml.InstanceGroup, err error)

CreateDatabaseInstanceGroup -

func (*Deployment) CreateGardenJob

func (d *Deployment) CreateGardenJob() (job *enaml.InstanceJob)

CreateGardenJob -

func (*Deployment) CreateGroundCrewJob

func (d *Deployment) CreateGroundCrewJob() (job *enaml.InstanceJob)

CreateGroundCrewJob -

func (*Deployment) CreateNetwork

func (d *Deployment) CreateNetwork() (network enaml.Network)

CreateNetwork -

func (*Deployment) CreatePostgresqlJob

func (d *Deployment) CreatePostgresqlJob() (job *enaml.InstanceJob)

CreatePostgresqlJob -

func (*Deployment) CreateTsaJob

func (d *Deployment) CreateTsaJob() (job *enaml.InstanceJob)

CreateTsaJob -

func (*Deployment) CreateUpdate

func (d *Deployment) CreateUpdate() (update enaml.Update)

CreateUpdate -

func (*Deployment) CreateWebInstanceGroup

func (d *Deployment) CreateWebInstanceGroup() (web *enaml.InstanceGroup, err error)

CreateWebInstanceGroup -

func (*Deployment) CreateWorkerInstanceGroup

func (d *Deployment) CreateWorkerInstanceGroup() (worker *enaml.InstanceGroup, err error)

CreateWorkerInstanceGroup -

func (Deployment) GetDeployment

func (d Deployment) GetDeployment() enaml.DeploymentManifest

GetDeployment -

func (*Deployment) Initialize

func (d *Deployment) Initialize(cloudConfig []byte) error

Initialize -

type Garden

type Garden struct {
	Garden interface{} `yaml:"garden,omitempty"`
}

Garden -

Directories

Path Synopsis
cmd
enaml-gen
atc
tsa

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL