petr-korobeinikov / seeder

The only tool for reproducible seeding volumes and storages (including databases as well).

Home Page:https://petr-korobeinikov.github.io/seeder/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

seeder

The only tool for reproducible seeding volumes and storages (including databases as well).

seeder.yaml — the ⚙️ of reproducible seeding

seeder:
  state:
    # seeding postgres data
    - name: postgres file seed
      type: postgres
      config:
        - file: seed.sql

    # seeding s3 data
    - name: s3 plain text file seed
      type: s3
      config:
        - bucket: "bucket"
          object-name: "seeded/file/seed.txt"
          option:
            content-type: text/plain
            content-encoding: utf8
          file: seed.txt

    # seeding vault secrets
    - name: vault file seed
      type: vault
      config:
        - key: "secret/data/seed/file/json"
          file: seed.json

Docs

Quick start

Tutorials

Install

Flags (needs rework 🚧)

  • -c allows to specify seeder configuration file.

    Note: dir from config file will be used as working dir for seed files.

  • -seeder-helper $name shows help for specified seeder.
  • -known shows known seeders

About

The only tool for reproducible seeding volumes and storages (including databases as well).

https://petr-korobeinikov.github.io/seeder/

License:MIT License


Languages

Language:Go 91.5%Language:PLpgSQL 5.1%Language:Dockerfile 2.3%Language:Shell 1.1%