Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • nomad-FAIR nomad-FAIR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 239
    • Issues 239
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 42
    • Merge requests 42
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nomad-labnomad-lab
  • nomad-FAIRnomad-FAIR
  • Merge requests
  • !1124

Draft: Refactor nomad config management by using pydantic models

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Adam Fekete requested to merge 1353-executing-scripts-in-folders-other-than-project-root-throws into develop Feb 28, 2023
  • Overview 28
  • Commits 65
  • Pipelines 42
  • Changes 60

Closes #1353

  • using pydantic model BaseSettings
  • make sure that the dictionaries will be merged and all other type will be overwritten
  • make sure that config is a singleton object
  • make sure that we are loading the settings in the right order :
    • values from __init__
    • env vars
    • nomad.yaml (from NOMAD_CONFIG OR from cwd (OR from the project folder)?)
    • all the default values
  • update docs about the usage of double underscore for env vars (NOMAD__MONGO__HOST)
  • update tests
Edited Mar 22, 2023 by Adam Fekete
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 1353-executing-scripts-in-folders-other-than-project-root-throws