Project with DigitalOcean Tools that are used to maintain Atesmaps infrastructure.
This project uses GitHub Actions for manage deployments. See deploy.yaml for more details.
docker run --rm atesmaps-do-tools:latest {do-tool-action}
Run -h
to display help usage:
docker run --rm atesmaps-do-tools:latest -h
- Action
volume-snapshots
:docker run \ --rm \ --name atesmaps-do-tools \ atesmaps-do-tools:latest \ volume-snapshots \ --volume-ids abcdefghi-0000-00xx-000x-000000xxxxxx \ --retention-days 10
First of all you need to activate pipenv shell
:
pip install pipenv && pipenv shell
Run do-tools
action:
python3 src/main.py {do-tool-action}
Run -h
to display help usage:
python3 src/main.py -h
This project requires Python3
.
- Install
pipenv
:pip install --upgrade pip && pip install pipenv
- Activate virtualenv:
pipenv shell
- Run Python script:
python3 src/main.py
- Nil Torrano: [email protected]
- Atesmaps: [email protected]