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

feat: deploy/update subsquid from gh actions #120

Merged
merged 2 commits into from
Aug 12, 2022

Conversation

preschian
Copy link
Member

@preschian preschian commented Aug 4, 2022

Thank you for your contribution to the KodaDot Indexer.
👇 _ Let's make a quick check before the contribution.

PR type

  • Bugfix
  • Feature
  • Refactoring

What's new?

Before submitting Pull Request, please make sure:

  • My contribution builds clean without any errors or warnings
  • I've merged recent default branch -- main and I've no conflicts
  • I've tried to respect high code quality standards
  • I've didn't break any original functionality
  • I've posted a screenshot of demonstrated change in this PR

Optional

  • I've run the indexer and it hasn't failed
  • I've changed schema and performed a migration
  • I found edge cases

Screenshot

  • My contribution is a resolver so I have pic from playground

@kodabot
Copy link
Collaborator

kodabot commented Aug 4, 2022

WARNING @preschian PR for issue #38 which isn't assigned to you. Please be warned that this PR may get rejected if there's another assignee for issue #38

@preschian
Copy link
Member Author

WARNING @preschian PR for issue #38 which isn't assigned to you. Please be warned that this PR may get rejected if there's another assignee for issue #38

oops sorry, I thought this bot only works on nft-gallery

@vikiival
Copy link
Member

vikiival commented Aug 4, 2022

oops sorry, I thought this bot only works on nft-gallery

I see it for the first time here.
All indexers repository are like a dark side of a club 😅

Soo any manual for this?

  • basically make a branch release-007
  • and it will be updated right?

@preschian
Copy link
Member Author

preschian commented Aug 4, 2022

I see it for the first time here.
All indexers repository are like a dark side of a club 😅

🙈

Soo any manual for this?

  • add DEPLOYMENT_KEY in Github secrets
  • the actions will trigger if the branch name with the prefix release-
  • from release-007 turn into name@007 in subsquid
  • if the version is newly created, it will run subsquid with release command
  • if the version already exists, it will run subsquid with update command

btw, I forgot to remove the test name, will update it https://github.com/kodadot/rubick/pull/120/files#diff-eb331ca122c53a2ab9c5719f6b02f606c0346be74b43105be5d4c7a3c34ea5ccR27
updated

@vikiival
Copy link
Member

added DEPLOYMENT_KEY let's merge it

@vikiival vikiival merged commit e0ae9d1 into kodadot:main Aug 12, 2022
@vikiival
Copy link
Member

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.

Auto publish Squid
3 participants