Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mover schemas a una carpeta en el monorepo #250

Closed
Tracked by #218
AlxEnashi opened this issue Oct 26, 2023 · 0 comments · Fixed by #265
Closed
Tracked by #218

Mover schemas a una carpeta en el monorepo #250

AlxEnashi opened this issue Oct 26, 2023 · 0 comments · Fixed by #265
Assignees

Comments

@AlxEnashi
Copy link
Contributor

AlxEnashi commented Oct 26, 2023

The idea is to have the output schemas of the steps grouped in a folder inside pipeline monorepo.

ej:
Pipeline
|
| - | schemas
| - |
| - | prv_candidates_schema
| - | xmatch_schema
| - | ...

With this, in the steps settings we could load the step schema as consumer or producer schema from an env variable with the name of the step.

consumer_schema = load(f"schema/{os.env["CONSUMER_SCHEMA"]}_schema")
producer_schema = load(f"schema/{os.env["PRODUCER_SCHEMA"]}_schema")
# this should catch missing consumer or producer schema. 

The probleim with this is that we would need to change the build proccess to copy the schema folder as well as the step code.

tareas

....

  • cambiar los values de los charts para tener las nuevas config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant