Skip to content

Remove the need for a submitter to generate the OCA Bundle as part of the PR #181

Description

@swcurran

The most difficult part of submitting an OCA Bundle is generating the OCA Bundle itself -- OCABundle.json. The process involves compiling and running a utility (written in Rust) the parser to convert the Excel input into JSON and then using the JQ utility to combine that JSON with the branding.json input -- with a bash script managing orchestrating the steps. This issue proposes an update to simplify the process for the PR submitter. Requirements:

  • Use the BC Gov repo for the OCA Excel Parser throughout the repo -- https://github.com/bcgov/oca-parser-xls
  • Create/update a GitHub action triggered by a PR that detects changes to OCABundles and for each, does a test generation, flagging an error and dumping the result to the GHA output for later review by the submitter (if knowledgable) or the PR Approvers.
  • Create/update a GitHub action that triggered by a merge that generates an changed OCABundles to the gh-pages branch.

This allows for a submitter to use the GitHub API to submit OCA Bundles changes, and the automation to verify and process them.

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