Skip to content

Commit

Permalink
Merge pull request edgexfoundry#4201 from farshidtz/snap-exclude-redu…
Browse files Browse the repository at this point in the history
…ndant-debs

build(snap): Exclude redundant eKuiper dependencies
  • Loading branch information
MonicaisHer committed Oct 19, 2022
2 parents 84347fd + 8ccbfce commit cbeaad2
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ apps:
SECRETSTORE_TOKENFILE: $SNAP_DATA/secrets/sys-mgmt-agent/secrets-token.json
daemon: simple
plugs: [network, network-bind]
# Deprecated
# Use standalone edgex-app-service-configurable snap
app-service-configurable:
adapter: full
after:
Expand Down Expand Up @@ -442,6 +444,8 @@ apps:
# who is initially created as a role with postgres
- bin/drop-snap-daemon.sh
plugs: [home, removable-media, network]
# Deprecated
# Use standalone edgex-ekuiper snap
kuiper:
adapter: full
after:
Expand All @@ -458,6 +462,8 @@ apps:
SOURCE_FILE: $SNAP_DATA/kuiper/etc/sources/edgex.yaml
CONNECTION_FILE: $SNAP_DATA/kuiper/etc/connections/connection.yaml
plugs: [network, network-bind]
# Deprecated
# Use standalone edgex-ekuiper snap
kuiper-cli:
adapter: full
command: bin/kuiper
Expand Down Expand Up @@ -768,8 +774,7 @@ parts:
organize:
vault: bin/vault

# DEVICE SERVICES parts
# TODO: vet all the correct files are available...
# Deprecated
app-service-configurable:
plugin: nil
stage-snaps:
Expand All @@ -788,7 +793,7 @@ parts:
- -usr/share/doc/libpgm-5.2-0/*
- -usr/share/doc/libsodium23/*
- -usr/share/doc/libzmq5/*

# Deprecated
kuiper:
plugin: nil
stage-snaps:
Expand All @@ -805,13 +810,24 @@ parts:
- -usr/lib/*/libpgm*
- -usr/lib/*/libsodium*
- -usr/lib/*/libzmq*
- -usr/lib/*/libasn1*
- -usr/lib/*/libgssapi*
- -usr/lib/*/libhcrypto*
- -usr/lib/*/libheimbase*
- -usr/lib/*/libheimntlm*
- -usr/lib/*/libhx509*
- -usr/lib/*/libkrb5*
- -usr/lib/*/libroken*
- -usr/lib/*/libwind*
- -usr/share/doc/libcurl*
- -usr/share/doc/curl
- -usr/share/doc/libldap*
- -usr/share/doc/libnorm*
- -usr/share/doc/libpgm*
- -usr/share/doc/libsodium*
- -usr/share/doc/libzmq*
- -usr/share/doc/libheimbase1-heimdal
- -usr/share/doc/libroken18-heimdal

metadata:
plugin: nil
Expand Down

0 comments on commit cbeaad2

Please sign in to comment.