Crates.io | opday |
lib.rs | opday |
version | 0.1.0 |
source | src |
created_at | 2024-03-30 19:56:36.860139 |
updated_at | 2024-03-30 19:56:36.860139 |
description | Dex(Ops)Experience for deployments and other ops operations made easy |
homepage | |
repository | https://github.com/aptakhin/opday |
max_upload_size | |
id | 1191288 |
size | 71,190 |
Dex(Ops)Experience for deployments and other ops operations made easy.
Make docker compose for default nginx:
cat > docker-compose.yaml << EOL
version: "3.7"
services:
nginx:
image: nginx:latest
ports:
- "80:80"
EOL
Let's call build now:
opday docker build
This tool requires local installation of another tools and their availability in the shell: docker
, ssh
, rsync
.
This tool prioritizes simplicity and imperativeness over scaling and decorativeness. It provides a simple yet flexible way to maintain basic Ops operations and automates its own infrastructure. There are plenty amount of deploy.sh
scripts we might write manually or tools like umputun/spot, Kamal or Ansible. Usage of some of them might be overkill, but also I don't want to force people to learn one more DSL for this obvious deployment stuff. Hence, the main features are based on docker
and docker compose
.
Scope of applying this tool:
For Ubuntu docker please follow: https://docs.docker.com/engine/install/ubuntu/
We use pre-commit.
pre-commit install
pre-commit
Linters and tools:
rustup component add clippy
cargo binstall cargo-watch
Random notes:
# I have some questions to global rust and git hooks work together.
# So we link cargo to repository root to have the same code running
# with `make`, CI and git hooks.
ln -s `which cargo`
# Support RUST_LOG environment
RUST_LOG=debug cargo run
# Run tests with watch on change
make testw
Thinking contexts history [Read-only]: https://miro.com/app/board/uXjVN3A6wi4=/