-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3296 from reubenmiller/feat-cloud-profile-mapper-…
…service-targets feat(packaging): manage tedge-mapper cloud profile service instances in install/upgrade/uninstall
- Loading branch information
Showing
26 changed files
with
250 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Unit] | ||
Description=tedge-mapper-aws cloud profile services | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Unit] | ||
Description=tedge-mapper-az cloud profile services | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Unit] | ||
Description=tedge-mapper-c8y cloud profile services | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,17 @@ contents: | |
mode: 0644 | ||
packager: rpm | ||
|
||
- src: ./configuration/init/systemd/tedge-mapper-aws.target | ||
dst: /lib/systemd/system/tedge-mapper-aws.target | ||
file_info: | ||
mode: 0644 | ||
packager: deb | ||
- src: ./configuration/init/systemd/tedge-mapper-aws.target | ||
dst: /lib/systemd/system/tedge-mapper-aws.target | ||
file_info: | ||
mode: 0644 | ||
packager: rpm | ||
|
||
- src: ./configuration/init/systemd/[email protected] | ||
dst: /lib/systemd/system/[email protected] | ||
file_info: | ||
|
@@ -66,6 +77,17 @@ contents: | |
mode: 0644 | ||
packager: rpm | ||
|
||
- src: ./configuration/init/systemd/tedge-mapper-az.target | ||
dst: /lib/systemd/system/tedge-mapper-az.target | ||
file_info: | ||
mode: 0644 | ||
packager: deb | ||
- src: ./configuration/init/systemd/tedge-mapper-az.target | ||
dst: /lib/systemd/system/tedge-mapper-az.target | ||
file_info: | ||
mode: 0644 | ||
packager: rpm | ||
|
||
- src: ./configuration/init/systemd/[email protected] | ||
dst: /lib/systemd/system/[email protected] | ||
file_info: | ||
|
@@ -88,6 +110,17 @@ contents: | |
mode: 0644 | ||
packager: rpm | ||
|
||
- src: ./configuration/init/systemd/tedge-mapper-c8y.target | ||
dst: /lib/systemd/system/tedge-mapper-c8y.target | ||
file_info: | ||
mode: 0644 | ||
packager: deb | ||
- src: ./configuration/init/systemd/tedge-mapper-c8y.target | ||
dst: /lib/systemd/system/tedge-mapper-c8y.target | ||
file_info: | ||
mode: 0644 | ||
packager: rpm | ||
|
||
- src: ./configuration/init/systemd/[email protected] | ||
dst: /lib/systemd/system/[email protected] | ||
file_info: | ||
|
1 change: 0 additions & 1 deletion
1
configuration/package_scripts/_generated/c8y-firmware-plugin/apk/postinst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#!/bin/sh | ||
set -e | ||
|
1 change: 0 additions & 1 deletion
1
configuration/package_scripts/_generated/c8y-firmware-plugin/apk/postrm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#!/bin/sh | ||
set -e | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,5 @@ set -e | |
|
||
|
||
|
||
|
||
### Create supported operation files | ||
c8y-remote-access-plugin --init |
1 change: 0 additions & 1 deletion
1
configuration/package_scripts/_generated/c8y-remote-access-plugin/apk/postrm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#!/bin/sh | ||
set -e | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,3 @@ case "$1" in | |
esac | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,6 @@ set -e | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
enable_start_service() { | ||
name="$1" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,3 @@ case "$1" in | |
esac | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
configuration/package_scripts/_generated/tedge-watchdog/apk/postinst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#!/bin/sh | ||
set -e | ||
|
1 change: 0 additions & 1 deletion
1
configuration/package_scripts/_generated/tedge-watchdog/apk/postrm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#!/bin/sh | ||
set -e | ||
|
Oops, something went wrong.