Exemplo n.º 1
0
        private Bundle PushBundleForSubdirectory(ApplicationSetRevision applicationSetRevision, DirectoryInfo subdirectory, string bucket)
        {
            var bundle = new Bundle(
                applicationSetRevision.ApplicationSetName,
                subdirectory,
                applicationSetRevision.Version,
                bucket,
                null,
                applicationSetRevision.StackName);

            bundle.Push(_s3Client, _codeDeployClient);

            return bundle;
        }
Exemplo n.º 2
0
 public void DeploymentManifestAllowsInstances()
 {
     var dir = ExampleRevisions.BundleDirectory("HelloWorld-1.2.3", "WebLayer");
     var bundle = new Bundle("HelloWorld-1.2.3", dir, "SomeVersion", "SomeBucket", "SomeETag", "SomeStackName");
     Assert.That(bundle.TargetsAutoScalingDeploymentGroup, Is.False);
 }