deployment-tool

module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2019 License: Apache-2.0

README

CPSwarm Deployment Tool

HitCount 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.

Documentation

Development Status

Feature Functional
Deployment Logs
Package Assembly
Package Transfer
Package Installation
Validation Testing -
Package Activation
Certificate Manager -
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

Get the codes
git clone <repo-address> deployment-tool/src/code.linksmart.eu/dt/deployment-tool
Build
export GOPATH=$(pwd)
go install code.linksmart.eu/dt/deployment-tool/manager
go install code.linksmart.eu/dt/deployment-tool/agent
Build with static linked dependencies (armv7)
sudo sh build/zeromq/install-armv7.sh
CGO_CPPFLAGS="-I/usr/include" CGO_LDFLAGS="-L/usr/lib -lzmq -lpthread -lsodium -lrt -lstdc++ -lm -lc -lgcc" go build -v --ldflags '-extldflags "-static"' -a code.linksmart.eu/dt/deployment-tool/agent

Directories

Path Synopsis
buffer
Package buffer implements a first-in-first-out (FIFO) fixed-capacity list
Package buffer implements a first-in-first-out (FIFO) fixed-capacity list

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL