From a202c74e5a84770a279c1ab147e487697bd91e3a Mon Sep 17 00:00:00 2001 From: Alex Katz Date: Tue, 19 May 2020 11:29:45 +0300 Subject: [PATCH] Set default git version This is required for test execution not to fail because of the plugin doesn't perform checkout from git Change-Id: I57a327e1888c6910a76eda9257cd47a774f225ba --- infrared_plugin/roles/tobiko-ir-init/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrared_plugin/roles/tobiko-ir-init/tasks/main.yaml b/infrared_plugin/roles/tobiko-ir-init/tasks/main.yaml index f5898f082..d58b835e5 100644 --- a/infrared_plugin/roles/tobiko-ir-init/tasks/main.yaml +++ b/infrared_plugin/roles/tobiko-ir-init/tasks/main.yaml @@ -12,7 +12,7 @@ vars: deploy_dir: '{{ tobiko_src_dir | realpath }}' deploy_git_repo: '{{ tobiko_git_repo }}' - deploy_git_version: "{{ tobiko_git_version | default('') }}" + deploy_git_version: "{{ tobiko_git_version | default('HEAD') }}" deploy_git_refspec: "{{ tobiko_git_refspec | default('') }}" deploy_git_remote: '{{ tobiko_git_remote | default(omit) }}' when: create_tobiko_dir is changed