Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 2.69 KB

File metadata and controls

33 lines (23 loc) · 2.69 KB

CICD

Summary:

Secrets

In lieu of a full implementation of github actions best practices, currently:

  • Pull request checks use the pull_request event, as per best practices.
  • Integration test steps, which require secrets, leverage the github context to avoid running where secrets are absent.
    • Therefore, external fork PRs, which are the community contribution model, do not run integration tests. Strategically, we may funnel community contribution though a staging branch and/or adopt release branches. This is not an urgent consideration, and we shall decide after some reflection.

API mocking

According to this swagger-codegen example, it is not overly difficult to generate python mocks from openapi docs. This can then be used for credible regression testing against new provider docs and certainly the relationship of endpoints to stackql resources. Know weakness: will not detect defective transform from source (eg: MS-graph, AWS) to openapi.