Open interfan7 opened 12 months ago
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @None @johanwiren click here for bot help
You need to supply an OS image to --docker
(like fedora38
or ubuntu2204
); the default image won't work for this integration test.
like: ansible-test integration gem --docker fedora38 -v
Thanks @felixfontein !
It works.
What is your suggestion if I need to install a few apps upon that clean image (Ubuntu) for my tests to run? It may be as large as 200-250 MB of apps. Isn't it a waste of BW to d/l it every time the integration test runs? The Ubuntu image is cached, but installing the packages upon each run is executed every run.
@interfan7 you might want to look for very small apps then.
Summary
I'm ramping-up on testing and contributing a PR on module
gem
.Reading the doc on how to test, I've attempted to execute an integration test from a clean clone, but it has yielded errors.
Issue Type
Bug Report
Component Name
gem
Ansible Version
Community.general Version
Configuration
OS / Environment
Host OS is MacOS. The docker-desktop is running a VM on which Docker engine is executed.
Steps to Reproduce
Run:
Expected Results
I'm not sure what is the exact expected output (errors, OK's, changes, skipped etc...). Is it documented? But I guess it shall be a successfull Ansible execution?
Actual Results
Code of Conduct