Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Sync the "balenalabs-incubator" and "balenablocks" repo's to Jellyfish #4746

Closed
StefKors opened this issue Sep 10, 2020 · 10 comments
Closed
Labels
backend bounty: 25 Complete this bounty for 25 jellycoins

Comments

@StefKors
Copy link
Contributor

Expected Behavior

The balenalabs-incubator orgs, it's repos, issues and pulls, should be synced to Jellyfish

Actual Behavior

It's not possible to link to issues from the balenalabs-incubator repo's. For example balena-labs-projects/wifi-repeater#8

@StefKors StefKors pinned this issue Sep 10, 2020
@jellyfish-bot
Copy link

jellyfish-bot commented Sep 10, 2020

This issue has attached support thread https://jel.ly.fish/486350a8-c9f8-4302-83f0-e27a32821242

@jellyfish-bot
Copy link

jellyfish-bot commented Sep 14, 2020

This issue has attached support thread https://jel.ly.fish/2fbb1ce6-62c2-49a6-a6d5-36a9c4676c9a

@grahammcculloch
Copy link
Contributor

@jviotti I'm told you know how to configure a GitHub org so that it starts syncing repos and issues with Jellyfish. Looking for some help from you here if possible.

@jviotti
Copy link
Contributor

jviotti commented Sep 17, 2020

@grahammcculloch I don't think I have enough access to that new org in order to do it myself, but the gist of it is:

  • Go to the organisations settings page on GitHub
  • Go to the "Webhooks" pane
  • Create a new webhook with the following contents:

URL: https://api.ly.fish/api/v2/hooks/github/
Content Type: application/json
Secret: INTEGRATION_GITHUB_SIGNATURE_KEY (this should be the secret we provision JF with, which I don't what it is atm)
Enable SSL verification

The types of events we are usually interested on are:

  • Issues
  • Issue comments
  • Labels
  • Pull requests
  • Pull request reviews
  • Pull request review comments
  • Pushes
  • Repositories
  • Statuses

@StefKors
Copy link
Contributor Author

@grahammcculloch I think the blocks repo should also be added see: https://jel.ly.fish/ab070254-21b0-4fcc-9e23-6e219fe338bc?event=81d7bdcf-3df6-4a6c-9520-dbdb0155ee52

@StefKors StefKors changed the title Sync the "balenalabs-incubator" repo's to Jellyfish Sync the "balenalabs-incubator" amd repo's to Jellyfish Oct 12, 2020
@StefKors StefKors changed the title Sync the "balenalabs-incubator" amd repo's to Jellyfish Sync the "balenalabs-incubator" and "balenablocks" repo's to Jellyfish Oct 12, 2020
@grahammcculloch
Copy link
Contributor

@StefKors thanks - I knew I'd seen that request somewhere but couldn't find it!

@jellyfish-bot
Copy link

jellyfish-bot commented Oct 12, 2020

This issue has attached support thread https://jel.ly.fish/b8d78eca-9604-4463-8eca-402c219de39d

@grahammcculloch
Copy link
Contributor

grahammcculloch commented Oct 13, 2020

@jviotti ok @apostolism has followed your instructions. I added a comment to an issue in a repo of that org to see if I could trigger a sync but I'm not seeing that issue in JF. Do you know what I could do to debug if/how this sync is working?

EDIT: it's working!

@LucianBuzzo LucianBuzzo added the bounty: 25 Complete this bounty for 25 jellycoins label Oct 13, 2020
@LucianBuzzo
Copy link
Contributor

The balenaBlocks repo is now synced as well - https://jel.ly.fish/3b244015-3a6b-46a5-838b-3f16eb0a4165

@LucianBuzzo LucianBuzzo unpinned this issue Oct 15, 2020
@LucianBuzzo
Copy link
Contributor

In addition to Juan's comment above you will need to install the jellyfish-github app in the GitHub org so that we can write data back to github. https://github.com/organizations/product-os/settings/apps/jellyfish-github

LucianBuzzo added a commit that referenced this issue Apr 9, 2021
Connects-to: #4746
Change-type: patch
Signed-off-by: Lucian Buzzo <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backend bounty: 25 Complete this bounty for 25 jellycoins
Projects
None yet
Development

No branches or pull requests

5 participants