noqdev / iambic

IAMbic is Version-Control for IAM. It centralizes and simplifies cloud access and permissions. It maintains an eventually consistent, human-readable, bi-directional representation of IAM in Git.
https://iambic.org
Apache License 2.0
281 stars 26 forks source link

Make import work for BitBucket, CodeCommit and GitLab #617

Open smoy opened 1 year ago

smoy commented 1 year ago

What changed?

Rationale

How was it tested?

If it was manually verified, list the instructions for your reviewers to follow.

Run VSCode action: "Iambic: Simulate Generic Git Provider" with GIT_PROVIDER_UNDER_TEST with either bitbucket, codecommit, or gitlab

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 5.14% and project coverage change: +8.91% :tada:

Comparison is base (c768953) 73.22% compared to head (1a1ec9d) 82.14%. Report is 5 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #617 +/- ## ========================================== + Coverage 73.22% 82.14% +8.91% ========================================== Files 105 107 +2 Lines 12588 12724 +136 ========================================== + Hits 9218 10452 +1234 + Misses 3370 2272 -1098 ``` | [Flag](https://app.codecov.io/gh/noqdev/iambic/pull/617/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=noqdev) | Coverage Δ | | |---|---|---| | [functional_tests](https://app.codecov.io/gh/noqdev/iambic/pull/617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=noqdev) | `65.25% <5.14%> (?)` | | | [functional_tests_config_discovery](https://app.codecov.io/gh/noqdev/iambic/pull/617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=noqdev) | `45.29% <0.73%> (?)` | | | [unit_tests](https://app.codecov.io/gh/noqdev/iambic/pull/617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=noqdev) | `72.50% <5.14%> (-0.73%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=noqdev#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files Changed](https://app.codecov.io/gh/noqdev/iambic/pull/617?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=noqdev) | Coverage Δ | | |---|---|---| | [.../v0\_1\_0/generic\_git\_provider/aws\_lambda\_handler.py](https://app.codecov.io/gh/noqdev/iambic/pull/617?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=noqdev#diff-aWFtYmljL3BsdWdpbnMvdjBfMV8wL2dlbmVyaWNfZ2l0X3Byb3ZpZGVyL2F3c19sYW1iZGFfaGFuZGxlci5weQ==) | `0.00% <0.00%> (ø)` | | | [.../v0\_1\_0/generic\_git\_provider/generic\_git\_client.py](https://app.codecov.io/gh/noqdev/iambic/pull/617?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=noqdev#diff-aWFtYmljL3BsdWdpbnMvdjBfMV8wL2dlbmVyaWNfZ2l0X3Byb3ZpZGVyL2dlbmVyaWNfZ2l0X2NsaWVudC5weQ==) | `0.00% <0.00%> (ø)` | | | [iambic/plugins/v0\_1\_0/aws/cloud\_formation/utils.py](https://app.codecov.io/gh/noqdev/iambic/pull/617?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=noqdev#diff-aWFtYmljL3BsdWdpbnMvdjBfMV8wL2F3cy9jbG91ZF9mb3JtYXRpb24vdXRpbHMucHk=) | `21.66% <14.28%> (-1.57%)` | :arrow_down: | | [iambic/plugins/v0\_1\_0/aws/models.py](https://app.codecov.io/gh/noqdev/iambic/pull/617?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=noqdev#diff-aWFtYmljL3BsdWdpbnMvdjBfMV8wL2F3cy9tb2RlbHMucHk=) | `85.64% <100.00%> (+29.29%)` | :arrow_up: | ... and [49 files with indirect coverage changes](https://app.codecov.io/gh/noqdev/iambic/pull/617/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=noqdev)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.