Skip to content

App approval logic integration with github #8

@pnispero

Description

@pnispero

App approval logic integration with github

Functionality wise, we want any deployments to production to be code reviewed and approved

This description is tentative, still thinking about what exactly were going to implement, going to meet with Claudio, Jerry

  1. Outline the API calls we want from core-build-system backend
  • (GET) check if this repo/tag has been code reviewed
  • (POST) after deployment if successfully ran and tested, then call backend to merge pull request
  • etc.
  1. Add the logic in the CLI/playbooks to use those API's
  • When user chooses to deploy to production, call to backend api to check if the tag has been code reviewed
  1. core-build-system backend monitor repo for any pull requests, and if merged then start the build, test workflow?

Use cases:

  1. if a pull request is CREATED, then start a build/test, report back to the comments if successful
  2. if a reviewer requested changes, developer updates the pull request, and trigger the build/test again, report back to comments
  3. if a pull request is approved, merge onto main and trigger the build/test again

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