Commit bce7bc3 1 parent 7368883 commit bce7bc3 Copy full SHA for bce7bc3
File tree 12 files changed +118
-94
lines changed
12 files changed +118
-94
lines changed Original file line number Diff line number Diff line change
1
+ # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2
+
3
+ version : 2
4
+ updates :
5
+ - package-ecosystem : " npm"
6
+ directory : " /"
7
+ schedule :
8
+ interval : " weekly"
9
+ allow :
10
+ - dependency-type : production
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [ push ]
4
+
5
+ env :
6
+ CI : true
7
+
8
+ jobs :
9
+
10
+ lint :
11
+ uses : haraka/.github/.github/workflows/lint.yml@master
12
+
13
+ # coverage:
14
+ # uses: haraka/.github/.github/workflows/coverage.yml@master
15
+ # secrets: inherit
16
+
17
+ test :
18
+ needs : [ lint, get-lts ]
19
+ runs-on : ${{ matrix.os }}
20
+ strategy :
21
+ matrix :
22
+ os : [ ubuntu-latest ]
23
+ node-version : ${{ fromJson(needs.get-lts.outputs.active) }}
24
+ fail-fast : false
25
+ steps :
26
+ - name : Configure sysctl limits
27
+ run : |
28
+ sudo swapoff -a
29
+ sudo sysctl -w vm.swappiness=1
30
+ sudo sysctl -w fs.file-max=262144
31
+ sudo sysctl -w vm.max_map_count=262144
32
+ - uses : miyataka/elasticsearch-github-actions@1
33
+ with :
34
+ stack-version : ' 7.6.2'
35
+ - uses : actions/checkout@v3
36
+ - uses : actions/setup-node@v3
37
+ name : Node ${{ matrix.node-version }} on ${{ matrix.os }}
38
+ with :
39
+ node-version : ${{ matrix.node-version }}
40
+ - run : npm install
41
+ - run : npm test
42
+
43
+ get-lts :
44
+ runs-on : ubuntu-latest
45
+ steps :
46
+ - id : get
47
+ uses : msimerson/node-lts-versions@v1
48
+ outputs :
49
+ active : ${{ steps.get.outputs.active }}
50
+ lts : ${{ steps.get.outputs.lts }}
Original file line number Diff line number Diff line change
1
+ name : " CodeQL"
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+ schedule :
9
+ - cron : ' 18 7 * * 4'
10
+
11
+ jobs :
12
+ codeql :
13
+ uses : haraka/.github/.github/workflows/codeql.yml@master
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : publish
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ env :
9
+ CI : true
10
+
11
+ jobs :
12
+ publish :
13
+ uses : haraka/.github/.github/workflows/publish.yml@master
14
+ secrets : inherit
Original file line number Diff line number Diff line change @@ -58,3 +58,5 @@ typings/
58
58
.env
59
59
60
60
package-lock.json
61
+
62
+ haraka-update.sh
Original file line number Diff line number Diff line change
1
+ [submodule ".release "]
2
+ path = .release
3
+ url = [email protected] :msimerson/.release.git
Original file line number Diff line number Diff line change
1
+ ### Unreleased
1
2
2
- ## 1.0.6 - 2020-07-21
3
+
4
+ ### [ 1.0.7] - 2022-06-06
5
+
6
+ - ci: use shared GHA workflows
7
+ - ci: add submodule .release
8
+ - es7: update index map template
9
+
10
+
11
+ ### 1.0.6 - 2020-07-21
3
12
4
13
- add URI for connection settings
5
14
- add options to specify user & ssl connection settings
6
15
- bump elasticsearch client to version 7.8
7
16
8
17
9
- ## 1.0.5 - 2020-04-29
18
+ ### 1.0.5 - 2020-04-29
10
19
11
20
- update to upstream @elastic/elasticsearch @6
12
21
- convert test runner to mocha
13
22
- use GitHub actions instead of Travis & AppVeyor
14
23
- package.json: depend on latest eslint
15
24
16
25
17
- ## 1.0.4 - 2019-09-22
26
+ ### 1.0.4 - 2019-09-22
18
27
19
28
- update index template for ES 6
20
29
21
30
22
- ## 1.0.3 - 2017-08-22
31
+ ### 1.0.3 - 2017-08-22
23
32
24
33
- fix txr variable scope
25
34
- add tests for get_es_hosts
26
35
27
36
28
- ## 1.0.2 - 2017-07-29
37
+ ### 1.0.2 - 2017-07-29
29
38
30
39
- also prune null values because typeof null === object
31
40
- add test storing doc against index template
32
41
- get ES testing working on AppVeyor (windows)
33
42
34
43
35
- ## 1.0.1 - 2017-07-29
44
+ ### 1.0.1 - 2017-07-29
36
45
37
46
- qualify the path to plugin.\* .msg to avoid collision
38
47
39
48
40
- ## 1.0.0 - 2017-07-14
49
+ ### 1.0.0 - 2017-07-14
41
50
42
51
- initial release
52
+
53
+ [ 1.0.7 ] : https://github.com/haraka/haraka-plugin-elasticsearch/releases/tag/1.0.7
Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ curl -X PUT 'http://localhost:9200/_template/haraka_results' -H 'Content-Type: a
94
94
95
95
96
96
<!-- leave these buried at the bottom of the document -->
97
- [ ci-img ] : https://github.com/haraka/haraka-plugin-elasticsearch/workflows/Unit%20Tests /badge.svg
98
- [ ci-url ] : https://github.com/haraka/haraka-plugin-elasticsearch/actions?query=workflow%3A%22Unit+Tests%22
97
+ [ ci-img ] : https://github.com/haraka/haraka-plugin-elasticsearch/actions/ workflows/ci.yml /badge.svg
98
+ [ ci-url ] : https://github.com/haraka/haraka-plugin-elasticsearch/actions/workflows/ci.yml
99
99
[ clim-img ] : https://codeclimate.com/github/haraka/haraka-plugin-elasticsearch/badges/gpa.svg
100
100
[ clim-url ] : https://codeclimate.com/github/haraka/haraka-plugin-elasticsearch
101
101
[ npm-img ] : https://nodei.co/npm/haraka-plugin-elasticsearch.png
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " haraka-plugin-elasticsearch" ,
3
- "version" : " 1.0.6 " ,
3
+ "version" : " 1.0.7 " ,
4
4
"description" : " Haraka plugin that saves logs to Elasticsearch" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
- "lint" : " npx eslint *.js test/*.js " ,
8
- "lintfix" : " npx eslint --fix *.js test/*.js " ,
7
+ "lint" : " npx eslint *.js test" ,
8
+ "lintfix" : " npx eslint --fix *.js test" ,
9
9
"test" : " npx mocha"
10
10
},
11
11
"repository" : {
28
28
"haraka-utils" : " *"
29
29
},
30
30
"devDependencies" : {
31
- "eslint" : " * " ,
31
+ "eslint" : " >=8 " ,
32
32
"eslint-plugin-haraka" : " *" ,
33
33
"haraka-test-fixtures" : " *" ,
34
- "mocha" : " * "
34
+ "mocha" : " >=9 "
35
35
}
36
36
}
You can’t perform that action at this time.
0 commit comments