This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Project : Project({ | |
id("PlatformApps_SJC1_DC1") | |
name = "Region: SJC1 DC1" | |
description = "SJC1 DC1" | |
val vmCanary = Canary( | |
PlatformAppParams( | |
id = "PlatformApps_SJC1_DC1_Canary_VM_Deploy", | |
name = "Deploy Canary VM", | |
templateName = "plat-canary-vm", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (f *Future) WaitForCompletionRef(ctx context.Context, client autorest.Client) error { | |
ctx, cancel := context.WithTimeout(ctx, client.PollingDuration) | |
defer cancel() | |
done, err := f.Done(client) | |
for attempts := 0; !done; done, err = f.Done(client) { | |
if attempts >= client.RetryAttempts { | |
return autorest.NewErrorWithError(err, "Future", "WaitForCompletion", f.pt.latestResponse(), "the number of retries has been exceeded") | |
} | |
// we want delayAttempt to be zero in the non-error case so | |
// that DelayForBackoff doesn't perform exponential back-off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cobra: &cobra.Command{ | |
Use: "create", | |
Short: "create a triton instance", | |
SilenceUsage: true, | |
Args: cobra.NoArgs, | |
PreRunE: func(cmd *cobra.Command, args []string) error { | |
if cfg.GetMachineName() == "" { | |
return errors.New("Name must be specified for Create Instance") | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "##teamcity[buildNumber '%teamcity.agent.name%-go%VERSION%']" | |
cd /mnt/goroots | |
wget https://storage.googleapis.com/golang/go%BUILDVERSION%.linux-amd64.tar.gz | |
tar xzf go%BUILDVERSION%.linux-amd64.tar.gz | |
rm go%BUILDVERSION%.linux-amd64.tar.gz | |
git clone https://go.googlesource.com/go /mnt/goroots/go%VERSION% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
packer-testing % make old-image | |
packer build \ | |
-var "triton_account=stack72_joyent" \ | |
-var "triton_key_id=40:9d:d3:f9:0b:86:62:48:f4:2e:a5:8e:43:00:2a:9b" \ | |
-var "triton_key_material=""" \ | |
-var "image_version=1.0.0" \ | |
-var "source_image="7b5981c4-1889-11e7-b4c5-3f3bdfc9b88b"" \ | |
template.json | |
triton output will be in this color. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<jmeterTestPlan version="1.2" properties="3.2" jmeter="3.2 r1790748"> | |
<hashTree> | |
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true"> | |
<stringProp name="TestPlan.comments"></stringProp> | |
<boolProp name="TestPlan.functional_mode">false</boolProp> | |
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp> | |
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> | |
<collectionProp name="Arguments.arguments"/> | |
</elementProp> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<jmeterTestPlan version="1.2" properties="3.2" jmeter="3.2 r1790748"> | |
<hashTree> | |
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true"> | |
<stringProp name="TestPlan.comments"></stringProp> | |
<boolProp name="TestPlan.functional_mode">false</boolProp> | |
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp> | |
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> | |
<collectionProp name="Arguments.arguments"/> | |
</elementProp> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<jmeterTestPlan version="1.2" properties="3.2" jmeter="3.2 r1790748"> | |
<hashTree> | |
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" enabled="true"> | |
<stringProp name="TestPlan.comments"></stringProp> | |
<boolProp name="TestPlan.functional_mode">false</boolProp> | |
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp> | |
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> | |
<collectionProp name="Arguments.arguments"/> | |
</elementProp> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<jmeterTestPlan version="1.2" properties="3.2" jmeter="3.2 r1790748"> | |
<hashTree> | |
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" enabled="true"> | |
<stringProp name="TestPlan.comments"></stringProp> | |
<boolProp name="TestPlan.functional_mode">false</boolProp> | |
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp> | |
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> | |
<collectionProp name="Arguments.arguments"/> | |
</elementProp> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<jmeterTestPlan version="1.2" properties="3.2" jmeter="3.2 r1790748"> | |
<hashTree> | |
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" enabled="true"> | |
<stringProp name="TestPlan.comments"></stringProp> | |
<boolProp name="TestPlan.functional_mode">false</boolProp> | |
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp> | |
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> | |
<collectionProp name="Arguments.arguments"/> | |
</elementProp> |