From b6f7ec1d738d4c3dc8ba1286433f99bccf6fa3d8 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 27 Sep 2020 14:56:49 +0200 Subject: [PATCH] migrate to thegeeklab namespace --- .drone.jsonnet | 10 +++++----- .drone.yml | 20 ++++++++++---------- .github/settings.yml | 2 +- README.md | 21 +++++++++++---------- ansiblelater/__init__.py | 4 ++-- docker/Dockerfile | 2 +- docker/manifest.tmpl | 8 ++++---- docs/config.yaml | 2 +- docs/content/_index.md | 11 +++++++---- docs/content/build_rules/standards_file.md | 2 +- docs/content/setup/source.md | 2 +- docs/data/menu/more.yml | 4 ++-- 12 files changed, 46 insertions(+), 42 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index fe98733..4dec447 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -189,7 +189,7 @@ local PipelineBuildContainer(arch='amd64') = { settings: { dry_run: true, dockerfile: 'docker/Dockerfile', - repo: 'xoxys/${DRONE_REPO_NAME}', + repo: 'thegeeklab/${DRONE_REPO_NAME}', username: { from_secret: 'docker_username' }, password: { from_secret: 'docker_password' }, }, @@ -205,7 +205,7 @@ local PipelineBuildContainer(arch='amd64') = { auto_tag: true, auto_tag_suffix: arch, dockerfile: 'docker/Dockerfile', - repo: 'xoxys/${DRONE_REPO_NAME}', + repo: 'thegeeklab/${DRONE_REPO_NAME}', username: { from_secret: 'docker_username' }, password: { from_secret: 'docker_password' }, }, @@ -292,7 +292,7 @@ local PipelineDocs = { }, { name: 'link-validation', - image: 'xoxys/link-validator', + image: 'thegeeklab/link-validator', commands: [ 'link-validator -ro', ], @@ -394,8 +394,8 @@ local PipelineNotifications = { from_secret: 'docker_username', }, PUSHRM_FILE: 'README.md', - PUSHRM_SHORT: 'ansible-later - Lovely automation testing framework for Ansible', - PUSHRM_TARGET: 'xoxys/${DRONE_REPO_NAME}', + PUSHRM_SHORT: 'Another best practice scanner for Ansible roles and playbooks', + PUSHRM_TARGET: 'thegeeklab/${DRONE_REPO_NAME}', }, when: { status: ['success'], diff --git a/.drone.yml b/.drone.yml index 9e11aa1..f9079f4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -211,7 +211,7 @@ steps: dry_run: true password: from_secret: docker_password - repo: xoxys/${DRONE_REPO_NAME} + repo: thegeeklab/${DRONE_REPO_NAME} username: from_secret: docker_username when: @@ -228,7 +228,7 @@ steps: dockerfile: docker/Dockerfile password: from_secret: docker_password - repo: xoxys/${DRONE_REPO_NAME} + repo: thegeeklab/${DRONE_REPO_NAME} username: from_secret: docker_username when: @@ -287,7 +287,7 @@ steps: dry_run: true password: from_secret: docker_password - repo: xoxys/${DRONE_REPO_NAME} + repo: thegeeklab/${DRONE_REPO_NAME} username: from_secret: docker_username when: @@ -304,7 +304,7 @@ steps: dockerfile: docker/Dockerfile password: from_secret: docker_password - repo: xoxys/${DRONE_REPO_NAME} + repo: thegeeklab/${DRONE_REPO_NAME} username: from_secret: docker_username when: @@ -363,7 +363,7 @@ steps: dry_run: true password: from_secret: docker_password - repo: xoxys/${DRONE_REPO_NAME} + repo: thegeeklab/${DRONE_REPO_NAME} username: from_secret: docker_username when: @@ -380,7 +380,7 @@ steps: dockerfile: docker/Dockerfile password: from_secret: docker_password - repo: xoxys/${DRONE_REPO_NAME} + repo: thegeeklab/${DRONE_REPO_NAME} username: from_secret: docker_username when: @@ -460,7 +460,7 @@ steps: - hugo-official -s docs/ -b http://localhost/ - name: link-validation - image: xoxys/link-validator + image: thegeeklab/link-validator commands: - link-validator -ro environment: @@ -552,8 +552,8 @@ steps: DOCKER_USER: from_secret: docker_username PUSHRM_FILE: README.md - PUSHRM_SHORT: ansible-later - Lovely automation testing framework for Ansible - PUSHRM_TARGET: xoxys/${DRONE_REPO_NAME} + PUSHRM_SHORT: Another best practice scanner for Ansible roles and playbooks + PUSHRM_TARGET: thegeeklab/${DRONE_REPO_NAME} when: status: - success @@ -600,6 +600,6 @@ depends_on: --- kind: signature -hmac: 4dfb2a774115993b57ef5aa20df8ce8ec299ac366bfceb4a8c1c5e834952c16a +hmac: b8c3b8467d34870d53e758175170f9602a5488da1fabf5d9bcb59a962a6b1398 ... diff --git a/.github/settings.yml b/.github/settings.yml index 1ed97d7..4e1848f 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -1,6 +1,6 @@ repository: 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 topics: ansible, ansible-later, ansible-review, best practice diff --git a/README.md b/README.md index 2b1ce04..5b24706 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,17 @@ # 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) -[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/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/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/) [![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/) -[![Codecov](https://img.shields.io/codecov/c/github/xoxys/ansible-later)](https://codecov.io/gh/xoxys/ansible-later) -[![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/xoxys/ansible-later) -[![License: MIT](https://img.shields.io/github/license/xoxys/ansible-later)](LICENSE) +[![Codecov](https://img.shields.io/codecov/c/github/thegeeklab/ansible-later)](https://codecov.io/gh/thegeeklab/ansible-later) +[![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. @@ -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) -## License +## Contributors -This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. +Special thanks goes to all [contributors](https://github.com/thegeeklab/ansible-later/graphs/contributors). -## Maintainers and Contributors +## License -[Robert Kaussow](https://github.com/xoxys) +This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/ansible-later/blob/master/LICENSE) file for details. diff --git a/ansiblelater/__init__.py b/ansiblelater/__init__.py index 07c24aa..c700b44 100644 --- a/ansiblelater/__init__.py +++ b/ansiblelater/__init__.py @@ -5,8 +5,8 @@ __project__ = "ansible-later" __license__ = "MIT" __maintainer__ = "Robert Kaussow" __email__ = "mail@thegeeklab.de" -__url__ = "https://github.com/xoxys/ansible-later" -__version__ = "0.3.10" +__url__ = "https://github.com/thegeeklab/ansible-later" +__version__ = "0.3.11" from ansiblelater import logger diff --git a/docker/Dockerfile b/docker/Dockerfile index 442679d..e2862d9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,7 +2,7 @@ FROM python:3.7-alpine LABEL maintainer="Robert Kaussow " \ 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.schema-version="1.0" diff --git a/docker/manifest.tmpl b/docker/manifest.tmpl index 53c09aa..d8e28a0 100644 --- a/docker/manifest.tmpl +++ b/docker/manifest.tmpl @@ -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}} tags: {{#each build.tags}} @@ -6,18 +6,18 @@ tags: {{/each}} {{/if}} 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: architecture: amd64 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: architecture: arm64 os: linux 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: architecture: arm os: linux diff --git a/docs/config.yaml b/docs/config.yaml index 76d7804..c2c4205 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -21,7 +21,7 @@ params: geekdocMenuBundle: true geekdocToC: 3 - geekdocRepo: https://github.com/xoxys/ansible-later + geekdocRepo: https://github.com/thegeeklab/ansible-later geekdocEditPath: edit/master/docs/content geekdocDateFormat: "Jan 2, 2006" diff --git a/docs/content/_index.md b/docs/content/_index.md index 35dd521..e865059 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -2,13 +2,16 @@ title: Documentation --- -[![Build Status](https://img.shields.io/drone/build/xoxys/ansible-later?logo=drone)](https://cloud.drone.io/xoxys/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) +[![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/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/) [![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/) -[![Codecov](https://img.shields.io/codecov/c/github/xoxys/ansible-later)](https://codecov.io/gh/xoxys/ansible-later) -[![License: MIT](https://img.shields.io/github/license/xoxys/ansible-later)](https://github.com/xoxys/ansible-later/blob/master/LICENSE) +[![Codecov](https://img.shields.io/codecov/c/github/thegeeklab/ansible-later)](https://codecov.io/gh/thegeeklab/ansible-later) +[![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. diff --git a/docs/content/build_rules/standards_file.md b/docs/content/build_rules/standards_file.md index 43eed9d..12f9839 100644 --- a/docs/content/build_rules/standards_file.md +++ b/docs/content/build_rules/standards_file.md @@ -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. -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. diff --git a/docs/content/setup/source.md b/docs/content/setup/source.md index 7ccdcdc..9a79ec5 100644 --- a/docs/content/setup/source.md +++ b/docs/content/setup/source.md @@ -7,7 +7,7 @@ title: From source {{< highlight Shell "linenos=table" >}} # 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 PATH=$PATH:`pwd`/ansible-later/bin {{< /highlight >}} diff --git a/docs/data/menu/more.yml b/docs/data/menu/more.yml index 85760a6..da8fd5b 100644 --- a/docs/data/menu/more.yml +++ b/docs/data/menu/more.yml @@ -1,10 +1,10 @@ --- more: - name: Releases - ref: "https://github.com/xoxys/ansible-later/releases" + ref: "https://github.com/thegeeklab/ansible-later/releases" external: true icon: "download" - name: "View Source" - ref: "https://github.com/xoxys/ansible-later" + ref: "https://github.com/thegeeklab/ansible-later" external: true icon: "github"