Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lueschem/edi-cd
GitOps inspired fleet management for embedded devices.
https://github.com/lueschem/edi-cd
ansible continous-deployment continuous-delivery fleet-management github-actions gitops iot ota-update
Last synced: 10 days ago
JSON representation
GitOps inspired fleet management for embedded devices.
- Host: GitHub
- URL: https://github.com/lueschem/edi-cd
- Owner: lueschem
- License: mit
- Created: 2022-05-05T19:36:48.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2024-07-05T08:09:28.000Z (4 months ago)
- Last Synced: 2024-10-12T02:07:07.494Z (27 days ago)
- Topics: ansible, continous-deployment, continuous-delivery, fleet-management, github-actions, gitops, iot, ota-update
- Homepage:
- Size: 69.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# edi-cd
GitOps inspired fleet management for embedded devices.
## Run Playbook Locally
Without 2FA using username and password:
``` bash
export MENDER_USER=MY_MENDER_LOGIN
export MENDER_PASSWORD=MY_MENDER_PASSWORD
export RUNNER_ACCESS_TOKEN=ghp_XYZ
export INFLUXDB_HTTP_TOKEN=ABCDE
export PLAYBOOK_MODE=run # run=apply changes, dry-run=simulate changes (default), dry-run-debug=simulate changes and show debug information
git checkout BRANCH_XY
ansible-playbook manage-fleet.yml -i inventory.yml
```By using a mender access token:
``` bash
export MENDER_ACCESS_TOKEN=MY_MENDER_ACCESS_TOKEN
export RUNNER_ACCESS_TOKEN=ghp_XYZ
export INFLUXDB_HTTP_TOKEN=ABCDE
export PLAYBOOK_MODE=run # run=apply changes, dry-run=simulate changes (default), dry-run-debug=simulate changes and show debug information
git checkout BRANCH_XY
ansible-playbook manage-fleet.yml -i inventory.yml
```Attention: `dry-run-debug` might reveal sensitive information. Use this mode only locally.
## Secrets on GitHub
`MENDER_ACCESS_TOKEN`: the Mender personal access token
`RUNNER_ACCESS_TOKEN`: the GitHub access token (with repo scope) for GitHub Actions runners
## More Information
This [blog post](https://www.get-edi.io/Managing-an-IoT-Fleet-with-GitOps/) describes the GitOps inspired fleet management approach.