Skip to content

Add config option for env and norun configurations and Update README #358

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

Merged
merged 2 commits into from
Apr 29, 2025

Conversation

AYUSHJAIN951
Copy link
Contributor

Add config option for env and norun configurations

Add following config options to extend config support to allow
user-defined options in addition to default values.
1. "--config-env" : Specify env config path
2. "--config-norun" : Specify no run tests config path

Update README

Update README helper statement
Added new config-env and config-norun options documentation

@AYUSHJAIN951
Copy link
Contributor Author

$ :/tmp/lop-devops-tests# python3 avocado-setup.py --bootstrap
09:12:23 INFO    : Env Config: /tmp/lop-devops-tests/config/wrapper/env.conf
09:12:23 INFO    : No Run Config: /tmp/lop-devops-tests/config/wrapper/no_run_tests.conf
09:12:23 INFO    : Check for environment
09:12:23 INFO    : Cleaning the Environment
09:12:24 INFO    : Bootstrapping Framework
09:12:24 INFO    :      1. Creating Avocado Config
09:12:24 INFO    :      2. Installing Avocado Framework
09:12:26 INFO    :      3. Cloning/Updating the repo: avocado-misc-tests with branch master under /tmp/lop-devops-tests/tests/avocado-misc-tests

$ :/tmp/lop-devops-tests# python3 avocado-setup.py --bootstrap --config-env path/env.conf
09:13:26 INFO    : Env Config: path/env.conf
09:13:26 INFO    : No Run Config: /tmp/lop-devops-tests/config/wrapper/no_run_tests.conf
09:13:27 INFO    : Check for environment
09:13:27 INFO    : Cleaning the Environment
09:13:28 INFO    : Bootstrapping Framework
09:13:28 INFO    :      1. Creating Avocado Config
09:13:28 INFO    :      2. Installing Avocado Framework
09:13:38 INFO    :      3. Cloning/Updating the repo: avocado-misc-tests with branch master under /tmp/lop-devops-tests/tests/avocado-misc-tests

$ :/tmp/lop-devops-tests# python3 avocado-setup.py --bootstrap --config-env path/env.conf --config-norun path/no_run_tests.conf
09:13:53 INFO    : Env Config: path/env.conf
09:13:53 INFO    : No Run Config: path/no_run_tests.conf
09:13:53 INFO    : Check for environment
09:13:53 INFO    : Cleaning the Environment
09:13:55 INFO    : Bootstrapping Framework
09:13:55 INFO    :      1. Creating Avocado Config
09:13:55 INFO    :      2. Installing Avocado Framework
09:14:05 INFO    :      3. Cloning/Updating the repo: avocado-misc-tests with branch master under /tmp/lop-devops-tests/tests/avocado-misc-tests

Add following config options to extend config support to allow
user-defined options in addition to default values.
1. "--config-env" : Specify env config path
2. "--config-norun" : Specify no run tests config path

Signed-off-by: Ayush Jain <Ayush.jain3@amd.com>
Update README helper statement
Added new config-env and config-norun options documentation

Signed-off-by: Ayush Jain <Ayush.jain3@amd.com>
@narasimhan-v narasimhan-v merged commit 3753885 into lop-devops:master Apr 29, 2025
@AYUSHJAIN951 AYUSHJAIN951 deleted the configupdate branch May 6, 2025 04:49
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.

2 participants