CORD-2477 Do not build core models with corebuilder
Change-Id: I72fcb4e521d1fd912bd891a6d6e55601ba11d7f1
diff --git a/roles/xos-core-build/tasks/main.yml b/roles/xos-core-build/tasks/main.yml
index 23d80f1..f2bb0b3 100644
--- a/roles/xos-core-build/tasks/main.yml
+++ b/roles/xos-core-build/tasks/main.yml
@@ -19,7 +19,7 @@
- name: Intialize recipe list
set_fact:
- recipes: ['/opt/cord/orchestration/xos/xos/core/core-onboard.yaml']
+ recipes: []
- name: Check to see which recipes exist
stat:
@@ -66,6 +66,7 @@
-v {{ build_cord_dir ~ "/orchestration/xos/containers/xos/BUILD" | realpath }}:/opt/xos_corebuilder/BUILD
xosproject/xos-corebuilder:{{ build_docker_tag }}
{{ recipes_string }}
+ when: recipes_string != ""
tags:
- skip_ansible_lint # running a build task