Skip to content

MRPHS-5166 : GCP cloud creation via c3ntry <DO NOT MERGE>#106

Open
deepali-gunwant wants to merge 1 commit intomasterfrom
gcp-cloud
Open

MRPHS-5166 : GCP cloud creation via c3ntry <DO NOT MERGE>#106
deepali-gunwant wants to merge 1 commit intomasterfrom
gcp-cloud

Conversation

@deepali-gunwant
Copy link

Jira-id

https://apporbit.atlassian.net/browse/MRPHS-5166

Problem
We need to support GCP cloud creation via c3ntry. In the new version of cloud creation keeper installation will be done via packer.

Resolution

  1. Created startup script which will install keeper plus some pre-req need to execute on gcp vms.
  2. Added code for zone, region, project, image, net/subnet listing.

Testing
In progress

@deepali-gunwant deepali-gunwant changed the title MRPHS-5166 : GCP cloud creation via c3ntry MRPHS-5166 : GCP cloud creation via c3ntry <DO NOT MERGE> Apr 5, 2018
ClientEmail string `json:"client_email"`
ClientId string `json:"client_id"`
// AccountFile represents the structure of the account file JSON file.
type AccountFile struct {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any specific reason to expose the struct ?

Region: regionName,
Status: zone.Status,
})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete extra line.

}

// Packer visor image config for GCP cloud
type VisorImageConfig struct {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PackerConfig ?

}

// Packer visor image config for GCP cloud
type GcpConfig struct {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GcpPackerConfig ?

}

// Creates a visor image config required for packer
func (vm *VM) CreateVisorImageConfig(accountFile, packerConf string) ([]byte, error) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we return only the gcp builder here and merge where we are dumping this in a file (c3ntry) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants