Skip to content

amilankovich-slab/deployment-tool

 
 

Repository files navigation

CPSwarm Deployment Tool

GoDoc Build Status

An over-the-air (OTA) software deployment tool for IoT applications. This project is currently under active development and not ready for production.

Links

Development Status

Feature Functional
Deployment Logs
Package Assembly
Package Transfer
Package Installation
Validation Testing -
Package Activation
Key Management
Package Validation -
Tamper Detection -

Dependencies

Install (Debian ARM)

wget https://pipelines.linksmart.eu/browse/CPSW-DTB/latest/artifact/shared/Debian-Package/deployment-agent-linux-arm.deb
sudo apt install ./deployment-agent-linux-arm.deb

Compile from source

Build

Within the root of the repository:

go build -o bin/manager ./manager
go build -o bin/agent  ./agent

Using Go < 1.11

git clone <repo-addr> src/code.linksmart.eu/dt/deployment-tool
export GOPATH=$(pwd)
go build -v code.linksmart.eu/dt/deployment-tool/agent

Build with static linking

CGO_CPPFLAGS="-I/usr/include" CGO_LDFLAGS="-L/usr/lib -lzmq -lpthread -lrt -lstdc++ -lm -lc -lgcc" go build -v --ldflags '-extldflags "-static"' -a -o bin/agent ./agent

About

CPSwarm Deployment Tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 93.9%
  • Shell 4.7%
  • Dockerfile 1.4%