From b96b579ff4d4b4c8997aac3927aab2ae8d62d5a0 Mon Sep 17 00:00:00 2001 From: Scott Bloch-Wehba-Seaward <34253460+sbwsg@users.noreply.github.com> Date: Thu, 21 Dec 2017 12:25:49 -0500 Subject: [PATCH] feat(provider/appengine): enable flex deployments (#2241) Allow App Engine deployments with a built container image and app.yaml. --- .../DeployAppengineDescription.groovy | 1 + .../ops/DeployAppengineAtomicOperation.groovy | 40 +++++++++++++++++-- ...DeployAppengineDescriptionValidator.groovy | 11 ++++- 3 files changed, 46 insertions(+), 6 deletions(-) diff --git a/clouddriver-appengine/src/main/groovy/com/netflix/spinnaker/clouddriver/appengine/deploy/description/DeployAppengineDescription.groovy b/clouddriver-appengine/src/main/groovy/com/netflix/spinnaker/clouddriver/appengine/deploy/description/DeployAppengineDescription.groovy index 11c1958e117..572629739ce 100644 --- a/clouddriver-appengine/src/main/groovy/com/netflix/spinnaker/clouddriver/appengine/deploy/description/DeployAppengineDescription.groovy +++ b/clouddriver-appengine/src/main/groovy/com/netflix/spinnaker/clouddriver/appengine/deploy/description/DeployAppengineDescription.groovy @@ -37,4 +37,5 @@ class DeployAppengineDescription extends AbstractAppengineCredentialsDescription List configFiles Boolean promote Boolean stopPreviousVersion + String containerImageUrl // app engine flex only } diff --git a/clouddriver-appengine/src/main/groovy/com/netflix/spinnaker/clouddriver/appengine/deploy/ops/DeployAppengineAtomicOperation.groovy b/clouddriver-appengine/src/main/groovy/com/netflix/spinnaker/clouddriver/appengine/deploy/ops/DeployAppengineAtomicOperation.groovy index ee5320e23da..269c244aa92 100644 --- a/clouddriver-appengine/src/main/groovy/com/netflix/spinnaker/clouddriver/appengine/deploy/ops/DeployAppengineAtomicOperation.groovy +++ b/clouddriver-appengine/src/main/groovy/com/netflix/spinnaker/clouddriver/appengine/deploy/ops/DeployAppengineAtomicOperation.groovy @@ -53,21 +53,32 @@ class DeployAppengineAtomicOperation implements AtomicOperation def deployCommand = ["gcloud"] @@ -158,6 +187,9 @@ class DeployAppengineAtomicOperation implements AtomicOperation