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

[snap] Add snapcraft for strictmode #3454

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arif-ali
Copy link
Member

With Ubuntu Desktop Core to be available in April, a new sosreport may be required for debugging annd grabbing data of these systems. This is an inital start to get this implemented and automated in publishing for usage.

Related: SET-380


Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines

  • Is the commit message split over multiple lines and hard-wrapped at 72 characters?
  • Is the subject and message clear and concise?
  • Does tsnap/snapcraft_strictmode.yamlhe subject start with [plugin_name] if submitting a plugin patch or a [section_name] if part of the core sosreport code?
  • Does the commit contain a Signed-off-by: First Lastname email@example.com?
  • Are any related Issues or existing PRs properly referenced via a Closes (Issue) or Resolved (PR) line?

Copy link

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo yum install -y dnf-plugins-core on RHEL 8
  • sudo dnf install -y dnf-plugins-core on Fedora
  • dnf copr enable packit/sosreport-sos-3454
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

@arif-ali arif-ali force-pushed the sos-arif-snap-strictmode branch 2 times, most recently from 244c1ea to 1d75d28 Compare December 25, 2023 16:15
With Ubuntu Desktop Core to be available in April, a new sosreport
may be required for debugging annd grabbing data of these systems.
This is an inital start to get this implemented and automated in
publishing for usage.

Add testing for strictmode snap for latest ubuntu distro

Related: SET-380

Signed-off-by: Arif Ali <arif.ali@canonical.com>
build-snaps: [core22]
override-prime: |
set -eux
for snap in "core22"; do # List all content-snaps you're using here
Copy link
Contributor

Choose a reason for hiding this comment

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

You plan to extend the list of snaps in future, right? As currently the for cycle with 1 iteration makes a little sense..

Copy link
Member Author

Choose a reason for hiding this comment

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

good point, it was a copy and paste from somewhere else. I will solve that, once I've figured out why the stageone tasks are not going through, and solve these.

@arif-ali arif-ali added this to the 4.8.0 milestone Feb 14, 2024
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.

None yet

2 participants