From c456a311d6e28d7b153c48f07e2a49efcf0c9eeb Mon Sep 17 00:00:00 2001
From: Bogdan Dobrelya <bdobrelia@mirantis.com>
Date: Tue, 20 Dec 2016 17:32:33 +0100
Subject: [PATCH] Add coreos-alpha weave manual CI builds

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
---
 .gitlab-ci.yml     | 20 +++++++++++++++++++-
 docs/test_cases.md |  1 +
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 94d0ed2b9..5874fc974 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -194,6 +194,14 @@ before_script:
   CLOUD_REGION: europe-west1-b
   CLUSTER_MODE: ha
 
+.coreos_alpha_weave_ha_variables: &coreos_alpha_weave_ha_variables
+# stage: deploy-gce-special
+  KUBE_NETWORK_PLUGIN: weave
+  CLOUD_IMAGE: coreos-alpha
+  CLOUD_REGION: us-west1-a
+  CLUSTER_MODE: ha
+  BOOTSTRAP_OS: coreos
+
 # Builds for PRs only (auto)
 coreos-calico-sep:
   stage: deploy-gce-part1
@@ -355,7 +363,17 @@ centos7-calico-ha-triggers:
   when: on_success
   only: ['triggers']
 
-#TODO(bogdando) add coreos-weave and *triggers
+# no triggers yet https://github.com/kubernetes-incubator/kargo/issues/613
+coreos-alpha-weave-ha:
+  stage: deploy-gce-special
+  <<: *job
+  <<: *gce
+  variables:
+    <<: *gce_variables
+    <<: *coreos_alpha_weave_ha_variables
+  when: manual
+  except: ['triggers']
+  only: ['master', /^pr-.*$/]
 
 syntax-check:
   <<: *job
diff --git a/docs/test_cases.md b/docs/test_cases.md
index 52175418c..20b052861 100644
--- a/docs/test_cases.md
+++ b/docs/test_cases.md
@@ -49,5 +49,6 @@ GCE instances
 |             special|               canal|              rhel-7|          us-east1-b|           separated|
 |             special|               weave|  ubuntu-1604-xenial|       us-central1-b|           separated|
 |             special|              calico|            centos-7|      europe-west1-b|                  ha|
+|             special|               weave|        coreos-alpha|          us-west1-a|                  ha|
 
 The "Stage" means a build step of the build pipeline. The steps are ordered as `part1->part2->special`.
-- 
GitLab