Skip to content

Scaffold an execution-environment project using init subcommand #368

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

Merged
merged 9 commits into from
Mar 5, 2025

Conversation

shatakshiiii
Copy link
Contributor

@shatakshiiii shatakshiiii commented Feb 24, 2025

SUMMARY

This PR adds support to scaffold an execution-execution project that can build an EE image that can be pushed and published to ghcr.

Github action workflow scaffolded through this EE project is calling a re-usable workflow from ansible-content-actions repo: https://github.com/ansible/ansible-content-actions/blob/main/.github/workflows/ee-build.yml

CLI Changes:

Adds execution_env as a project type in init subcommand.

ansible-creator init execution_env /path/to/sample_ee_project

Testing and Documentation:

  • Unit and integration tests have been added in this PR itself.
  • Additionally ansible-navigator commands are executed in the workflow to test if its a viable execution-environment.
  • The upstream RTD documentation is being updated for these changes in a separate PR that refactors our developer docs: Refactor developer docs #370

A sample personal project that uses this re-usable workflow to build and push an EE: https://github.com/shatakshiiii/ee_project

Related JIRA: AAP-40560 and AAP-38339

@shatakshiiii shatakshiiii added the enhancement New feature or request label Feb 24, 2025
@shatakshiiii shatakshiiii self-assigned this Feb 24, 2025
@shatakshiiii shatakshiiii force-pushed the init_ee_project branch 2 times, most recently from 351aa71 to 36d4084 Compare February 25, 2025 05:59
@shatakshiiii shatakshiiii marked this pull request as ready for review March 4, 2025 13:00
@shatakshiiii shatakshiiii requested a review from a team as a code owner March 4, 2025 13:00
@shatakshiiii shatakshiiii requested a review from cidrblock March 4, 2025 13:00
@shatakshiiii shatakshiiii merged commit efa310f into ansible:main Mar 5, 2025
20 checks passed
@shatakshiiii shatakshiiii deleted the init_ee_project branch March 5, 2025 17:14
@github-project-automation github-project-automation bot moved this from Review to Done in 🧰 devtools project board Mar 5, 2025
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
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants