Skip to content

Only run one data source when the database is not created by Mordred #556

@zhquan

Description

@zhquan

When the database is created by default by MariaDB or manually create database test_sh; Mordred will run only one data source randomly.

Example:

  • MariaDB with MARIADB_DATABASE=test_sh
version: '3'
services:
  mariadb:
    image: mariadb:10
    container_name: identitiesdb
    expose:
      - "3306"
    ports:
      - "3306:3306"
    environment:
      - MARIADB_ROOT_PASSWORD=changeme
      - MARIADB_DATABASE=test_sh
  • setup.cfg
[sortinghat]
database = test_sh

[git]
...
[github]
...

In this case, Mordred will run git or github randomly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions