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

Permit GitOps Flow Wizard #19

Open
gemanor opened this issue Oct 28, 2024 · 11 comments · May be fixed by #25
Open

Permit GitOps Flow Wizard #19

gemanor opened this issue Oct 28, 2024 · 11 comments · May be fixed by #25
Assignees
Labels
⚔️ Quest Tracks quest-bot quests

Comments

@gemanor
Copy link
Collaborator

gemanor commented Oct 28, 2024

We want to allow users who want to port their policy code from Permit to be managed in GitOps at their own environment, to use a wizard on the CLI that will configure the following: https://docs.permit.io/integrations/gitops/github/

Acceptance criteria:

  • New command permit gitops create github is creating a flow that allowing users to use a private git repository to sync their policy from Permit
  • 90% unit test coverage
  • Demo video of the flow
Copy link

quest-bot bot commented Oct 28, 2024

New Quest! image New Quest!

A new Quest has been launched in @permitio’s repo.
Merge a PR that solves this issue to loot the Quest and earn your reward.


Loot of 300 USD has been stashed in this issue to reward the solver!

🗡 Comment @quest-bot embark to check-in for this Quest and start solving the issue. Other solvers will be notified!

⚔️ When you submit a PR, comment @quest-bot loot #19 to link your PR to this Quest.

Questions? Check out the docs.

@quest-bot quest-bot bot added the ⚔️ Quest Tracks quest-bot quests label Oct 28, 2024
@Abiji-2020
Copy link

@quest-bot embark

I would like to work on this issue.

Copy link

quest-bot bot commented Oct 28, 2024

@Abiji-2020 has embarked on their Quest. 🗡

  • @Abiji-2020 has been on GitHub since 2023.
  • They have merged 181 public PRs in that time.
  • Their swords are blessed with Rust and Shell magic ✨
  • They haven't contributed to this repo before.

This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR.

Questions? Check out the docs.

@Abiji-2020 Abiji-2020 linked a pull request Oct 31, 2024 that will close this issue
@gemanor
Copy link
Collaborator Author

gemanor commented Oct 31, 2024

@Abiji-2020 please share your component/lib design for review so I'll assign you to the issue

@Abiji-2020
Copy link

I am following similar procedure from the link: https://docs.permit.io/integrations/gitops/github/

  • Initially creating a component to generate SSH key and the public key will be displayed to the user to copy and add it in the deploy keys.
  • We get the SSH URL from the user of the repo
  • We ask the user in which project we want to create the flow and add it using the API calls, referenced in the API.

This was my idea to implement it.

@gemanor
Copy link
Collaborator Author

gemanor commented Nov 3, 2024

Sounds like a good plan. Make sure please that you're making the ssh part a cross platform wizard

@Abiji-2020
Copy link

Sounds like a good plan. Make sure please that you're making the ssh part a cross platform wizard

instead of taking ssh part from each computer, I am using a library to generate ssh keys. (https://www.npmjs.com/package/micro-key-producer) so it will be independent of platform.

Copy link

quest-bot bot commented Nov 5, 2024

🧚 @Abiji-2020 has submitted PR #25 and is claiming the loot.

Keep up the pace, or you'll be left in the shadows.

Questions? Check out the docs.

@tarunpahade
Copy link

I would like to solve this bug

@hellzbarbie
Copy link

@quest-bot embark

Copy link

quest-bot bot commented Nov 10, 2024

@hellzbarbie has embarked on their Quest. 🗡

  • @hellzbarbie has been on GitHub since 2024.
  • They have merged 0 public PRs in that time.
  • Their swords are blessed with JavaScript and HTML magic ✨
  • They haven't contributed to this repo before.

This is not an assignment to the issue. Please check the repo’s contribution guidelines before submitting a PR.

Questions? Check out the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚔️ Quest Tracks quest-bot quests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants