This repository has been archived by the owner on Aug 24, 2021. It is now read-only.
forked from cpswarm/deployment-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
Example: Orders
Farshid Tavakolizadeh edited this page Feb 25, 2019
·
1 revision
Install/launch on targets.
version: 0.5
source:
# zip:
paths:
- package
deploy:
# How to install the package(s)
install:
commands:
- go build package/count_to_three.go
# How to launch the application(s)
run:
commands:
- ./count_to_three
autoRestart: true
# Which target devices should receive the package
target:
ids:
tags:
- turtlebot
- dev
# Whether the device should send all standard output (true) or just status info
debug: true
Build and then install/launch on targets.
version: 0.5
source:
# zip:
paths:
- package
# Deployment stages
build:
# How to build the package(s)
commands:
- go build -v package/count_to_three.go
# What files or directories should be extracted
artifacts:
- count_to_three
# Which host device should perform the build
host: my-laptop
deploy:
# How to install the package(s)
install:
commands:
- chmod +x count_to_three
# How to launch the application(s)
run:
commands:
- ./count_to_three
autoRestart: true
# Which target devices should receive the package
target:
ids:
tags:
- turtlebot
- dev
# Whether the device should send all standard output (true) or just status info
debug: true