Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Asyncening #15

Draft
wants to merge 14 commits into
base: devel
Choose a base branch
from
Draft

The Asyncening #15

wants to merge 14 commits into from

Conversation

syndr
Copy link
Collaborator

@syndr syndr commented Jan 10, 2025

Add asynchronous support to infra provisioners, for much more faster! 🚀

Refactor Molecule internal configuration/ansible inventory management.

Various structural improvements.

More details TBA!

syndr added 13 commits March 11, 2024 21:01
* Add playbook support

* Update documentation

* Dynamically load collection name where possible (init)
Add support for specifying Ansible hostvars on a platform.

Fix cgroup namespace for docker platform.

Add more recommended configuration to prepare.yml template.

Add more documentation.
Fix the `docker_platform` role so that it works correctly when
more than one platform is specified in molecule.yml.

Move non-provider-specific platform configuration to a `platform` role. This is a breaking change for this version, as functions of `docker_platform` are now provided by platform.

Replace any references to `docker_platform` in playbooks using this collection with `platform`, options stay the same.
Refactor molecule.docker_platform role to handle specifically docker testing containers and not molecule inventory files

Molecule inventory files are now managed by the new molecule.platform role. References to docker_platform in molecule create.yml or destroy.yml files should be updated to use this role in order to work with this version

Add molecule.ec2_platform role, which allows creation and use of ephemeral ec2 instances for test environments.

Update molecule.init role to support deployment of both docker and ec2 platforms. Note that only one platform type is supported per scenario! Also note that there are differences between the Molecule configuration for each platform, so this init role should be used to deploy the appropriate templates!
…le (#9)

Fixes issue primarily affecting CI, where the `init` role fails if it cannot read the collection manifest.
* Rename components for influxdata namespace

* Fix collections template, add latest tag (#1)

* Fix collections template

* Add workflow for generating 'latest' tag

* Update docs (#2)

* Add testing for init role

* Fix license

* Disable release workflow

* Fix running multiple platforms, support ubuntu for testing

Fix the `docker_platform` role so that it works correctly when
more than one platform is specified in molecule.yml.

Add more useful output to container creation steps (`docker_platform`)

Fix docker_platform to work with debian-based systemd images

Support ubuntu for testing workflow

* Replace chicken with egg

Fixes in this devel branch are needed for it to run its own internal
tests.

Will need to create another PR after current changing collection version
back to main after these fixes are merged.

* Fix typo

* Use 'latest' for version -- makes way more sense

* Only push to Galaxy on mainline release

* Fix namespace

* Merge internal branch updates

Amazon EC2 test scenario

Refactoring of Molecule tests

Lots of other things...

* Fix build CI, docker_platform, bump version

* Dynamically generate branch tag

* Fix CI execution

* Only deploy on successful build, allow 'degraded' systemd status

* Refactor branch tag CI step

* Bump version to 1.5
Async container management - process full platform list if provided

Updates to 'platform' role to support this
Link collection to molecule ephemeral dir instead of copying during prepare step

Refactor Molecule inventory generation
* simplify host addition/removal logic
* support combined execution (list of multiple platforms)
Allow defining hostname

Successfully create custom images
@syndr syndr added the enhancement New feature or request label Jan 10, 2025
@syndr syndr self-assigned this Jan 10, 2025
@syndr syndr marked this pull request as draft January 10, 2025 17:09
Systemd path is lauched as PID 1

Commands can be run pre-entrypoint in dockerfile (IE: dnf install -y sudo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant