apollographql / rover

The CLI for Apollo GraphOS
https://rover.apollo.dev
Other
404 stars 84 forks source link

Proper way to skip all auto-updating #1892

Open maschwenk opened 4 months ago

maschwenk commented 4 months ago

Description

It seems like rover has --skip-update-check All the plugins have --skip-update

So if I want to enforce that neither of these update themselves I have to run like so?

rover --skip-update-check supergraph compose --skip-update

It'd be kinda nice if the auto-updating behavior was opt in. I work on a 100+ engineer monorepo and we want to tightly control these upgrades and ideally make sure they are lockstep with CI and prod.

smyrick commented 4 months ago

If you want to lock composition to a specific version, you can pass a config file: https://www.apollographql.com/docs/rover/commands/supergraphs#yaml-configuration-file