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 ¶
- type AdditionalResource
- type DBName
- type Deployment
- func (d *Deployment) CreateAtcJob() (job *enaml.InstanceJob)
- func (d *Deployment) CreateBaggageClaimJob() (job *enaml.InstanceJob)
- func (d *Deployment) CreateDatabaseInstanceGroup() (db *enaml.InstanceGroup, err error)
- func (d *Deployment) CreateGardenJob() (job *enaml.InstanceJob)
- func (d *Deployment) CreateGroundCrewJob() (job *enaml.InstanceJob)
- func (d *Deployment) CreateNetwork() (network enaml.Network)
- func (d *Deployment) CreatePostgresqlJob() (job *enaml.InstanceJob)
- func (d *Deployment) CreateTsaJob() (job *enaml.InstanceJob)
- func (d *Deployment) CreateUpdate() (update enaml.Update)
- func (d *Deployment) CreateWebInstanceGroup() (web *enaml.InstanceGroup, err error)
- func (d *Deployment) CreateWorkerInstanceGroup() (worker *enaml.InstanceGroup, err error)
- func (d Deployment) GetDeployment() enaml.DeploymentManifest
- func (d *Deployment) Initialize(cloudConfig []byte) error
- type Garden
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalResource ¶ added in v1.0.8
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 (*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 -