cloudstack
cloudstack copied to clipboard
docker local environment
Description
This PR... As a MacOS user, I need a Docker environment which packages all the necessary dependencies in order to locally work on cloudstack. This PR introduces containerization of services like cloudstack and mysql. Feature Request: https://github.com/apache/cloudstack/issues/10967
Types of changes
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
- [ ] build/CI
- [ ] test (unit or integration test code)
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
- [ ] Major
- [x] Minor
How Has This Been Tested?
I have run this on my local machine, I am able to spin up a container with the Cloudstack Project and connect a MySQL container with the correct table and information
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 16.57%. Comparing base (
41b4f0a) to head (6b6bbb8). Report is 21 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #10993 +/- ##
============================================
- Coverage 16.57% 16.57% -0.01%
+ Complexity 13870 13869 -1
============================================
Files 5719 5719
Lines 507200 507200
Branches 61574 61574
============================================
- Hits 84093 84089 -4
- Misses 413688 413692 +4
Partials 9419 9419
| Flag | Coverage Δ | |
|---|---|---|
| uitests | 3.96% <ø> (ø) |
|
| unittests | 17.45% <ø> (-0.01%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
thanks for the sharing @bri-harris
my opinions
- ubuntu 20.04 is too old, try with ubuntu 24.04
- better to move the code to tools/ directory, instead of root directory of the repo
- to be frank, I think it is better to create a repo and put the files there, instead of official cloudstack repo.