From fbc13ea6dc59096764a28450145cd80b2a524d67 Mon Sep 17 00:00:00 2001 From: Antoine Legrand Date: Wed, 21 Dec 2016 09:27:21 +0100 Subject: [PATCH 1/2] Use preemptible instances --- tests/cloud_playbooks/create-gce.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/cloud_playbooks/create-gce.yml b/tests/cloud_playbooks/create-gce.yml index fe8bad77a..9ad0deb04 100644 --- a/tests/cloud_playbooks/create-gce.yml +++ b/tests/cloud_playbooks/create-gce.yml @@ -24,6 +24,7 @@ instance_names: "{{instance_names}}" machine_type: "{{ cloud_machine_type }}" image: "{{ cloud_image }}" + preemptible: yes service_account_email: "{{ gce_service_account_email }}" pem_file: "{{ gce_pem_file | default(omit)}}" credentials_file: "{{gce_credentials_file | default(omit)}}" From 9885fe73dc227d8a051fb9d5ba4ca875b460ae75 Mon Sep 17 00:00:00 2001 From: Antoine Legrand Date: Wed, 21 Dec 2016 10:59:20 +0100 Subject: [PATCH 2/2] use standard vm --- tests/cloud_playbooks/create-gce.yml | 2 +- tests/cloud_playbooks/delete-gce.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/cloud_playbooks/create-gce.yml b/tests/cloud_playbooks/create-gce.yml index 9ad0deb04..f5a0be573 100644 --- a/tests/cloud_playbooks/create-gce.yml +++ b/tests/cloud_playbooks/create-gce.yml @@ -3,7 +3,7 @@ become: false gather_facts: no vars: - cloud_machine_type: g1-small + cloud_machine_type: n1-standard-1 mode: default tasks: diff --git a/tests/cloud_playbooks/delete-gce.yml b/tests/cloud_playbooks/delete-gce.yml index be2137a3c..5f9676b36 100644 --- a/tests/cloud_playbooks/delete-gce.yml +++ b/tests/cloud_playbooks/delete-gce.yml @@ -23,6 +23,7 @@ gce: instance_names: "{{instance_names}}" machine_type: "{{ cloud_machine_type }}" + preemptible: yes image: "{{ cloud_image }}" service_account_email: "{{ gce_service_account_email }}" pem_file: "{{ gce_pem_file | default(omit)}}"