Skip to content

Commit

Permalink
feat!: Remove snap packaging (#635)
Browse files Browse the repository at this point in the history
Signed-off-by: Farshid Tavakolizadeh <[email protected]>
  • Loading branch information
farshidtz authored Oct 24, 2023
1 parent 3d33c97 commit aecec81
Show file tree
Hide file tree
Showing 16 changed files with 5 additions and 351 deletions.
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,3 @@ updates:
# Included when device-sdk-go is updated
- dependency-name: "github.com/edgexfoundry/go-mod-bootstrap/v3"
# Included when device-sdk-go is updated
# Maintain dependencies for snap's internal Go modules
- package-ecosystem: "gomod"
directory: "/snap/local/helper-go"
schedule:
interval: "daily"
30 changes: 0 additions & 30 deletions .github/workflows/snap.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,4 @@ cmd/device-mqtt
glide.lock
VERSION

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

edgeXBuildGoApp (
project: 'device-mqtt-go',
buildSnap: false
)
project: 'device-mqtt-go'
)
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MQTT Micro Service - device service for connecting a MQTT topic to EdgeX acting

## 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 images do not include the NATS messaging capability.

The following make commands will build the local binary or local Docker image with NATS messaging
capability included.
Expand All @@ -25,11 +25,8 @@ The locally built Docker image can then be used in place of the published Docker
See [Compose Builder](https://github.com/edgexfoundry/edgex-compose/tree/main/compose-builder#gen) `nat-bus` option to generate compose file for NATS and local dev images.

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

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.
This component is packaged as docker images.
Please refer to the [Dockerfile](Dockerfile) and [Docker Compose Builder](https://github.com/edgexfoundry/edgex-compose/tree/main/compose-builder) scripts.

## Usage
Users can refer to [this document](https://docs.edgexfoundry.org/2.1/examples/Ch-ExamplesAddingMQTTDevice) to learn how to use this device service.
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.

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

This file was deleted.

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

This file was deleted.

34 changes: 0 additions & 34 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.

53 changes: 0 additions & 53 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.

95 changes: 0 additions & 95 deletions snap/snapcraft.yaml

This file was deleted.

0 comments on commit aecec81

Please sign in to comment.