Add the service mappings YAML configuration#65
Open
abhibongale wants to merge 6 commits into
Open
Conversation
Service Mappings yaml maps what infrastructure is needed for each openstack ci job type. Which will be used by jobclassifier to determine required containers/services. Closes: #64 Signed-off-by: Abhishek Bongale <abhishekbongale@outlook.com>
|
Please run the following commands locally to fix: black stackbox/ tests/
ruff check --fix stackbox/ tests/
mypy stackbox/core/compose.py |
1. NodeConfig - Individual test node with name and OS label.
2. NodesetConfig - Collection of nodes with helper methods for platform
detection.
3. VariableSet - Merged variables with deep merge logic for nested dicts
4. JobConfig - Complete job configuration with:
- All Zuul fields (name, parent, timeout, voting, etc.)
- DevStack variable extraction in __post_init__
- Helper methods: get_enabled_services(), has_service(), etc.
- merge_with_parent() method for inheritance resolution
- Inheritance chain tracking for debugging
Closes: #66
Signed-off-by: Abhishek Bongale <abhishekbongale@outlook.com>
|
Please run the following commands locally to fix: black stackbox/ tests/
ruff check --fix stackbox/ tests/
mypy stackbox/core/compose.py |
Classifier analyzes the job and create analyis dict which will be used to create job-manifest.yaml (file used to deploy infrastructure). Closes: #67 Signed-off-by: Abhishek Bongale <abhishekbongale@outlook.com>
|
Please run the following commands locally to fix: black stackbox/ tests/
ruff check --fix stackbox/ tests/
mypy stackbox/core/compose.py |
Zuul parser will read any openstack projects .zuul.yaml extract the job config and will be used to build a container by image builder. Closes: #63 Signed-off-by: Abhishek Bongale <abhishekbongale@outlook.com>
|
Please run the following commands locally to fix: black stackbox/ tests/
ruff check --fix stackbox/ tests/
mypy stackbox/core/compose.py |
1 similar comment
|
Please run the following commands locally to fix: black stackbox/ tests/
ruff check --fix stackbox/ tests/
mypy stackbox/core/compose.py |
Extract vriable from devstack specific configuration from parsed job variables and map them to formats needed by stackbox infrastructure. Closes: #68 Signed-off-by: Abhishek Bongale <abhishekbongale@outlook.com>
27454c8 to
eee129f
Compare
|
Please run the following commands locally to fix: black stackbox/ tests/
ruff check --fix stackbox/ tests/
mypy stackbox/core/compose.py |
1 similar comment
|
Please run the following commands locally to fix: black stackbox/ tests/
ruff check --fix stackbox/ tests/
mypy stackbox/core/compose.py |
25fa12c to
0d96241
Compare
|
Please run the following commands locally to fix: black stackbox/ tests/
ruff check --fix stackbox/ tests/
mypy stackbox/core/compose.py |
Implemented Service orchestrator, reconciler how's job is to check job manifestation, and service registry job is to register the new services and discard old ones. Closes: #69 Signed-off-by: Abhishek Bongale <abhishekbongale@outlook.com>
0d96241 to
db37522
Compare
|
Please run the following commands locally to fix: black stackbox/ tests/
ruff check --fix stackbox/ tests/
mypy stackbox/core/compose.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Service Mappings yaml maps what infrastructure is needed for each openstack ci job type.
Which will be used by jobclassifier to determine required containers/services.
Closes: #64
Description
Related Issue
Fixes #
Type of Change
Checklist
Testing
Unit Tests
Code Quality
Coverage
Screenshots (if applicable)
Additional Notes