# README
Application
Project
Batch job container for managing BlackTek server and MyAAC MariaDB migrations, as part of the GitOps workflow with Flux.
Builds
Platform | Build |
---|---|
MacOS | - |
Ubuntu | |
Windows |
Getting Started
To run it, simply download the latest release and define your environment variables in a '.env' file.
Enviroment Variables
NAME | HOW TO USE |
---|---|
MARIADB_DATABASE | database name |
MARIADB_HOST | database host |
MARIADB_PORT | database port |
MARIADB_ROOT_PASSWORD | database password |
MARIADB_USERNAME | database username |
Tests
go test ./tests -v
Build
go build -o TARGET_NAME ./src/
Linting
python -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt
sqlfluff fix migrations/*.sql
Docker
docker pull ghcr.io/tibia-oce/migrate:latest
# Packages
No description provided by the author