-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
[change] Extract dependencies from pip.yml to requirements.txt for Dependabot compatibility #509
Conversation
…pendabot compatibility
…ependabot compatibility
tags: | ||
- molecule-idempotence-notest | ||
dependencies: | ||
- "-r ../requirements.txt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks incomplete. The build is failing. Have you tested this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when i run molecule test -s ubuntu2004, this is what the terminal shows.
WARNING The scenario config file ('/mnt/d/..repo clones/org_ansible-openwisp2/molecule/ubuntu2004/molecule.yml') has been modified since the scenario was created. If recent changes are important, reset the scenario with 'molecule destroy' to clean up created items or 'molecule reset' to clear current configuration.
INFO ubuntu2004 scenario test matrix: dependency, cleanup, destroy, syntax, create, prepare, converge, idempotence, side_effect, verify, cleanup, destroy
INFO Performing prerun with role_name_check=0...
INFO Running ubuntu2004 > dependency
WARNING Skipping, missing the requirements file.
WARNING Skipping, missing the requirements file.
INFO Running ubuntu2004 > cleanup
WARNING Skipping, cleanup playbook not configured.
INFO Running ubuntu2004 > destroy
PLAY [Destroy] *****************************************************************
TASK [Populate instance config] ************************************************
ok: [localhost]
TASK [Dump instance config] ****************************************************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
INFO Running ubuntu2004 > syntax
playbook: /mnt/d/..repo clones/org_ansible-openwisp2/molecule/ubuntu2004/converge.yml
INFO Running ubuntu2004 > create
PLAY [Create] ******************************************************************
TASK [Populate instance config dict] *******************************************
skipping: [localhost]
TASK [Convert instance config dict to a list] **********************************
skipping: [localhost]
TASK [Dump instance config] ****************************************************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0
INFO Running ubuntu2004 > prepare
WARNING Skipping, prepare playbook not configured.
INFO Running ubuntu2004 > converge
PLAY [Converge] ****************************************************************
TASK [Replace this task with one that validates your content] ******************
ok: [instance] => {
"msg": "This is the effective test"
}
PLAY RECAP *********************************************************************
instance : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
INFO Running ubuntu2004 > idempotence
PLAY [Converge] ****************************************************************
TASK [Replace this task with one that validates your content] ******************
ok: [instance] => {
"msg": "This is the effective test"
}
PLAY RECAP *********************************************************************
instance : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
INFO Idempotence completed successfully.
INFO Running ubuntu2004 > side_effect
WARNING Skipping, side effect playbook not configured.
INFO Running ubuntu2004 > verify
INFO Running Ansible Verifier
WARNING Skipping, verify action has no playbook.
INFO Verifier completed successfully.
INFO Running ubuntu2004 > cleanup
WARNING Skipping, cleanup playbook not configured.
INFO Running ubuntu2004 > destroy
PLAY [Destroy] *****************************************************************
TASK [Populate instance config] ************************************************
ok: [localhost]
TASK [Dump instance config] ****************************************************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
INFO Pruning extra files from scenario ephemeral directory
could you help me out with how to test for build fail and how to fix the issues?
This PR is just wrong. I suggest to pick up another issue to work on. I don't have time to train you on this now. |
Extract dependencies from pip.yml to requirements.txt for Dependabot compatibility.
Checklist
Reference to Existing Issue
Closes #507.
Description of Changes
Screenshot
pip install -r requirements.txt works successfully.
dependabot.yml also made with an interval of daily.