Git checkout version support for several projects

Kolla-ansible provides support for the dev mode for some projects
of openstack, but there are still some projects that do not yet
support specific release tag. This patch will implement this function
for these project.

Change-Id: I917b27dd61295b542457a21b240afe2cd4e83e58
This commit is contained in:
howardlee 2018-10-03 15:30:06 +08:00
parent 5beece2503
commit 8b292c99bf
6 changed files with 7 additions and 0 deletions

View File

@ -77,3 +77,4 @@ freezer_git_repository: "{{ kolla_dev_repos_git }}/{{ project_name }}"
freezer_api_git_repository: "{{ kolla_dev_repos_git }}/freezer-api" freezer_api_git_repository: "{{ kolla_dev_repos_git }}/freezer-api"
freezer_dev_repos_pull: "{{ kolla_dev_repos_pull }}" freezer_dev_repos_pull: "{{ kolla_dev_repos_pull }}"
freezer_dev_mode: "{{ kolla_dev_mode }}" freezer_dev_mode: "{{ kolla_dev_mode }}"
freezer_source_version: "{{ kolla_source_version }}"

View File

@ -4,9 +4,11 @@
repo: "{{ freezer_git_repository }}" repo: "{{ freezer_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}" dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"
update: "{{ freezer_dev_repos_pull }}" update: "{{ freezer_dev_repos_pull }}"
version: "{{ freezer_source_version }}"
- name: Cloning freezer-api source repository for development - name: Cloning freezer-api source repository for development
git: git:
repo: "{{ freezer_api_git_repository }}" repo: "{{ freezer_api_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/freezer-api" dest: "{{ kolla_dev_repos_directory }}/freezer-api"
update: "{{ freezer_dev_repos_pull }}" update: "{{ freezer_dev_repos_pull }}"
version: "{{ freezer_source_version }}"

View File

@ -393,3 +393,4 @@ ovs_bridge: "nsx-managed"
nova_git_repository: "{{ kolla_dev_repos_git }}/{{ project_name }}" nova_git_repository: "{{ kolla_dev_repos_git }}/{{ project_name }}"
nova_dev_repos_pull: "{{ kolla_dev_repos_pull }}" nova_dev_repos_pull: "{{ kolla_dev_repos_pull }}"
nova_dev_mode: "{{ kolla_dev_mode }}" nova_dev_mode: "{{ kolla_dev_mode }}"
nova_source_version: "{{ kolla_source_version }}"

View File

@ -4,3 +4,4 @@
repo: "{{ nova_git_repository }}" repo: "{{ nova_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}" dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"
update: "{{ nova_dev_repos_pull }}" update: "{{ nova_dev_repos_pull }}"
version: "{{ nova_source_version }}"

View File

@ -102,3 +102,4 @@ openstack_trove_auth: "{{ openstack_auth }}"
trove_git_repository: "{{ kolla_dev_repos_git }}/{{ project_name }}" trove_git_repository: "{{ kolla_dev_repos_git }}/{{ project_name }}"
trove_dev_repos_pull: "{{ kolla_dev_repos_pull }}" trove_dev_repos_pull: "{{ kolla_dev_repos_pull }}"
trove_dev_mode: "{{ kolla_dev_mode }}" trove_dev_mode: "{{ kolla_dev_mode }}"
trove_source_version: "{{ kolla_source_version }}"

View File

@ -4,3 +4,4 @@
repo: "{{ trove_git_repository }}" repo: "{{ trove_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}" dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"
update: "{{ trove_dev_repos_pull }}" update: "{{ trove_dev_repos_pull }}"
version: "{{ trove_source_version }}"