Skip to content

Commit

Permalink
feat(snap): add patch contnets
Browse files Browse the repository at this point in the history
 patch -p1 < ./0001-fix-snap-update-the-snap-optimization-patch.patch.txt
patching file snap/local/patches/0001-optimize-build-for-pipeline-CI-check.patch

Signed-off-by: Jim Wang <[email protected]>
  • Loading branch information
jim-wang-intel committed Feb 8, 2021
1 parent 45ee40c commit 362659e
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 1e537489..faf42425 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -73,77 +73,6 @@ confinement: strict
@@ -73,78 +73,6 @@ confinement: strict

apps:
# edgex microservices
Expand All @@ -39,12 +39,13 @@ index 1e537489..faf42425 100644
- plugs: [network, network-bind]
- redis:
- adapter: full
- after: [security-secretstore-setup]
- command: bin/redis-server $DIR_OPT $SAVE_OPT1 $SAVE_OPT2
- after: [security-bootstrap-redis]
- command: bin/redis-server $CONFIG_FILE $DIR_OPT $SAVE_OPT1 $SAVE_OPT2
- environment:
- DIR_OPT: "--dir $SNAP_DATA/redis"
- SAVE_OPT1: "--save 900 1"
- SAVE_OPT2: "--save 300 10"
- CONFIG_FILE: "$SNAP_DATA/redis/conf/redis.conf"
- daemon: simple
- plugs: [network, network-bind]
- postgres:
Expand Down

0 comments on commit 362659e

Please sign in to comment.