Skip to content
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

many: Snap integrity discovery #14873

Draft
wants to merge 28 commits into
base: master
Choose a base branch
from

multiple: support for detecting and using integrity data for seed snaps

184b225
Select commit
Loading
Failed to load commit list.
Draft

many: Snap integrity discovery #14873

multiple: support for detecting and using integrity data for seed snaps
184b225
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jan 15, 2025 in 0s

66.56% of diff hit (target 78.20%)

View this Pull Request on Codecov

66.56% of diff hit (target 78.20%)

Annotations

Check warning on line 501 in asserts/snap_asserts.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

asserts/snap_asserts.go#L498-L501

Added lines #L498 - L501 were not covered by tests

Check warning on line 527 in asserts/snap_asserts.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

asserts/snap_asserts.go#L504-L527

Added lines #L504 - L527 were not covered by tests

Check warning on line 770 in asserts/snap_asserts.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

asserts/snap_asserts.go#L769-L770

Added lines #L769 - L770 were not covered by tests

Check warning on line 778 in asserts/snap_asserts.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

asserts/snap_asserts.go#L777-L778

Added lines #L777 - L778 were not covered by tests

Check warning on line 1813 in cmd/snap-bootstrap/cmd_initramfs_mounts.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/snap-bootstrap/cmd_initramfs_mounts.go#L1808-L1813

Added lines #L1808 - L1813 were not covered by tests

Check warning on line 1819 in cmd/snap-bootstrap/cmd_initramfs_mounts.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/snap-bootstrap/cmd_initramfs_mounts.go#L1816-L1819

Added lines #L1816 - L1819 were not covered by tests

Check warning on line 1823 in cmd/snap-bootstrap/cmd_initramfs_mounts.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/snap-bootstrap/cmd_initramfs_mounts.go#L1822-L1823

Added lines #L1822 - L1823 were not covered by tests

Check warning on line 1116 in seed/seed20.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

seed/seed20.go#L1115-L1116

Added lines #L1115 - L1116 were not covered by tests

Check warning on line 1178 in seed/seed20.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

seed/seed20.go#L1177-L1178

Added lines #L1177 - L1178 were not covered by tests

Check warning on line 97 in seed/seedtest/seedtest.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

seed/seedtest/seedtest.go#L96-L97

Added lines #L96 - L97 were not covered by tests

Check warning on line 114 in seed/seedtest/seedtest.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

seed/seedtest/seedtest.go#L114

Added line #L114 was not covered by tests

Check warning on line 179 in seed/seedtest/seedtest.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

seed/seedtest/seedtest.go#L170-L179

Added lines #L170 - L179 were not covered by tests

Check warning on line 183 in seed/seedtest/seedtest.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

seed/seedtest/seedtest.go#L182-L183

Added lines #L182 - L183 were not covered by tests

Check warning on line 85 in snap/integrity/dmverity/veritysetup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/dmverity/veritysetup.go#L84-L85

Added lines #L84 - L85 were not covered by tests

Check warning on line 153 in snap/integrity/dmverity/veritysetup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/dmverity/veritysetup.go#L143-L153

Added lines #L143 - L153 were not covered by tests

Check warning on line 155 in snap/integrity/dmverity/veritysetup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/dmverity/veritysetup.go#L155

Added line #L155 was not covered by tests

Check warning on line 168 in snap/integrity/dmverity/veritysetup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/dmverity/veritysetup.go#L168

Added line #L168 was not covered by tests

Check warning on line 182 in snap/integrity/dmverity/veritysetup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/dmverity/veritysetup.go#L181-L182

Added lines #L181 - L182 were not covered by tests

Check warning on line 194 in snap/integrity/dmverity/veritysetup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/dmverity/veritysetup.go#L193-L194

Added lines #L193 - L194 were not covered by tests

Check warning on line 232 in snap/integrity/dmverity/veritysetup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/dmverity/veritysetup.go#L230-L232

Added lines #L230 - L232 were not covered by tests

Check warning on line 234 in snap/integrity/dmverity/veritysetup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/dmverity/veritysetup.go#L234

Added line #L234 was not covered by tests

Check warning on line 242 in snap/integrity/dmverity/veritysetup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/dmverity/veritysetup.go#L241-L242

Added lines #L241 - L242 were not covered by tests

Check warning on line 248 in snap/integrity/dmverity/veritysetup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/dmverity/veritysetup.go#L247-L248

Added lines #L247 - L248 were not covered by tests

Check warning on line 57 in snap/integrity/integrity.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/integrity.go#L57

Added line #L57 was not covered by tests

Check warning on line 65 in snap/integrity/integrity.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

snap/integrity/integrity.go#L64-L65

Added lines #L64 - L65 were not covered by tests