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

Deployment repositories using deployment specific content #5

Open
Tracked by #1
fagiothree opened this issue Feb 16, 2024 · 1 comment
Open
Tracked by #1

Deployment repositories using deployment specific content #5

fagiothree opened this issue Feb 16, 2024 · 1 comment
Assignees

Comments

@fagiothree
Copy link
Member

fagiothree commented Feb 16, 2024

Combine the model of a data list with the actual content into a single json format. Enable the format to have data that cuts across multiple sheets, multiple files and even multiple folders.

@geoo89
Copy link

geoo89 commented Feb 22, 2024

Aim: Using the templates stored in this repository, we want to have different deployments that instantiate these templates with different data. For each of these deployments, we would have a separate repository storing the relevant data lists (used to instantiate the templates) with a workflow to compile the deployment into RapidPro flows by pulling the templates from this repository and running the pipeline. This needs:

  • rapidpro-flow-toolkit: Export data sheets as JSON rapidpro-flow-toolkit#126
    • functionality to convert data sheets to (nested) json
    • functionality to read one or multiple content indices, extract and merge the contained data sheets into a single json, and save it
    • functionality to compile the metadata about the data sheets contained in the content index sheet as a json
  • rapidpro-flow-toolkit: Read data sheets from JSON rapidpro-flow-toolkit#127
    • functionality to read a collection of data sheets in the aforementioned json formats, to
  • deployment repos: github action + config to pull data from existing spreadsheets, compile this data into json using aforementioned mechanism, and commit a snapshot of this data
  • deployment repos: github action + config to run the pipeline using the data on the deployment repo with the templates from this repo, and product RapidPro flows.

@geoo89 geoo89 changed the title Json format for content data lists Deployment repositories using deployment specific content Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants