mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-25 06:10:42 +00:00
migrate to thegeeklab namespace
This commit is contained in:
parent
98a82b0b66
commit
b6f7ec1d73
@ -189,7 +189,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||||||
settings: {
|
settings: {
|
||||||
dry_run: true,
|
dry_run: true,
|
||||||
dockerfile: 'docker/Dockerfile',
|
dockerfile: 'docker/Dockerfile',
|
||||||
repo: 'xoxys/${DRONE_REPO_NAME}',
|
repo: 'thegeeklab/${DRONE_REPO_NAME}',
|
||||||
username: { from_secret: 'docker_username' },
|
username: { from_secret: 'docker_username' },
|
||||||
password: { from_secret: 'docker_password' },
|
password: { from_secret: 'docker_password' },
|
||||||
},
|
},
|
||||||
@ -205,7 +205,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||||||
auto_tag: true,
|
auto_tag: true,
|
||||||
auto_tag_suffix: arch,
|
auto_tag_suffix: arch,
|
||||||
dockerfile: 'docker/Dockerfile',
|
dockerfile: 'docker/Dockerfile',
|
||||||
repo: 'xoxys/${DRONE_REPO_NAME}',
|
repo: 'thegeeklab/${DRONE_REPO_NAME}',
|
||||||
username: { from_secret: 'docker_username' },
|
username: { from_secret: 'docker_username' },
|
||||||
password: { from_secret: 'docker_password' },
|
password: { from_secret: 'docker_password' },
|
||||||
},
|
},
|
||||||
@ -292,7 +292,7 @@ local PipelineDocs = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'link-validation',
|
name: 'link-validation',
|
||||||
image: 'xoxys/link-validator',
|
image: 'thegeeklab/link-validator',
|
||||||
commands: [
|
commands: [
|
||||||
'link-validator -ro',
|
'link-validator -ro',
|
||||||
],
|
],
|
||||||
@ -394,8 +394,8 @@ local PipelineNotifications = {
|
|||||||
from_secret: 'docker_username',
|
from_secret: 'docker_username',
|
||||||
},
|
},
|
||||||
PUSHRM_FILE: 'README.md',
|
PUSHRM_FILE: 'README.md',
|
||||||
PUSHRM_SHORT: 'ansible-later - Lovely automation testing framework for Ansible',
|
PUSHRM_SHORT: 'Another best practice scanner for Ansible roles and playbooks',
|
||||||
PUSHRM_TARGET: 'xoxys/${DRONE_REPO_NAME}',
|
PUSHRM_TARGET: 'thegeeklab/${DRONE_REPO_NAME}',
|
||||||
},
|
},
|
||||||
when: {
|
when: {
|
||||||
status: ['success'],
|
status: ['success'],
|
||||||
|
20
.drone.yml
20
.drone.yml
@ -211,7 +211,7 @@ steps:
|
|||||||
dry_run: true
|
dry_run: true
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: xoxys/${DRONE_REPO_NAME}
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
@ -228,7 +228,7 @@ steps:
|
|||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: xoxys/${DRONE_REPO_NAME}
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
@ -287,7 +287,7 @@ steps:
|
|||||||
dry_run: true
|
dry_run: true
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: xoxys/${DRONE_REPO_NAME}
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
@ -304,7 +304,7 @@ steps:
|
|||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: xoxys/${DRONE_REPO_NAME}
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
@ -363,7 +363,7 @@ steps:
|
|||||||
dry_run: true
|
dry_run: true
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: xoxys/${DRONE_REPO_NAME}
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
@ -380,7 +380,7 @@ steps:
|
|||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: xoxys/${DRONE_REPO_NAME}
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
@ -460,7 +460,7 @@ steps:
|
|||||||
- hugo-official -s docs/ -b http://localhost/
|
- hugo-official -s docs/ -b http://localhost/
|
||||||
|
|
||||||
- name: link-validation
|
- name: link-validation
|
||||||
image: xoxys/link-validator
|
image: thegeeklab/link-validator
|
||||||
commands:
|
commands:
|
||||||
- link-validator -ro
|
- link-validator -ro
|
||||||
environment:
|
environment:
|
||||||
@ -552,8 +552,8 @@ steps:
|
|||||||
DOCKER_USER:
|
DOCKER_USER:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
PUSHRM_FILE: README.md
|
PUSHRM_FILE: README.md
|
||||||
PUSHRM_SHORT: ansible-later - Lovely automation testing framework for Ansible
|
PUSHRM_SHORT: Another best practice scanner for Ansible roles and playbooks
|
||||||
PUSHRM_TARGET: xoxys/${DRONE_REPO_NAME}
|
PUSHRM_TARGET: thegeeklab/${DRONE_REPO_NAME}
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
@ -600,6 +600,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 4dfb2a774115993b57ef5aa20df8ce8ec299ac366bfceb4a8c1c5e834952c16a
|
hmac: b8c3b8467d34870d53e758175170f9602a5488da1fabf5d9bcb59a962a6b1398
|
||||||
|
|
||||||
...
|
...
|
||||||
|
2
.github/settings.yml
vendored
2
.github/settings.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
repository:
|
repository:
|
||||||
name: ansible-later
|
name: ansible-later
|
||||||
description: Ansible - Lovely Automation Testing Framework
|
description: Another best practice scanner for Ansible roles and playbooks
|
||||||
homepage: https://ansible-later.geekdocs.de
|
homepage: https://ansible-later.geekdocs.de
|
||||||
topics: ansible, ansible-later, ansible-review, best practice
|
topics: ansible, ansible-later, ansible-review, best practice
|
||||||
|
|
||||||
|
23
README.md
23
README.md
@ -1,16 +1,17 @@
|
|||||||
# ansible-later
|
# ansible-later
|
||||||
|
|
||||||
ansible-later - Lovely automation testing framework for Ansible
|
Another best practice scanner for Ansible roles and playbooks
|
||||||
|
|
||||||
[![Build Status](https://img.shields.io/drone/build/xoxys/ansible-later?logo=drone)](https://cloud.drone.io/xoxys/ansible-later)
|
[![Build Status](https://img.shields.io/drone/build/thegeeklab/ansible-later?logo=drone)](https://cloud.drone.io/thegeeklab/ansible-later)
|
||||||
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/xoxys/ansible-later)
|
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/thegeeklab/ansible-later)
|
||||||
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/ansible-later)
|
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/ansible-later)
|
||||||
[![Python Version](https://img.shields.io/pypi/pyversions/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
[![Python Version](https://img.shields.io/pypi/pyversions/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
||||||
[![PyPI Status](https://img.shields.io/pypi/status/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
[![PyPI Status](https://img.shields.io/pypi/status/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
||||||
[![PyPI Release](https://img.shields.io/pypi/v/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
[![PyPI Release](https://img.shields.io/pypi/v/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
||||||
[![Codecov](https://img.shields.io/codecov/c/github/xoxys/ansible-later)](https://codecov.io/gh/xoxys/ansible-later)
|
[![Codecov](https://img.shields.io/codecov/c/github/thegeeklab/ansible-later)](https://codecov.io/gh/thegeeklab/ansible-later)
|
||||||
[![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/xoxys/ansible-later)
|
[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/ansible-later)](https://github.com/thegeeklab/ansible-later/graphs/contributors)
|
||||||
[![License: MIT](https://img.shields.io/github/license/xoxys/ansible-later)](LICENSE)
|
[![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/thegeeklab/ansible-later)
|
||||||
|
[![License: MIT](https://img.shields.io/github/license/thegeeklab/ansible-later)](https://github.com/thegeeklab/ansible-later/blob/master/LICENSE)
|
||||||
|
|
||||||
This is a fork of Will Thames [ansible-review](https://github.com/willthames/ansible-review) so credits goes to him for his work on ansible-review and ansible-lint.
|
This is a fork of Will Thames [ansible-review](https://github.com/willthames/ansible-review) so credits goes to him for his work on ansible-review and ansible-lint.
|
||||||
|
|
||||||
@ -26,10 +27,10 @@ You can find the full documentation at [https://ansible-later.geekdocs.de](https
|
|||||||
- [GitHub Action](https://github.com/patrickjahns/ansible-later-action) by [@patrickjahns](https://github.com/patrickjahns)
|
- [GitHub Action](https://github.com/patrickjahns/ansible-later-action) by [@patrickjahns](https://github.com/patrickjahns)
|
||||||
<!-- spellchecker-enable -->
|
<!-- spellchecker-enable -->
|
||||||
|
|
||||||
|
## Contributors
|
||||||
|
|
||||||
|
Special thanks goes to all [contributors](https://github.com/thegeeklab/ansible-later/graphs/contributors).
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/ansible-later/blob/master/LICENSE) file for details.
|
||||||
|
|
||||||
## Maintainers and Contributors
|
|
||||||
|
|
||||||
[Robert Kaussow](https://github.com/xoxys)
|
|
||||||
|
@ -5,8 +5,8 @@ __project__ = "ansible-later"
|
|||||||
__license__ = "MIT"
|
__license__ = "MIT"
|
||||||
__maintainer__ = "Robert Kaussow"
|
__maintainer__ = "Robert Kaussow"
|
||||||
__email__ = "mail@thegeeklab.de"
|
__email__ = "mail@thegeeklab.de"
|
||||||
__url__ = "https://github.com/xoxys/ansible-later"
|
__url__ = "https://github.com/thegeeklab/ansible-later"
|
||||||
__version__ = "0.3.10"
|
__version__ = "0.3.11"
|
||||||
|
|
||||||
from ansiblelater import logger
|
from ansiblelater import logger
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ FROM python:3.7-alpine
|
|||||||
|
|
||||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
|
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
|
||||||
org.label-schema.name="ansible-later" \
|
org.label-schema.name="ansible-later" \
|
||||||
org.label-schema.vcs-url="https://github.com/xoxys/ansible-later" \
|
org.label-schema.vcs-url="https://github.com/thegeeklab/ansible-later" \
|
||||||
org.label-schema.vendor="Robert Kaussow" \
|
org.label-schema.vendor="Robert Kaussow" \
|
||||||
org.label-schema.schema-version="1.0"
|
org.label-schema.schema-version="1.0"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
image: xoxys/ansible-later:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
image: thegeeklab/ansible-later:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||||
{{#if build.tags}}
|
{{#if build.tags}}
|
||||||
tags:
|
tags:
|
||||||
{{#each build.tags}}
|
{{#each build.tags}}
|
||||||
@ -6,18 +6,18 @@ tags:
|
|||||||
{{/each}}
|
{{/each}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
manifests:
|
manifests:
|
||||||
- image: xoxys/ansible-later:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}amd64
|
- image: thegeeklab/ansible-later:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}amd64
|
||||||
platform:
|
platform:
|
||||||
architecture: amd64
|
architecture: amd64
|
||||||
os: linux
|
os: linux
|
||||||
|
|
||||||
- image: xoxys/ansible-later:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm64
|
- image: thegeeklab/ansible-later:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm64
|
||||||
platform:
|
platform:
|
||||||
architecture: arm64
|
architecture: arm64
|
||||||
os: linux
|
os: linux
|
||||||
variant: v8
|
variant: v8
|
||||||
|
|
||||||
- image: xoxys/ansible-later:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm
|
- image: thegeeklab/ansible-later:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm
|
||||||
platform:
|
platform:
|
||||||
architecture: arm
|
architecture: arm
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -21,7 +21,7 @@ params:
|
|||||||
geekdocMenuBundle: true
|
geekdocMenuBundle: true
|
||||||
geekdocToC: 3
|
geekdocToC: 3
|
||||||
|
|
||||||
geekdocRepo: https://github.com/xoxys/ansible-later
|
geekdocRepo: https://github.com/thegeeklab/ansible-later
|
||||||
geekdocEditPath: edit/master/docs/content
|
geekdocEditPath: edit/master/docs/content
|
||||||
|
|
||||||
geekdocDateFormat: "Jan 2, 2006"
|
geekdocDateFormat: "Jan 2, 2006"
|
||||||
|
@ -2,13 +2,16 @@
|
|||||||
title: Documentation
|
title: Documentation
|
||||||
---
|
---
|
||||||
|
|
||||||
[![Build Status](https://img.shields.io/drone/build/xoxys/ansible-later?logo=drone)](https://cloud.drone.io/xoxys/ansible-later)
|
[![Build Status](https://img.shields.io/drone/build/thegeeklab/ansible-later?logo=drone)](https://cloud.drone.io/thegeeklab/ansible-later)
|
||||||
[![Docker Hub](https://img.shields.io/badge/docker-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/xoxys/ansible-later)
|
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/thegeeklab/ansible-later)
|
||||||
|
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/ansible-later)
|
||||||
[![Python Version](https://img.shields.io/pypi/pyversions/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
[![Python Version](https://img.shields.io/pypi/pyversions/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
||||||
[![PyPI Status](https://img.shields.io/pypi/status/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
[![PyPI Status](https://img.shields.io/pypi/status/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
||||||
[![PyPI Release](https://img.shields.io/pypi/v/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
[![PyPI Release](https://img.shields.io/pypi/v/ansible-later.svg)](https://pypi.org/project/ansible-later/)
|
||||||
[![Codecov](https://img.shields.io/codecov/c/github/xoxys/ansible-later)](https://codecov.io/gh/xoxys/ansible-later)
|
[![Codecov](https://img.shields.io/codecov/c/github/thegeeklab/ansible-later)](https://codecov.io/gh/thegeeklab/ansible-later)
|
||||||
[![License: MIT](https://img.shields.io/github/license/xoxys/ansible-later)](https://github.com/xoxys/ansible-later/blob/master/LICENSE)
|
[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/ansible-later)](https://github.com/thegeeklab/ansible-later/graphs/contributors)
|
||||||
|
[![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/thegeeklab/ansible-later)
|
||||||
|
[![License: MIT](https://img.shields.io/github/license/thegeeklab/ansible-later)](https://github.com/thegeeklab/ansible-later/blob/master/LICENSE)
|
||||||
|
|
||||||
This is a fork of Will Thames [ansible-review](https://github.com/willthames/ansible-review) so credits goes to him for his work on ansible-review and ansible-lint.
|
This is a fork of Will Thames [ansible-review](https://github.com/willthames/ansible-review) so credits goes to him for his work on ansible-review and ansible-lint.
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ When you add new standards, you should increment the version of your standards.
|
|||||||
|
|
||||||
To add standards that are advisory, don't set the version. These will cause a message to be displayed but won't constitute a failure. When a standard version is higher than declared version, a message will be displayed 'WARN: Future standard' and won't constitute a failure.
|
To add standards that are advisory, don't set the version. These will cause a message to be displayed but won't constitute a failure. When a standard version is higher than declared version, a message will be displayed 'WARN: Future standard' and won't constitute a failure.
|
||||||
|
|
||||||
An example standards file is available [here](https://github.com/xoxys/ansible-later/blob/master/ansiblelater/data/standards.py).
|
An example standards file is available [here](https://github.com/thegeeklab/ansible-later/blob/master/ansiblelater/data/standards.py).
|
||||||
|
|
||||||
If you only want to check one or two standards quickly (perhaps you want to review your entire code base for deprecated bare words), you can use the `-s` flag with the name of your standard. You can pass `-s` multiple times.
|
If you only want to check one or two standards quickly (perhaps you want to review your entire code base for deprecated bare words), you can use the `-s` flag with the name of your standard. You can pass `-s` multiple times.
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ title: From source
|
|||||||
<!-- spellchecker-disable -->
|
<!-- spellchecker-disable -->
|
||||||
{{< highlight Shell "linenos=table" >}}
|
{{< highlight Shell "linenos=table" >}}
|
||||||
# Install dependency
|
# Install dependency
|
||||||
git clone https://github.com/xoxys/ansible-later
|
git clone https://github.com/thegeeklab/ansible-later
|
||||||
export PYTHONPATH=$PYTHONPATH:`pwd`/ansible-later/ansiblelater
|
export PYTHONPATH=$PYTHONPATH:`pwd`/ansible-later/ansiblelater
|
||||||
export PATH=$PATH:`pwd`/ansible-later/bin
|
export PATH=$PATH:`pwd`/ansible-later/bin
|
||||||
{{< /highlight >}}
|
{{< /highlight >}}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
more:
|
more:
|
||||||
- name: Releases
|
- name: Releases
|
||||||
ref: "https://github.com/xoxys/ansible-later/releases"
|
ref: "https://github.com/thegeeklab/ansible-later/releases"
|
||||||
external: true
|
external: true
|
||||||
icon: "download"
|
icon: "download"
|
||||||
- name: "View Source"
|
- name: "View Source"
|
||||||
ref: "https://github.com/xoxys/ansible-later"
|
ref: "https://github.com/thegeeklab/ansible-later"
|
||||||
external: true
|
external: true
|
||||||
icon: "github"
|
icon: "github"
|
||||||
|
Loading…
Reference in New Issue
Block a user