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