projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
16306: Packaging dev cycle, type=production support in lib/boot.
[arvados.git]
/
lib
/
boot
/
seed.go
diff --git
a/lib/boot/seed.go
b/lib/boot/seed.go
index d1cf2a870975b662d8318d9ef6a25f08ce204c93..1f07601a094254780aa16e90599a5177a15dbf5c 100644
(file)
--- 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