Skip to content

Commit

Permalink
Rename components for influxdata namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
syndr committed Mar 11, 2024
1 parent 7bf1191 commit 093fde3
Show file tree
Hide file tree
Showing 18 changed files with 49 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
syndr-molecule-*.tar.gz
influxdata-molecule-*.tar.gz
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
MIT License

Copyright (c) 2024 Vincent

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ansible Collection - syndr.molecule
# Ansible Collection - influxdata.molecule

[![Molecule Test](https://github.com/syndr/ansible-collection-molecule/actions/workflows/main.yml/badge.svg)](https://github.com/syndr/ansible-collection-molecule/actions/workflows/main.yml)
[![Molecule Test](https://github.com/influxdata/ansible-collection-molecule/actions/workflows/main.yml/badge.svg)](https://github.com/influxdata/ansible-collection-molecule/actions/workflows/main.yml)

This collection facilitates the creation and use of test environments using the Ansible [Molecule project](https://ansible.readthedocs.io/projects/molecule/).

Expand Down Expand Up @@ -138,7 +138,7 @@ collections_path = ./collections:/usr/share/ansible/collections:~/.ansible/colle

or this collection should be installed locally with:
```bash
ansible-galaxy collection install -p ./collections syndr.molecule
ansible-galaxy collection install -p ./collections influxdata.molecule
```

or if your `collections/requirements.yml` includes this collection:
Expand Down
6 changes: 3 additions & 3 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# The namespace of the collection. This can be a company/brand/organization or product namespace under which all
# content lives. May only contain alphanumeric lowercase characters and underscores. Namespaces cannot start with
# underscores or numbers and cannot contain consecutive underscores
namespace: syndr
namespace: influxdata

# The name of the collection. Has the same character restrictions as 'namespace'
name: molecule
Expand Down Expand Up @@ -47,7 +47,7 @@ tags:
dependencies: {}

# The URL of the originating SCM repository
repository: https://github.com/syndr/ansible-collection-molecule
repository: https://github.com/influxdata/ansible-collection-molecule

# The URL to any online docs
#documentation: http://docs.example.com
Expand All @@ -56,7 +56,7 @@ repository: https://github.com/syndr/ansible-collection-molecule
#homepage: http://example.com

# The URL to the collection issue tracker
issues: https://github.com/syndr/ansible-collection-molecule/issues
#issues: https://github.com/influxdata/ansible-collection-molecule/issues

# A list of file glob-like patterns used to filter any files or directories that should not be included in the build
# artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This
Expand Down
6 changes: 4 additions & 2 deletions molecule/default/collections.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---

collections:
- community.docker
- syndr.molecule
- name: community.docker
- name: git+https://github.com/influxdata/ansible-collection-molecule.git
type: git
version: main

2 changes: 1 addition & 1 deletion molecule/default/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
tasks:
- name: Create platform
ansible.builtin.include_role:
name: syndr.molecule.docker_platform
name: influxdata.molecule.docker_platform
vars:
docker_platform_name: "{{ item.name }}"
docker_platform_image: "{{ item.image }}"
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tasks:
- name: Remove platform
ansible.builtin.include_role:
name: syndr.molecule.docker_platform
name: influxdata.molecule.docker_platform
vars:
docker_platform_name: "{{ inventory_hostname }}"
docker_platform_state: absent
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
tasks:
- name: Launch provisioner
ansible.builtin.include_role:
name: syndr.molecule.init
name: influxdata.molecule.init

2 changes: 1 addition & 1 deletion molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
tasks:
- name: Configure for standalone role testing
ansible.builtin.include_role:
name: syndr.molecule.prepare_controller
name: influxdata.molecule.prepare_controller
vars:
prepare_controller_project_type: collection

Expand Down
2 changes: 1 addition & 1 deletion roles/docker_platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Example Playbook
tasks:
- name: Create platform
ansible.builtin.include_role:
name: syndr.molecule.docker_platform
name: influxdata.molecule.docker_platform
vars:
docker_platform_name: "{{ item.name }}"
docker_platform_image: "{{ item.image }}"
Expand Down
6 changes: 3 additions & 3 deletions roles/init/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
syndr.molecule.init
influxdata.molecule.init
=========

Initialize the Molecule testing framework for a project.
Expand Down Expand Up @@ -165,7 +165,7 @@ Dependencies
**Collections**
* community.docker
* syndr.molecule
* influxdata.molecule
Example Playbook
----------------
Expand All @@ -179,7 +179,7 @@ Example Playbook
tasks:
- name: Launch provisioner
ansible.builtin.include_role:
name: syndr.molecule.init
name: influxdata.molecule.init
vars:
init_project_type: auto
init_platforms:
Expand Down
2 changes: 1 addition & 1 deletion roles/init/files/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
tasks:
- name: Create platform
ansible.builtin.include_role:
name: syndr.molecule.docker_platform
name: influxdata.molecule.docker_platform
vars:
docker_platform_name: "{{ item.name }}"
docker_platform_image: "{{ item.image }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/init/files/destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tasks:
- name: Remove platform
ansible.builtin.include_role:
name: syndr.molecule.docker_platform
name: influxdata.molecule.docker_platform
vars:
docker_platform_name: "{{ inventory_hostname }}"
docker_platform_state: absent
Expand Down
2 changes: 1 addition & 1 deletion roles/init/files/init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
tasks:
- name: Launch provisioner
ansible.builtin.include_role:
name: syndr.molecule.init
name: influxdata.molecule.init

2 changes: 1 addition & 1 deletion roles/init/templates/collections.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

collections:
- community.docker
- syndr.molecule
- influxdata.molecule

2 changes: 1 addition & 1 deletion roles/init/templates/create.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tasks:
- name: Create platform
ansible.builtin.include_role:
name: syndr.molecule.docker_platform
name: influxdata.molecule.docker_platform
vars:
docker_platform_name: "{{ item.name }}"
docker_platform_image: "{{ item.image }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/init/templates/prepare.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
tasks:
- name: Configure for standalone role testing
ansible.builtin.include_role:
name: syndr.molecule.prepare_controller
name: influxdata.molecule.prepare_controller
vars:
prepare_controller_project_type: {{ init_project_type }}

Expand Down
4 changes: 2 additions & 2 deletions roles/prepare_controller/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
syndr.molecule.prepare_controller
influxdata.molecule.prepare_controller
=========

Prepare a Molecule controller to run tests using local project repositories.
Expand Down Expand Up @@ -53,7 +53,7 @@ Example Playbook
tasks:
- name: Configure for standalone role testing
ansible.builtin.include_role:
name: syndr.molecule.prepare_controller
name: influxdata.molecule.prepare_controller
vars:
prepare_controller_project_type: role
```
Expand Down

0 comments on commit 093fde3

Please sign in to comment.