Skip to content

Commit

Permalink
Add support for fetching a p-o-i review in progress
Browse files Browse the repository at this point in the history
Change-Id: Ibab2d695ad632ee3e43967334c7a194a254757f6
  • Loading branch information
David Moreau-Simard committed Jul 19, 2016
1 parent 734fb96 commit 7fc70bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion defaults/main.yml
Expand Up @@ -19,7 +19,7 @@ project: "puppet-openstack"
version: "master"

manage_repos: "false"
repository: "https://github.com/openstack/puppet-openstack-integration.git"
repository: "https://git.openstack.org/openstack/puppet-openstack-integration"
clone_path: "/tmp/puppet-openstack"

puppet_workspace: "{{ log_destination |default('/var/log/weirdo') }}/puppet-openstack"
Expand Down
7 changes: 7 additions & 0 deletions tasks/setup.yml
Expand Up @@ -20,6 +20,13 @@
repo: "{{ repository }}"
dest: "{{ clone_path }}"
version: "{{ version }}"
- name: Fetch and pull a review in progress
git:
repo: "{{ repository }}"
dest: "{{ clone_path }}"
refspec: "{{ refspec }}"
version: "FETCH_HEAD"
when: refspec is defined
- name: Create bundled gems directory
file:
path: "{{ clone_path }}/.bundled_gems"
Expand Down

0 comments on commit 7fc70bd

Please sign in to comment.