File tree Expand file tree Collapse file tree 2 files changed +11
-18
lines changed
Expand file tree Collapse file tree 2 files changed +11
-18
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ public function upload_files() {
5757 echo 'ERROR ' ;
5858 die (); }
5959
60- $ this ->initiateProgressIndicator ();
61-
6260 $ batch_size = $ this ->settings ['deployBatchSize ' ];
6361
6462 if ( $ batch_size > $ this ->files_remaining ) {
@@ -133,11 +131,6 @@ public function upload_files() {
133131 $ target_path ,
134132 $ local_file_contents
135133 );
136-
137- // NOTE: delay and progress askew in GitLab as we may
138- // upload all in one request. Progress indicates building
139- // of list of files that will be deployed/checking if different
140- $ this ->updateProgress ();
141134 }
142135
143136 $ this ->pauseBetweenAPICalls ();
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ public function load_deployment_option_template( $templates ) {
4848 public function add_deployment_option_keys ( $ keys ) {
4949 $ new_keys = array (
5050 'baseUrl-gitlab ' ,
51- 'ghBranch ' ,
52- 'ghPath ' ,
53- 'ghToken ' ,
54- 'ghRepo ' ,
51+ 'glBranch ' ,
52+ 'glPath ' ,
53+ 'glProject ' ,
54+ 'glToken ' ,
5555 );
5656
5757 $ keys = array_merge (
@@ -65,9 +65,9 @@ public function add_deployment_option_keys( $keys ) {
6565 public function whitelist_deployment_option_keys ( $ keys ) {
6666 $ whitelist_keys = array (
6767 'baseUrl-gitlab ' ,
68- 'ghBranch ' ,
69- 'ghPath ' ,
70- 'ghRepo ' ,
68+ 'glBranch ' ,
69+ 'glPath ' ,
70+ 'glProject ' ,
7171 );
7272
7373 $ keys = array_merge (
@@ -81,10 +81,10 @@ public function whitelist_deployment_option_keys( $keys ) {
8181 public function add_post_and_db_keys ( $ keys ) {
8282 $ keys ['gitlab ' ] = array (
8383 'baseUrl-gitlab ' ,
84- 'ghBranch ' ,
85- 'ghPath ' ,
86- 'ghToken ' ,
87- 'ghRepo ' ,
84+ 'glBranch ' ,
85+ 'glPath ' ,
86+ 'glProject ' ,
87+ 'glToken ' ,
8888 );
8989
9090 return $ keys ;
You can’t perform that action at this time.
0 commit comments