예제 #1
0
        private Task <bool> DeployAppBundleAsync(
            string stageDirectory,
            string version,
            bool promote,
            GCloudContext context,
            Action <string> outputAction)
        {
            string appYamlPath = Path.Combine(stageDirectory, AppEngineConfiguration.AppYamlName);

            return(context.DeployAppAsync(appYamlPath, version, promote, outputAction));
        }
예제 #2
0
        public async Task TestDeployAppAsync_RunsGcloudAppDeploy()
        {
            await _objectUnderTest.DeployAppAsync(DefaultAppYamlPath, DefaultVersion, false, _mockedOutputAction);

            VerifyCommandArgsContain("app deploy");
        }