Skip to content

Commit

Permalink
feat!: Remove snap packaging (#612)
Browse files Browse the repository at this point in the history
Signed-off-by: Mengyi Wang <mengyi.wang@canonical.com>
  • Loading branch information
MonicaisHer authored Oct 24, 2023
1 parent f689f4b commit 5219991
Show file tree
Hide file tree
Showing 17 changed files with 3 additions and 386 deletions.
4 changes: 0 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ updates:
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "gomod"
directory: "/snap/local/helper-go"
schedule:
interval: "daily"
29 changes: 0 additions & 29 deletions .github/workflows/snap.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,3 @@ logs/
VERSION
vendor/

# snap files
*.snap
*.assert
prime/
stage/
parts/
squashfs-root/
3 changes: 1 addition & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
//

edgeXBuildGoApp (
project: 'app-service-configurable',
buildSnap: false
project: 'app-service-configurable'
)
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Please see the [edgex-go README](https://github.com/edgexfoundry/edgex-go/blob/m

## Build with NATS Messaging
Currently, the NATS Messaging capability (NATS MessageBus) is opt-in at build time.
This means that the published Docker image and Snaps do not include the NATS messaging capability.
This means that the published Docker image does not include the NATS messaging capability.
```makefile
make build-nats - Builds local binary with NATS MessageBus support
make docker-nats - Builds local docker image with NATS MessageBus support
Expand All @@ -28,12 +28,10 @@ See [Compose Builder](https://github.com/edgexfoundry/edgex-compose/tree/main/co

## Packaging

This component is packaged as docker image and snap.
This component is packaged as docker image.

For docker, please refer to the [Dockerfile](Dockerfile) and [Docker Compose Builder](https://github.com/edgexfoundry/edgex-compose/tree/main/compose-builder) scripts.

For the snap, refer to the [snap](snap) directory.

## Versioning

Please refer to the EdgeX Foundry [versioning policy](https://wiki.edgexfoundry.org/pages/viewpage.action?pageId=21823969) for information on how EdgeX services are released and how EdgeX services are compatible with one another. Specifically, device services (and the associated SDK), application services (and the associated app functions SDK), and client tools (like the EdgeX CLI and UI) can have independent minor releases, but these services must be compatible with the latest major release of EdgeX.
Expand Down
38 changes: 0 additions & 38 deletions snap/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions snap/hooks/configure

This file was deleted.

3 changes: 0 additions & 3 deletions snap/hooks/install

This file was deleted.

14 changes: 0 additions & 14 deletions snap/local/bin/service-wrapper.sh

This file was deleted.

16 changes: 0 additions & 16 deletions snap/local/bin/source-env-file.sh

This file was deleted.

9 changes: 0 additions & 9 deletions snap/local/helper-go/Makefile

This file was deleted.

69 changes: 0 additions & 69 deletions snap/local/helper-go/configure.go

This file was deleted.

5 changes: 0 additions & 5 deletions snap/local/helper-go/go.mod

This file was deleted.

6 changes: 0 additions & 6 deletions snap/local/helper-go/go.sum

This file was deleted.

46 changes: 0 additions & 46 deletions snap/local/helper-go/install.go

This file was deleted.

34 changes: 0 additions & 34 deletions snap/local/helper-go/main.go

This file was deleted.

Loading

0 comments on commit 5219991

Please sign in to comment.