File tree Expand file tree Collapse file tree 5 files changed +42
-25
lines changed Expand file tree Collapse file tree 5 files changed +42
-25
lines changed Original file line number Diff line number Diff line change 1
- vendor
2
- ! build /.gitkeep
3
- build /*
1
+ / vendor /
2
+ ! / build /.gitkeep
3
+ / build /*
Original file line number Diff line number Diff line change
1
+ language : php
2
+ php :
3
+ - ' 7.1'
4
+ - ' 7.2'
5
+ - ' 7.3'
6
+ - nightly
7
+
8
+ matrix :
9
+ allow_failures :
10
+ - php : nightly
11
+
12
+ before_script :
13
+ - travis_retry composer self-update
14
+ - travis_retry composer install --no-interaction --prefer-source --dev
15
+
16
+ script :
17
+ - composer build
18
+
19
+ deploy :
20
+ - provider : releases
21
+ token : $GITHUB_OAUTH_TOKEN
22
+ file : build/aws-excfwd
23
+ skip_cleanup : true
24
+ on :
25
+ tags : true
Original file line number Diff line number Diff line change 1
- Exception Report AWS Logger
2
- ===========================
1
+ Exception Report AWS Forwarder
2
+ ===============================
3
3
4
- Logs exception reports stored as individual files to AWS CloudWatch Logs.
4
+ Forwards exception reports stored as individual files to AWS CloudWatch Logs.
5
5
6
- This something that ` awslog ` client cannot do.
6
+ This something that AWS CloudWatch Agent cannot do.
7
7
8
8
You should run it in cron every couple of minutes.
9
9
10
- ### Example usage for magento
10
+ ### Example usage for Magento
11
11
12
12
```
13
13
bin/cli.php push:directory -v --formatter=serialized_array --region=eu-central-1 --group=magento-exc-report /var/www/magento-base/current/var/report/
@@ -20,10 +20,8 @@ composer install --dev
20
20
composer build
21
21
```
22
22
23
- You will find the final executable in ` /build/exclog ` .
23
+ ### Install
24
24
25
- Upload to our s3
25
+ #### CentOS RPM Package
26
26
27
- ```
28
- AWS_PROFILE="creativeshop_rpms" aws s3 cp --acl public-read build/aws-exclog s3://cs-creativeshop-rpms/aws-exclog-876df02
29
- ```
27
+ Install the package from [ MageOps RPM Repository] ( https://mageops.github.io/rpm/ ) .
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " creativestyle/exception-report-aws-logger " ,
3
- "description" : " Pushes exception report files to CloudWatch Logs" ,
2
+ "name" : " creativestyle/mageops- exception-report-cloudwatch-forwarder " ,
3
+ "description" : " Forwards exception report files to CloudWatch Logs" ,
4
4
"keywords" : [
5
5
" aws" ,
6
6
" magento" ,
21
21
}
22
22
},
23
23
"require" : {
24
+ "php" : " ^7.1" ,
24
25
"aws/aws-sdk-php" : " ^3.36" ,
25
26
"symfony/console" : " ^3.3"
26
27
},
33
34
"extra" : {
34
35
"phar-builder" : {
35
36
"compression" : " GZip" ,
36
- "name" : " aws-exclog .phar" ,
37
+ "name" : " aws-excfwd .phar" ,
37
38
"output-dir" : " build" ,
38
39
"entry-point" : " ./bin/cli.php" ,
39
40
"include" : [" bin" ],
43
44
"command.package.start" : " git rev-parse --short HEAD > bin/version" ,
44
45
"command.package.end" : [
45
46
" rm bin/version" ,
46
- " chmod +x build/aws-exclog .phar" ,
47
- " mv build/aws-exclog .phar build/aws-exclog "
47
+ " chmod +x build/aws-excfwd .phar" ,
48
+ " mv build/aws-excfwd .phar build/aws-excfwd "
48
49
]
49
50
}
50
51
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments