Skip to content

feat: add iagctl hello-world services#1

Merged
wcollins merged 5 commits intoitential:mainfrom
wcollins:feature/migrate-torero-to-iagctl
Apr 27, 2026
Merged

feat: add iagctl hello-world services#1
wcollins merged 5 commits intoitential:mainfrom
wcollins:feature/migrate-torero-to-iagctl

Conversation

@wcollins
Copy link
Copy Markdown
Contributor

Description

Ports the hello-torero labs to this repo as IAG hello-world services so users can iagctl db import the manifest and run an Ansible playbook, Python script, and OpenTofu plan against a gateway.

Type of Change

  • New feature

Changes Made

  • Add import.yml manifest declaring the hello-iagctl repository and three services (hello-ansible, hello-python, hello-opentofu)
  • Add hello-ansible/hello-ansible.yml — Ansible debug playbook with two string vars
  • Add hello-python/hello-python.py — Python script using argparse for --first_string / --second_string (matches how IAG passes --set key=value)
  • Add hello-opentofu/hello-opentofu.tf — OpenTofu plan with two null_resource echoes
  • Extend .gitignore with Python (__pycache__, .venv) and OpenTofu (.tofu/, .terraform/, *.tfstate) patterns

README updates land separately.

Testing

iagctl db import --repository https://github.com/itential/hello-itential.git import.yml --validate
iagctl db import --repository https://github.com/itential/hello-itential.git import.yml --check
iagctl db import --repository https://github.com/itential/hello-itential.git import.yml
iagctl get repositories && iagctl get services
iagctl run service ansible-playbook hello-ansible \
  && iagctl run service python-script hello-python \
  && iagctl run service opentofu-plan apply hello-opentofu

Checklist

  • Code follows the project's style guidelines
  • Self-review of code has been performed
  • Commits follow conventional format
  • No secrets or credentials committed

@wcollins wcollins requested a review from a team as a code owner April 27, 2026 19:51
@wcollins wcollins added the enhancement New feature or request label Apr 27, 2026
@wcollins wcollins merged commit 4184133 into itential:main Apr 27, 2026
2 checks passed
@wcollins wcollins deleted the feature/migrate-torero-to-iagctl branch April 27, 2026 20:27
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