Ejemplo n.º 1
0
        public void atlas_delivery_service_dockerfile_works()
        {
            const string repo          = "atlas-deliveryservice";
            var          dockerUtility = new DockerUtility(_workingDirectory);

            dockerUtility.Prune();
            dockerUtility.BuildImage(repo, @"P97.Atlas.Federation.DeliveryService.Microservice\Containers\Dockerfile_Linux");
            List <string> images = dockerUtility.GetRepos();

            dockerUtility.Prune();

            Assert.IsTrue(images.Contains(repo));
        }
Ejemplo n.º 2
0
        public void atlas_sapporo_dockerfile_works()
        {
            const string repo          = "atlas-sapporo";
            var          dockerUtility = new DockerUtility(_workingDirectory);

            dockerUtility.Prune();
            dockerUtility.BuildImage(repo, @"P97.Atlas.States.Sapporo.Microservice\Containers\Dockerfile_Linux");
            List <string> images = dockerUtility.GetRepos();

            dockerUtility.Prune();

            Assert.IsTrue(images.Contains(repo));
        }
        public void snowmanmaterialsupplier_dockerfile_works()
        {
            const string repo          = SnowmanMaterialSupplier.Microservice.Surface.Definitions.UriInfo.ServiceName;
            var          dockerUtility = new DockerUtility(_workingDirectory);

            dockerUtility.Prune();
            dockerUtility.BuildImage(repo, @"P97.SnowmanMaterialSupplier.Microservice\Containers\Dockerfile_Linux");
            List <string> images = dockerUtility.GetRepos();

            dockerUtility.Prune();

            Assert.IsTrue(images.Contains(repo));
        }