Skip to content

feature: Add support for OpenWrt system #60

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

Draft
wants to merge 228 commits into
base: master
Choose a base branch
from

Conversation

xiaoyao9184
Copy link
Contributor

This PR depends on #59.

Description

This PR mainly adds support for the OpenWrt system:

Similar to Synology DSM, the test container for OpenWrt also uses QEMU virtualization technology.
A single Molecule scenario cannot complete the full automated testing.
Thus, the testing process is split into two separate scenarios:
One scenario is used to create the OpenWrt test container.
The other scenario is used to connect to the container and run the tests.

Users are required to manually create the OpenWrt container and ensure that the system is fully initialized before proceeding with tests.

NOTE: OpenWrt does not support installing Docker by specifying a version number.
It also does not support configuring the daemon.json file.

  • New vars
    • docker_openwrt_opkg_check_package
    • docker_openwrt_opkg_present_latest_packages
  • New molecule distro
    • openwrt24

Related Issue

none

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

- molecule will use directory name without 'ansible-role-' or 'ansible-' prefix
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.

1 participant