-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(containers): deployer state machine
The deployment of a release on a device is handled trough a state machine, responsible for creating the cache resources and running the ready actions once all the nested resources are available Moving the delpoyment loginc into a `GenStateMachine`. - States for deploying the resources named as `:deploy_{resource}` - Uses pubsub to update the deployment status when a message with a relevant resource as topic is published. Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
- Loading branch information
Showing
14 changed files
with
703 additions
and
371 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
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
56 changes: 0 additions & 56 deletions
56
backend/lib/edgehog/containers/deployment/changes/check_containers.ex
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
backend/lib/edgehog/containers/deployment/changes/check_deployment.ex
This file was deleted.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
backend/lib/edgehog/containers/deployment/changes/check_images.ex
This file was deleted.
Oops, something went wrong.
56 changes: 0 additions & 56 deletions
56
backend/lib/edgehog/containers/deployment/changes/check_networks.ex
This file was deleted.
Oops, something went wrong.
55 changes: 0 additions & 55 deletions
55
backend/lib/edgehog/containers/deployment/changes/check_volumes.ex
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.