|
Ran
|
Jobs
1
|
Files
118
|
Run time
1min
|
Badge
README BADGES
|
push
github
Application aware CrownLabs templates - backend - cldprog/group02 (#938) * Feat: Adding multi environment support Co-authored-by: giando332994 <giando332994@users.noreply.github.com> Co-authored-by: giulia-mascarin <giulia-mascarin@users.noreply.github.com> Co-authored-by: ferroo2000 <ferroo2000@users.noreply.github.com> fixed pkg/examagent support to env list fixed tests to use environments array (pkg/instctrl/: containers, controller, exposition, virtualmachine _test) Correction in exposition.go fixed changes in exposition.go and exposition_test.go in operators/pkg/instctrl fixed tests for containers.go fixed virtualmachine_tests, added pointer in virtualmachine to work with tests partial adjustments in controller_test.go adjustments to controller_test.go added a test fix: pointers assignment in common submission and controller fix: exposition.go index check in enforceInstanceExpositionAbsence to comply with controller_test fix: merge conflicts * chore: move NodeSelector from environment to template * deployment, vm, vmi, cloud-init secret, pvc, service, ingress... are now labeled with also the environment and not just the instance. Started changing the type of urls in instance specification * fix: instance controller_test to use index-based updates on EnvironmentList, examagent/instance.go to use the new InstanceContentUrls map of instance_types * chore: remove useless comments * changes made following Cuccinella's sugestion in the review * temporary part of the modifications based on Federico's review. NO FINAL VERSION * Revert "temporary part of the modifications based on Federico's review. NO FINAL VERSION" This reverts commit f4fb75b97. * fix: add instance status env name * fix: instance status env list initialization * feat: added (outer) Phase at instance level fix: fixed comment in eng * bringing rootUrl at instance level * fix: controller tests with "outer" phase checked * cloud-in... (continued)
217 of 452 new or added lines in 20 files covered. (48.01%)
7 existing lines in 5 files now uncovered.5384 of 16092 relevant lines covered (33.46%)
7.79 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
84.38 |
0.0% | operators/pkg/forge/utils.go |
| 1 |
50.72 |
0.72% | operators/pkg/instctrl/publicexposure.go |
| 2 |
0.0 |
0.0% | operators/pkg/instmetrics/server.go |
| 5 |
84.04 |
-3.61% | operators/pkg/instctrl/exposition.go |
| 6 |
67.39 |
-10.11% | operators/pkg/context/context.go |
| 7 |
0.0 |
0.0% | operators/pkg/instautoctrl/common.go |
| 11 |
75.0 |
-4.85% | operators/pkg/forge/labels.go |
| 13 |
80.65 |
-12.61% | operators/pkg/forge/ingresses.go |
| 14 |
0.0 |
0.0% | operators/pkg/instautoctrl/inactivity.go |
| 14 |
0.0 |
0.0% | operators/pkg/webssh/validator.go |
| 20 |
0.0 |
0.0% | operators/pkg/instautoctrl/termination.go |
| 22 |
0.0 |
0.0% | operators/pkg/examagent/instance.go |
| 35 |
0.0 |
0.0% | operators/api/v1alpha2/zz_generated.deepcopy.go |
| 40 |
64.4 |
5.82% | operators/pkg/instctrl/controller.go |
| 44 |
0.0 |
0.0% | operators/pkg/instautoctrl/submission.go |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
80.65 |
-12.61% | operators/pkg/forge/ingresses.go |
| 1 |
0.0 |
0.0% | operators/pkg/instautoctrl/common.go |
| 1 |
64.4 |
5.82% | operators/pkg/instctrl/controller.go |
| 2 |
0.0 |
0.0% | operators/pkg/instautoctrl/submission.go |
| 2 |
0.0 |
0.0% | operators/pkg/webssh/validator.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 19473659041.1 | 118 |
33.46 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|