Skip to content

Commit 0859a22

Browse files
rename orchestrator (#480)
1 parent ec4d8d6 commit 0859a22

File tree

12 files changed

+20
-20
lines changed

12 files changed

+20
-20
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ build/
3434
/arduino-app-cli
3535
/apps
3636
# temporary staging directories
37-
/debian/orchestrator/home
37+
/debian/arduino-app-cli/home

Taskfile.board-emulator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tasks:
1414
orchestrator:release:
1515
desc: Create a new deb release and publish it into the local apt repo
1616
cmds:
17-
- task build-deb:orchestrator
17+
- task build-deb:arduino-app-cli
1818
- |
1919
docker exec aptrepo-emulator bash -c '
2020
aptly repo add arduino . && \

Taskfile.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ tasks:
107107
set -e
108108
echo "Runner version set as: {{ .EXAMPLE_VERSION }}"
109109
TMP_PATH="$(mktemp -d)"
110-
DEST_PATH="debian/orchestrator/home/arduino/.config/arduino-app-cli/"
110+
DEST_PATH="debian/arduino-app-cli/home/arduino/.config/arduino-app-cli/"
111111
echo "Cloning bcmi-labs/app-bricks-example into temporary directory ${TMP_PATH}..."
112112
git clone --depth 1 --branch "{{ .EXAMPLE_VERSION }}" https://github.com/bcmi-labs/app-bricks-example "${TMP_PATH}"
113113
rm -rf "${DEST_PATH}"
@@ -117,12 +117,12 @@ tasks:
117117
echo "Examples successfully cloned."
118118
silent: false
119119

120-
build-deb:orchestrator:
120+
build-deb:arduino-app-cli:
121121
desc: Build debian package
122122
deps:
123123
- clone-examples-repo
124124
cmds:
125-
- docker build --build-arg BINARY_NAME=arduino-app-cli --build-arg DEB_NAME=orchestrator --build-arg VERSION={{ .VERSION }} --build-arg ARCH={{ .ARCH }} --output=./build -f debian/Dockerfile .
125+
- docker build --build-arg BINARY_NAME=arduino-app-cli --build-arg DEB_NAME=arduino-app-cli --build-arg VERSION={{ .VERSION }} --build-arg ARCH={{ .ARCH }} --output=./build -f debian/Dockerfile .
126126
vars:
127127
ARCH: '{{.ARCH | default "arm64"}}'
128128

@@ -136,7 +136,7 @@ tasks:
136136
build-deb:
137137
desc: Build all debian packages
138138
deps:
139-
- build-deb:orchestrator
139+
- build-deb:arduino-app-cli
140140
- build-deb:router
141141

142142
arduino-app-cli:build:local:
@@ -187,15 +187,15 @@ tasks:
187187
- ./debian/scripts/install-remote.sh
188188
- ./debian/imola/setup.sh
189189

190-
board:install-orchestrator:
190+
board:install-arduino-app-cli:
191191
desc: Install orchestrator
192192
cmds:
193193
- rm ./build/*.deb || true
194194
- task: build-deb
195195
- adb shell rm /tmp/*.deb || true
196-
- adb push ./build/orchestrator_*_arm64.deb /tmp/
196+
- adb push ./build/arduino-app-cli_*_arm64.deb /tmp/
197197
- adb push ./build/arduino-router_*_arm64.deb /tmp/
198-
- adb shell dpkg -i /tmp/orchestrator_*_arm64.deb
198+
- adb shell dpkg -i /tmp/arduino-app-cli*_arm64.deb
199199
- adb shell dpkg -i /tmp/arduino-router_*_arm64.deb
200200

201201
setup:examples:local:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Package: arduino-orchestrator
1+
Package: arduino-app-cli
22
Version: $VERSION
33
Architecture: $ARCH
44
Maintainer: arduino <support@arduino.cc>
5-
Description: Arduino application orchestrator
5+
Description: Arduino app cli
66
Depends: arduino-router, needrestart
77

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
chown -R arduino:arduino /home/arduino/.config/arduino-app-cli/examples
4+
5+
systemctl enable arduino-app-cli
File renamed without changes.
File renamed without changes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
systemctl disable arduino-app-cli

debian/orchestrator/etc/systemd/system/arduino-orchestrator.service renamed to debian/arduino-app-cli/etc/systemd/system/arduino-app-cli.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Unit]
2-
Description=Arduino Orchestrator Service
2+
Description=Arduino App CLI daemon Service
33
After=network-online.target docker.service arduino-router.service
44
Wants=network-online.target docker.service arduino-router.service
55
Requires=docker.service arduino-router.service

0 commit comments

Comments
 (0)