Merge ~sespiros/ubuntu-security-tools/+git/ubuntu-security-tools:coverity-snap-update into ubuntu-security-tools:master

Proposed by Spyros Seimenis
Status: Needs review
Proposed branch: ~sespiros/ubuntu-security-tools/+git/ubuntu-security-tools:coverity-snap-update
Merge into: ubuntu-security-tools:master
Diff against target: 47 lines (+6/-6)
2 files modified
snaps/coverity-ubuntu-security/files/bin/install (+3/-1)
snaps/coverity-ubuntu-security/snapcraft.yaml (+3/-5)
Reviewer Review Type Date Requested Status
Ubuntu Security Team Pending
Review via email: mp+422375@code.launchpad.net
To post a comment you must log in.
8e8bb9f... by Spyros Seimenis

Update coverity version to 2022.06

Unmerged commits

8e8bb9f... by Spyros Seimenis

Update coverity version to 2022.06

67b096a... by Spyros Seimenis

Updated coverity snap to latest version

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/snaps/coverity-ubuntu-security/README b/snaps/coverity-ubuntu-security/README.md
0similarity index 100%0similarity index 100%
1rename from snaps/coverity-ubuntu-security/README1rename from snaps/coverity-ubuntu-security/README
2rename to snaps/coverity-ubuntu-security/README.md2rename to snaps/coverity-ubuntu-security/README.md
diff --git a/snaps/coverity-ubuntu-security/files/bin/install b/snaps/coverity-ubuntu-security/files/bin/install
index 1f030be..e36c875 100755
--- a/snaps/coverity-ubuntu-security/files/bin/install
+++ b/snaps/coverity-ubuntu-security/files/bin/install
@@ -1,7 +1,9 @@
1#!/bin/sh1#!/bin/sh
2set -e2set -e
33
4. "$SNAP/bin/common.sh"4install_symlink="cov-analysis-current"
5topdir="$SNAP_USER_COMMON/$install_symlink"
6bindir="$topdir/bin"
57
6if [ -z "$SNAP_USER_COMMON" ]; then8if [ -z "$SNAP_USER_COMMON" ]; then
7 echo "SNAP_USER_COMMON not set! Aborting"9 echo "SNAP_USER_COMMON not set! Aborting"
diff --git a/snaps/coverity-ubuntu-security/snapcraft.yaml b/snaps/coverity-ubuntu-security/snapcraft.yaml
index 7df5bfa..87145af 100644
--- a/snaps/coverity-ubuntu-security/snapcraft.yaml
+++ b/snaps/coverity-ubuntu-security/snapcraft.yaml
@@ -1,11 +1,11 @@
1name: coverity-ubuntu-security1name: coverity-ubuntu-security
2version: "2019.03-64"2version: "2022.06-64"
3summary: Coverity packaging for running as a snap3summary: Coverity packaging for running as a snap
4description: |4description: |
5 Unpack cov-analysis-linux64-YYYY.MM.tar.gz to $SNAP_USER_COMMON with a symlink5 Unpack cov-analysis-linux64-YYYY.MM.tar.gz to $SNAP_USER_COMMON with a symlink
6 from $SNAP_USER_COMMON/cov-analysis to6 from $SNAP_USER_COMMON/cov-analysis to
7 $SNAP_USER_COMMON/cov-analysis-linux64-2019.03. Copy license file to7 $SNAP_USER_COMMON/cov-analysis-linux64-2022.6.0 Copy license file to
8 $SNAP_USER_COMMON/cov-analysis-linux64-2019.03/bin8 $SNAP_USER_COMMON/cov-analysis-linux64-2022.6.0/bin
9#architectures:9#architectures:
10#- all10#- all
11grade: devel11grade: devel
@@ -26,8 +26,6 @@ apps:
26 command: bin/refresh-auth-key26 command: bin/refresh-auth-key
27 plugs:27 plugs:
28 - network-bind28 - network-bind
29 cov-build:
30 command: bin/cov-build
31 cov-analyze:29 cov-analyze:
32 command: bin/wrap cov-analyze30 command: bin/wrap cov-analyze
33 plugs:31 plugs:

Subscribers

People subscribed via source and target branches