Skip to content

Future improvements #15

@rmfranken

Description

@rmfranken

Future changes

That said, I would suggest the following improvements for one/more separate PR:

  • Write your common recipes (install, check, build) in the justfile ( it has placeholder comments for now).
  • Make a dockerfile with all the tooling needed run CI (python + stuff in requirements.txt and just)
    • could take inspiration from gimie-api, with uv pip install -r requirements.txt instead of uv sync.
    • docker push said image manually.
  • Run CI in docker image instead of manually pip installing stuff everytime.
  • Replace all calls to script in CI with just install, just check, just build.
    • now when we rename scripts / change the building process or whatever, we don't have to change every CI job, only the justfile.

Notes

With the current setup, the tools/{bash,python} folders kind of make sense because we have to store the requirements.txt.
Once we have a docker image containing the environment, I would do this:

tools
├── image
│  ├── Dockerfile
│  └── requirements.txt
└── scripts
   ├── build_ontology.sh
   ├── create_schemas.py
   └── shacl_validation.py

Originally posted by @cmdoret in #12 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions