示例#1
0
        public static bool PulumiPreview(this ICakeContext context, PulumiPreviewSettings settings)
        {
            var runner = new PulumiPreviewRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.Run(settings);
            return(runner.HasChanges);
        }
示例#2
0
        public static string PulumiPreview(this ICakeContext context, PulumiPreviewSettings settings)
        {
            var runner = new PulumiPreviewRunner(context.FileSystem, context.Environment, context.ProcessRunner,
                                                 context.Tools);

            runner.Run(Set(settings));
            return(runner.StdOut);
        }