From cc323577e394b5bcf0e571410fd5623bc5dd6d60 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Thu, 25 Mar 2021 09:28:59 +0100 Subject: [PATCH] Two laptops is no fun. --- files/gitignore | 1 + files/pre-commit-config.yaml | 8 +------- templates/gitlab-ci.yml.j2 | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/files/gitignore b/files/gitignore index 93e1f56..df5a2d1 100644 --- a/files/gitignore +++ b/files/gitignore @@ -3,3 +3,4 @@ *.swp .tox .DS_Store +.cache diff --git a/files/pre-commit-config.yaml b/files/pre-commit-config.yaml index 5e991a7..fc3086f 100644 --- a/files/pre-commit-config.yaml +++ b/files/pre-commit-config.yaml @@ -13,14 +13,8 @@ repos: - id: yamllint args: [-c=.yamllint] - - repo: https://github.com/ansible/ansible-lint - rev: v5.0.1 - hooks: - - id: ansible-lint - pass_filenames: false - - repo: https://github.com/robertdebock/pre-commit - rev: v1.1.2 + rev: v1.2.1 hooks: - id: ansible_role_find_unused_variable - id: ansible_role_find_empty_files diff --git a/templates/gitlab-ci.yml.j2 b/templates/gitlab-ci.yml.j2 index 3bb1b17..b9a62f0 100644 --- a/templates/gitlab-ci.yml.j2 +++ b/templates/gitlab-ci.yml.j2 @@ -13,7 +13,7 @@ molecule: - image=${image} tag=${tag} molecule test rules: - if: $CI_COMMIT_REF_NAME == "master" - retry: 2 + retry: 1 parallel: matrix: {% for platform in meta.galaxy_info.platforms %}