mirror of
https://github.com/roles-ansible/ansible_collection_git.git
synced 2024-09-14 20:12:03 +02:00
commit
87a6b92a09
9 changed files with 57 additions and 30 deletions
5
.github/dependabot.yml
vendored
5
.github/dependabot.yml
vendored
|
@ -7,3 +7,8 @@ updates:
|
|||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "gitsubmodule"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
|
|
3
.github/workflows/ansible-linting-check.yml
vendored
3
.github/workflows/ansible-linting-check.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: 'checkout git repo'
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
|
@ -22,3 +22,4 @@ jobs:
|
|||
with:
|
||||
target: "./"
|
||||
python_dependency: "jmespath"
|
||||
collections_yml: "requirements.yml"
|
||||
|
|
22
.github/workflows/j2lint-check.yml
vendored
Normal file
22
.github/workflows/j2lint-check.yml
vendored
Normal 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
22
.github/workflows/yamllint-check.yml
vendored
Normal 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: "./"
|
23
.github/workflows/yamllint.yaml
vendored
23
.github/workflows/yamllint.yaml
vendored
|
@ -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'
|
|
@ -14,7 +14,7 @@ Here are all our ansible roles for installing git server.
|
|||
## Using this Collection
|
||||
You can install the collection using ansible-galaxy by running:
|
||||
```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:
|
||||
|
@ -43,7 +43,7 @@ You can also list a collection in ``requirements.yml``:
|
|||
---
|
||||
collections:
|
||||
- name: l3d.git
|
||||
version: ">=1.0.11"
|
||||
version: ">=1.0.12"
|
||||
```
|
||||
|
||||
## Include roles in your playbook
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace: l3d
|
|||
name: git
|
||||
|
||||
# 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
|
||||
readme: README.md
|
||||
|
@ -48,7 +48,7 @@ tags:
|
|||
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
|
||||
# range specifiers can be set and are separated by ','
|
||||
dependencies:
|
||||
"community.general": ">=7.0.0"
|
||||
"community.general": ">=7.5.0"
|
||||
|
||||
# The URL of the originating SCM repository
|
||||
repository: https://github.com/roles-ansible/ansible_collection_git.git
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
collections:
|
||||
- name: community.general
|
||||
version: ">=7.0.0"
|
||||
version: ">=7.5.0"
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 39ee035e46df44179d0fd29a003621416752f5d4
|
||||
Subproject commit 61c99851fb6ac4389e716a4d7c28c634995af5fa
|
Loading…
Reference in a new issue