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

Add manifest entry for dangerous grade images (new) #1541

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

pieqq
Copy link
Collaborator

@pieqq pieqq commented Oct 15, 2024

Description

In our testing lab, we need to provision some devices with Ubuntu Core
images that are set to use the 'dangerous' grade.

This will fail the image/model-grade test.

Add a new dangerous_grade_core_image manifest to decide whether or not
we should be running this test.

It will be run by default (when there is no manifest entry, its value is
set to 'False'), but by setting it to True, the test will be skipped.

image

Resolved issues

Fix #1479
Fix CHECKBOX-1572

Documentation

Tests

In our testing lab, we need to provision some devices with Ubuntu Core
images that are set to use the 'dangerous' grade.

This will fail the `image/model-grade` test.

Add a new `dangerous_grade_core_image` manifest to decide whether or not
we should be running this test.

It will be run by default (when there is no manifest entry, its value is
set to 'False'), but by setting it to True, the test will be skipped.
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.76%. Comparing base (dd75a99) to head (29018e7).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1541      +/-   ##
==========================================
+ Coverage   47.75%   47.76%   +0.01%     
==========================================
  Files         370      370              
  Lines       39739    39750      +11     
  Branches     6719     6720       +1     
==========================================
+ Hits        18976    18987      +11     
  Misses      20048    20048              
  Partials      715      715              
Flag Coverage Δ
provider-base 24.71% <ø> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@Hook25 Hook25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, ty for coming up with a name

@Hook25 Hook25 merged commit 37dcd06 into main Oct 15, 2024
41 checks passed
@Hook25 Hook25 deleted the 1479-model-grade-manifest branch October 15, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

drop image/model-grade test for platforms that we test with dangerous images
2 participants