File tree 2 files changed +15
-2
lines changed 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,16 @@ deploy:
97
97
paths :
98
98
- terraform/plan.json
99
99
100
+ import :
101
+ extends : .base_on_push
102
+ stage : deploy
103
+ timeout : 5m # probably needs to be extended
104
+ needs :
105
+ - build_image
106
+ - deploy
107
+ script :
108
+ - make import
109
+
100
110
deploy_browser :
101
111
extends : .base_on_push
102
112
stage : deploy
Original file line number Diff line number Diff line change @@ -102,13 +102,16 @@ $(1)terraform: lambdas
102
102
103
103
.PHONY: $(1 ) deploy
104
104
$(1 ) deploy: check_python $(1 ) terraform
105
- python $(project_root ) /scripts/reindex.py --import --sources "tdr:${GOOGLE_PROJECT}:snapshot/*"
106
- python $(project_root ) /scripts/verify_tdr_sources.py
107
105
endef
108
106
109
107
$(eval $(call deploy,))
110
108
$(eval $(call deploy,auto_))
111
109
110
+ .PHONY : import
111
+ import : check_python
112
+ python $(project_root ) /scripts/reindex.py --import --sources " tdr:${GOOGLE_PROJECT} :snapshot/*"
113
+ python $(project_root ) /scripts/verify_tdr_sources.py
114
+
112
115
.PHONY : destroy
113
116
destroy :
114
117
$(MAKE ) -C terraform destroy
You can’t perform that action at this time.
0 commit comments