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

Adding registry automation #152

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

Adding registry automation #152

wants to merge 20 commits into from

Conversation

sordina
Copy link
Contributor

@sordina sordina commented Apr 15, 2024

This PR adds a Github action workflow that responds to merged pull requests which impact /registry resources.

The action is implemented in /automation/publish.go and performs the following steps for each added or modified connector:

  • Download tgz
  • Re-upload tgz to a stable location [requires bucket key]
  • Extract contents
  • Build payload for API
  • Upsert to API (gql/RESTified) [requires Hasura key] ( https://data.pro.arusah.com/console/ )

This should ensure that the registry DB is up to date with the latest changes to the /registry directory in this repository.

Roadmap

These changes are step 1 in a distribution automation roadmap as described in /rfcs/0002-distribution-gh.md which has also been updated to reflect the most recent version of this plan.

At a high-level, the roadmap steps are:

  1. Add a Github action to update the registry DB when PRs to this repo modifying /registry files are altered
  2. Turn the majority of the previous action into an infra-as-code service in v3-connector-platorm.
  3. Design and deploy auth solution for this service that has roles restricting access to owned connectors
  4. Create a public GH action to use this service to allow self-service publication of connectors
  5. Party

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants