1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_git.git synced 2024-09-14 20:12:03 +02:00

Merge pull request #18 from roles-ansible/u

update submodule
This commit is contained in:
L3D 2023-10-29 16:36:51 +01:00 committed by GitHub
commit 87a6b92a09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 57 additions and 30 deletions

View file

@ -7,3 +7,8 @@ updates:
directory: "/" directory: "/"
schedule: schedule:
interval: "daily" interval: "daily"
- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "weekly"

View file

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 'checkout git repo' - name: Checkout git repo
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
lfs: true lfs: true
@ -22,3 +22,4 @@ jobs:
with: with:
target: "./" target: "./"
python_dependency: "jmespath" python_dependency: "jmespath"
collections_yml: "requirements.yml"

22
.github/workflows/j2lint-check.yml vendored Normal file
View file

@ -0,0 +1,22 @@
---
name: Jinja2 Linting check
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
name: Jinja2 Linting
runs-on: ubuntu-latest
steps:
- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Run j2lint
uses: ansible-actions/j2lint-action@v0.0.1
with:
target: "./"

22
.github/workflows/yamllint-check.yml vendored Normal file
View file

@ -0,0 +1,22 @@
---
name: Yamllint check
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
name: Yamllint
runs-on: ubuntu-latest
steps:
- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Run yamllint
uses: ansible-actions/yamllint-action@v0.0.1
with:
target: "./"

View file

@ -1,23 +0,0 @@
---
name: 'Yamllint GitHub Actions'
# yamllint disable-line rule:truthy
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
yamllint:
name: 'Yamllint'
runs-on: ubuntu-latest
steps:
- name: 'checkout git repo'
uses: actions/checkout@v4
- name: 'Yamllint'
uses: karancode/yamllint-github-action@v2.1.1
with:
yamllint_file_or_dir: '.'
yamllint_config_filepath: './.yamllint'

View file

@ -14,7 +14,7 @@ Here are all our ansible roles for installing git server.
## Using this Collection ## Using this Collection
You can install the collection using ansible-galaxy by running: You can install the collection using ansible-galaxy by running:
```bash ```bash
ansible-galaxy collection install l3d.git:1.0.11 ansible-galaxy collection install l3d.git:1.0.12
``` ```
Remember you can to Upgrade to the latest version of the l3d.git collection using the ``--upgrade`` parameter: Remember you can to Upgrade to the latest version of the l3d.git collection using the ``--upgrade`` parameter:
@ -43,7 +43,7 @@ You can also list a collection in ``requirements.yml``:
--- ---
collections: collections:
- name: l3d.git - name: l3d.git
version: ">=1.0.11" version: ">=1.0.12"
``` ```
## Include roles in your playbook ## Include roles in your playbook

View file

@ -9,7 +9,7 @@ namespace: l3d
name: git name: git
# The version of the collection. Must be compatible with semantic versioning # The version of the collection. Must be compatible with semantic versioning
version: 1.0.11 version: 1.0.12
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection # The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md readme: README.md
@ -48,7 +48,7 @@ tags:
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version # L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
# range specifiers can be set and are separated by ',' # range specifiers can be set and are separated by ','
dependencies: dependencies:
"community.general": ">=7.0.0" "community.general": ">=7.5.0"
# The URL of the originating SCM repository # The URL of the originating SCM repository
repository: https://github.com/roles-ansible/ansible_collection_git.git repository: https://github.com/roles-ansible/ansible_collection_git.git

View file

@ -1,4 +1,4 @@
--- ---
collections: collections:
- name: community.general - name: community.general
version: ">=7.0.0" version: ">=7.5.0"

@ -1 +1 @@
Subproject commit 39ee035e46df44179d0fd29a003621416752f5d4 Subproject commit 61c99851fb6ac4389e716a4d7c28c634995af5fa