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

[SUBGRAPHS] Add goldsky subgraph tag script #1966

Merged
merged 2 commits into from
Jul 4, 2024
Merged

Conversation

mmd-afegbua
Copy link
Collaborator

@mmd-afegbua mmd-afegbua commented Jun 24, 2024

This is a script that will be run manually to promote a new version of subgraph to prod.

@mmd-afegbua mmd-afegbua marked this pull request as ready for review June 25, 2024 07:40
@kasparkallas
Copy link
Contributor

There's no GHA to trigger this yet?

goldsky_commands=$(generate_goldsky_commands)
run_goldsky_commands_in_docker "$goldsky_commands"
elif [ -n "$network" ]; then
run_goldsky_commands_in_docker "if ! goldsky subgraph tag create $subgraph_type-$network/$version --tag prod; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's make the "tag" an input as well? Then we can do "dev" and other adhoc versions.

@kasparkallas
Copy link
Contributor

In general, when it comes to tagging, one thing to keep in mind is not to do the tagging before the subgraph has finished indexing, i.e. it's caught up to the edge as Goldsky people put it.

@hellwolf hellwolf added this pull request to the merge queue Jul 4, 2024
Merged via the queue into dev with commit a569636 Jul 4, 2024
14 checks passed
@hellwolf hellwolf deleted the goldsky-subgraph-tag branch July 4, 2024 09:06
Copy link

github-actions bot commented Jul 4, 2024

XKCD Comic Relif

Link: https://xkcd.com/1966
https://xkcd.com/1966

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.

3 participants