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

fix(subgraph): fix ci deployment + better versioning #13500

Merged
merged 3 commits into from Mar 22, 2024

Conversation

clemsos
Copy link
Member

@clemsos clemsos commented Mar 21, 2024

Description

This adds a missing step on subgraph CI deployment, as weel as a better way to version the deployments.

Issues

Fixes #12867
Refs #

Checklist:

  • 1 PR, 1 purpose: my Pull Request applies to a single purpose
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the docs to reflect my changes if applicable
  • I have added tests (and stories for frontend components) that prove my fix is effective or that my feature works
  • I have performed a self-review of my own code
  • If my code involves visual changes, I am adding applicable screenshots to this thread

Release Note Draft Snippet

@clemsos clemsos requested a review from julien51 March 21, 2024 10:14
@cla-bot cla-bot bot added the cla-signed label Mar 21, 2024
.execSync('git rev-parse --short HEAD')
.toString()
.trim()
return `v${UNLOCK_LATEST_VERSION}-${PUBLICLOCK_LATEST_VERSION}-${gitSha}`
Copy link
Member Author

@clemsos clemsos Mar 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe commit hash alone is simpler as these version numbers are not pull from dynamically the contracts ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, in the end the unlock and public lock versions are not that useful anyway because the subgraoh supports them all at all times.

@julien51 julien51 merged commit 89cd78c into master Mar 22, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move all subgraphs to Studio, under the multisig account
2 participants