1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Disable new git tests until a fix for rhel6/7 is merged.

This commit is contained in:
Toshio Kuratomi 2016-04-19 08:53:19 -07:00
parent e386a51cf8
commit 197d3dfe97

View file

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