Merge pull request #15490 from robinro/enable-git-tests-depth-version-again

Revert "Disable new git tests until a fix for rhel6/7 is merged."
This commit is contained in:
Toshio Kuratomi 2016-04-21 07:42:38 -07:00
commit de9e70e590

View file

@ -596,22 +596,17 @@
depth: 1 depth: 1
version: master version: master
### Commented out while @robinro figures out the best fix to the git module. - name: switch to older branch with depth=1 (uses fetch)
### Probably going to disable depth for this operation when on older vresions git:
### of git to address it (of what we test, currently only rhel6/7 are broken repo: '{{ repo_depth_url }}'
### (fedora and ubuntu12+ work) dest: '{{ checkout_dir }}'
depth: 1
version: earlybranch
register: git_fetch
#- name: switch to older branch with depth=1 (uses fetch) - name: ensure the fetch succeeded
# git: assert:
# repo: '{{ repo_depth_url }}' that: git_fetch|success
# dest: '{{ checkout_dir }}'
# depth: 1
# version: earlybranch
# register: git_fetch
#
#- name: ensure the fetch succeeded
# assert:
# that: git_fetch|success
- name: clear checkout_dir - name: clear checkout_dir
file: state=absent path={{ checkout_dir }} file: state=absent path={{ checkout_dir }}