Skip to content

Commit

Permalink
add more sensible fields to mock saved config
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Jones committed Mar 29, 2019
1 parent 914e430 commit 86482ef
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions concourse/client_deploy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ var _ = Describe("client", func() {
AvailabilityZone: "eu-west-1a",
ConcoursePassword: "s3cret",
ConcourseUsername: "admin",
ConcourseWebSize: "medium",
ConcourseWorkerCount: 1,
ConcourseWorkerSize: "large",
Deployment: "control-tower-happymeal",
DirectorHMUserPassword: "original-password",
DirectorMbusPassword: "original-password",
Expand Down Expand Up @@ -189,19 +192,22 @@ ZSFal6ECgYBDXbrmvF+G5HoASez0WpgrHxf3oZh+gP40rzwc94m9rVP28i8xTvT9
5SrvtzwjMsmQPUM/ttaBnNj1PvmOTTmRhXVw5ztAN9hhuIwVm8+mECFObq95NIgm
sWbB3FCIsym1FXB+eRnVF3Y15RwBWWKA5RfwUNpEXFxtv24tQ8jrdA==
-----END RSA PRIVATE KEY-----`,
Project: "happymeal",
PublicKey: "example-public-key",
RDSInstanceClass: "db.t2.medium",
RDSPassword: "s3cret",
RDSUsername: "admin",
Region: "eu-west-1",
Spot: true,
TFStatePath: "example-path",
Project: "happymeal",
PublicKey: "example-public-key",
RDSDefaultDatabaseName: "bosh_abcdefgh",
RDSInstanceClass: "db.t2.medium",
RDSPassword: "s3cret",
RDSUsername: "admin",
Region: "eu-west-1",
Spot: true,
TFStatePath: "example-path",
//These come from fixtures/director-creds.yml
CredhubUsername: "credhub-cli",
CredhubPassword: "f4b12bc0166cad1bc02b050e4e79ac4c",
CredhubAdminClientSecret: "hxfgb56zny2yys6m9wjx",
CredhubCACert: "-----BEGIN CERTIFICATE-----\nMIIEXTCCAsWgAwIBAgIQSmhcetyHDHLOYGaqMnJ0QTANBgkqhkiG9w0BAQsFADA4\nMQwwCgYDVQQGEwNVU0ExFjAUBgNVBAo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CDajh8n9cp4KvGkQmB+X7DE1\nR6AXG4EN9xn91TFrqmFFNOrFtoAjtag05q/HoqMhFFVeg+JTpsPshFjlWIkzwqKx\npn68KG2ztgS0KeDraGKwItTKengTCr/VkgorXnhKcI1C6C5iRXZp3wREu8RO+wRe\nKSGbsYIHaFxd3XwW4JnsW+hes/W5MZX01wkwOLrktf85FjssBZBavxBbyFag/LvS\n8oULOZRLYUkuElM+0Wzf8ayB574Fd97gzCVzWoD0Ei982jAdbEfk77PV1TvMNmEn\n3M6ktB7GkjuD9OL12iNzxmbQe7p1WkYYps9hK4r0pbyxZPZlPMmNNZo579rywDjF\nwEW5QkylaPEkbVDhJWeR1I8=\n-----END CERTIFICATE-----\n",
VMProvisioningType: "spot",
WorkerType: "m4",
}
})

Expand Down

0 comments on commit 86482ef

Please sign in to comment.