File tree Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 27
27
"post-autoload-dump" : [
28
28
" echo POST-AUTOLOAD-DUMP" ,
29
29
" php post_update_cmd.php" ,
30
- " # pecl install swoole" ,
31
- " # cp /usr/lib/php/extensions/no-debug-non-zts-20170718/swoole.so ." ,
32
- " pecl install swoole" ,
30
+ " pecl install swoole || true" ,
31
+ " cp /usr/lib/php/extensions/no-debug-non-zts-20170718/swoole.so ." ,
33
32
" gcloud kms decrypt --location=global --keyring=ci --key=ci --ciphertext-file=secrets.txt.enc --plaintext-file=secrets.txt"
34
33
],
35
34
"pre-dependency-solving" : [
Original file line number Diff line number Diff line change 2
2
3
3
echo "Scripts Test! " ;
4
4
5
- echo "is /usr/lib/php/extensions/no-debug-non-zts-20170718 a dir? " ;
5
+ echo "is /usr/lib/php/extensions/no-debug-non-zts-20170718 a dir? " ;
6
6
var_dump ($ exists = file_exists ('/usr/lib/php/extensions/no-debug-non-zts-20170718 ' ));
7
+ echo " " ;
7
8
8
9
if ($ exists ) {
9
10
exec ('ln -s /usr/lib/php/extensions/no-debug-non-zts-20170718 ' , $ output );
10
11
var_dump ($ output );
12
+ echo " " ;
11
13
}
12
14
13
- echo "decrypted file exists? " ;
15
+ echo "decrypted file exists? " ;
14
16
var_dump (file_exists ('secrets.txt ' ));
15
17
var_dump (file_get_contents ('secrets.txt ' ));
18
+ echo " " ;
16
19
17
- echo "extension loaded? " ;
20
+ echo "extension loaded? " ;
18
21
var_dump (extension_loaded ('swoole ' ));
22
+ echo " " ;
19
23
20
- echo "extension exists? " ;
24
+ echo "extension exists? " ;
21
25
var_dump (file_exists ('swoole.so ' ));
22
-
26
+ echo " " ;
23
27
echo " " ;
24
28
// var_dump(file_exists(__DIR__ . '/test.txt'));
25
29
Original file line number Diff line number Diff line change 1
- ; extension=swoole.so
2
- ; extension=/usr/lib/php/extensions/no-debug-non-zts-20170718/swoole.so
3
- ; extension=/workspace/swoole.so
4
- extension =swoole.so
1
+ extension =/srv/swoole.so
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments