Skip to content

Add initial hub testing and documentation. - #3

Merged
jkary merged 6 commits into
mainfrom
initial_files
Nov 3, 2025
Merged

jkary merged 6 commits into
mainfrom
initial_files

Conversation

@jkary

@jkary jkary commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Add README.md with comprehensive project documentation
  • Add Apache License 2.0 (LICENSE) matching cloudkit-installer
  • Update fulfillment address configuration to use configurable domain suffix

Test plan

  • Verify README.md renders correctly on GitHub
  • Confirm LICENSE is properly recognized by GitHub
  • Test fulfillment address configuration variables work correctly

🤖 Generated with Claude Code

@adriengentil

Copy link
Copy Markdown
Contributor

Can you open a PR which add a workflow that runs ansible-lint? https://github.com/innabox/cloudkit-aap/blob/main/.github/workflows/tests.yml

Comment thread roles/test_hub_creation/tasks/main.yml Outdated
Comment thread roles/fulfillment_cli_base/tasks/main.yml
Comment thread roles/test_vm_creation/tasks/main.yml Outdated
@adriengentil

Copy link
Copy Markdown
Contributor

I feel there is a lot of AI in there, some things doesn't make sense. Can you please review the code first? and then I'll review.

@jkary
jkary requested review from jhernand and larsks October 27, 2025 14:25
@larsks

larsks commented Oct 27, 2025

Copy link
Copy Markdown
Member

The failing pre-commit checks indicate you're not running these pre-commit checks locally. You probably want to update your repository so that these checks are run automatically whenever you make a commit. That should be as simple as:

  1. Install pre-commit (that may be as simple as dnf install pre-commit, or you can install using pip or pipx)
  2. Run pre-commit install in your working copy of the repository.

This will configure your .git/hooks/pre-commit hook.

…tion

- Add README.md with project documentation
- Add Apache License 2.0 (LICENSE)
- Basic hub testing
@jkary jkary changed the title Add initial project files and documentation Add initial hub testing and documentation. Oct 29, 2025
Comment thread roles/fulfillment_cli_base/tasks/main.yml
Comment thread roles/fulfillment_cli_base/tasks/main.yml
Comment thread roles/fulfillment_cli_base/tasks/main.yml

@jhernand jhernand left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments, but overall it looks good as an starting point.

larsks
larsks previously requested changes Oct 30, 2025
Comment thread inventory/group_vars/all.yml Outdated
Comment thread inventory/group_vars/all.yml Outdated
Comment thread inventory/group_vars/all.yml
Comment thread inventory/group_vars/all.yml Outdated
Comment thread inventory/group_vars/all.yml Outdated

# Default test configuration
test_namespace: foobar
testing_workspace: /tmp/cloudkit-e2e-testing

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this meant to be ephemeral (deleted automatically after the test is complete), or persistent (contains artifacts of the test that may be of interest to somebody)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the tests all pass then it should be ephemeral. If there is an error then it should be persistent. I'm not sure of a good way to do this in GH actions.

Comment thread playbooks/test_hub_creation.yml Outdated
Comment thread roles/fulfillment_cli_base/tasks/main.yml Outdated
Comment thread roles/fulfillment_cli_base/tasks/main.yml Outdated
ansible.builtin.command:
cmd: oc whoami
environment:
kubeconfig: "{{ mgmt_kubeconfig }}"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be KUBECONFIG instead of kubeconfig? The KUBECONFIG variable is supported by both oc and kubectl, whereas neither respond to kubeconfig.

Comment thread roles/test_hub_creation/defaults/main.yml Outdated
Comment thread roles/test_hub_creation/handlers/main.yml
@jkary
jkary dismissed larsks’s stale review November 2, 2025 16:04

Feedback incorporated.

@jkary
jkary merged commit 4e4be57 into main Nov 3, 2025
1 check passed
@jkary
jkary deleted the initial_files branch November 3, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants