This repository showcases a proof-of-concept (PoC) for deploying configurations to a device (e.g. for diagnostic purposes), using wfx
and a custom workflow.
- Deploy a configuration file
- After file has been deployed, an arbitrary shell action can be peformed, such as restarting a service
Follow these steps to set up and run the demo:
- Build: Simply execute
make
. - Start wfx:
wfx --simple-fileserver ./files
- Create the workflow: If it's your first run, create the workflow with
wfxctl workflow create wfx.workflow.config.deployment.yml
. - Deploy the client: Transfer the
config-deployer
binary to the target device and run it with the desired client id:./config-deployer -c foo
. - Initialize the Job: Generate a new job for the mentioned client id with
./create-job.sh -c foo
.
This project is distributed under the Apache-2.0 license.