Deploy

The maand deploy command apply changes to the remote workers by synchronizing files.


Deploy Command

To propagate changes to all workers, use:

$ maand deploy

This command uses rsync to copy the necessary files to each worker.


Verify

  1. SSH into an worker and confirm the job files are deployed:
    $ ssh -i secrets/worker.key agent@10.27.221.181 'tree /opt/worker'
    

Example Output:

/opt/worker
└── db3c0da7-6709-4d8c-94a0-5f66b0e32249
    ├── worker.txt
    ├── bin
    │   └── runner.py
    ├── jobs.json
    ├── labels.txt
    └── update_seq.txt