X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2c8874c0625a2126813d4df7170076f95cdc7327..3aaefcb3c76ff470b475d950398d01255e87712a:/lib/boot/seed.go diff --git a/lib/boot/seed.go b/lib/boot/seed.go index 2afccc45b6..1f6cb764e0 100644 --- a/lib/boot/seed.go +++ b/lib/boot/seed.go @@ -20,6 +20,9 @@ func (seedDatabase) Run(ctx context.Context, fail func(error), super *Supervisor if err != nil { return err } + if super.ClusterType == "production" { + return nil + } err = super.RunProgram(ctx, "services/api", nil, railsEnv, "bundle", "exec", "rake", "db:setup") if err != nil { return err