Skip to content

GH action to automate PEC/AD dictionary table updates + template generation #116

@avanlinden

Description

@avanlinden

We need a Github Action to periodically update the AD and PEC metadata dictionaries used by dccvalidator, and update the metadata template files available for data contributors. This will probably necessitate also automating schema registration when new template schemas are created, as I don't think that has happened yet.

Updating dictionaries:

  • use: create_Syn_table_from_Syn_schemas.py
  • when: daily? (needs to catch changes to synapseAnnotations, changes to existing template schemas, and creation of new template schemas in this repo)
  • credentials: synapse-service-sysbio-dcc-tasks-01 service account?

Updating templates:

  • use: create_template_from_Syn_schema.py
  • when: on merge to this repo? can you specify a GH action to run on changes that affect only certain folders, e.g. the JSON schema folders and not the other code?
  • credentials: synapse-service-sysbio-dcc-tasks-01 service account?

Automatically registering schemas in Synapse:

  • use: can we repurpose the register-schemas.R script from synapseAnnotations?
  • when: changes to schemas
  • credentials: service account

Metadata

Metadata

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