File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 9
9
BUILD_STATE_CLONING = 'cloning'
10
10
BUILD_STATE_INSTALLING = 'installing'
11
11
BUILD_STATE_BUILDING = 'building'
12
+ BUILD_STATE_UPLOADING = 'uploading'
12
13
BUILD_STATE_PUSHING_CACHE = 'pushing-cache'
13
14
BUILD_STATE_FINISHED = 'finished'
14
15
18
19
(BUILD_STATE_CLONING , _ ('Cloning' )),
19
20
(BUILD_STATE_INSTALLING , _ ('Installing' )),
20
21
(BUILD_STATE_BUILDING , _ ('Building' )),
22
+ (BUILD_STATE_UPLOADING , _ ('Uploading' )),
21
23
(BUILD_STATE_PUSHING_CACHE , _ ('Pushing cache' )),
22
24
(BUILD_STATE_FINISHED , _ ('Finished' )),
23
25
)
Original file line number Diff line number Diff line change 35
35
BUILD_STATE_INSTALLING ,
36
36
BUILD_STATE_PULLING_CACHE ,
37
37
BUILD_STATE_PUSHING_CACHE ,
38
+ BUILD_STATE_UPLOADING ,
38
39
BUILD_STATUS_SUCCESS ,
39
40
BUILD_STATUS_FAILURE ,
40
41
LATEST ,
@@ -719,6 +720,7 @@ def run_build(self, record):
719
720
localmedia = bool (outcomes ['localmedia' ]),
720
721
pdf = bool (outcomes ['pdf' ]),
721
722
epub = bool (outcomes ['epub' ]),
723
+ environment = self .build_env ,
722
724
)
723
725
724
726
# Finalize build and update web servers
@@ -957,6 +959,7 @@ def store_build_artifacts(
957
959
)
958
960
return
959
961
962
+ environment .update_build (BUILD_STATE_UPLOADING )
960
963
storage = get_storage_class (settings .RTD_BUILD_MEDIA_STORAGE )()
961
964
log .info (
962
965
LOG_TEMPLATE ,
You can’t perform that action at this time.
0 commit comments