-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- ci: use shared GHA workflows - ci: add submodule .release - es7: update index map template
- Loading branch information
Showing
12 changed files
with
118 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
allow: | ||
- dependency-type: production |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: CI | ||
|
||
on: [ push ] | ||
|
||
env: | ||
CI: true | ||
|
||
jobs: | ||
|
||
lint: | ||
uses: haraka/.github/.github/workflows/lint.yml@master | ||
|
||
# coverage: | ||
# uses: haraka/.github/.github/workflows/coverage.yml@master | ||
# secrets: inherit | ||
|
||
test: | ||
needs: [ lint, get-lts ] | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest ] | ||
node-version: ${{ fromJson(needs.get-lts.outputs.active) }} | ||
fail-fast: false | ||
steps: | ||
- name: Configure sysctl limits | ||
run: | | ||
sudo swapoff -a | ||
sudo sysctl -w vm.swappiness=1 | ||
sudo sysctl -w fs.file-max=262144 | ||
sudo sysctl -w vm.max_map_count=262144 | ||
- uses: miyataka/elasticsearch-github-actions@1 | ||
with: | ||
stack-version: '7.6.2' | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
name: Node ${{ matrix.node-version }} on ${{ matrix.os }} | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: npm test | ||
|
||
get-lts: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: get | ||
uses: msimerson/node-lts-versions@v1 | ||
outputs: | ||
active: ${{ steps.get.outputs.active }} | ||
lts: ${{ steps.get.outputs.lts }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
schedule: | ||
- cron: '18 7 * * 4' | ||
|
||
jobs: | ||
codeql: | ||
uses: haraka/.github/.github/workflows/codeql.yml@master |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
env: | ||
CI: true | ||
|
||
jobs: | ||
publish: | ||
uses: haraka/.github/.github/workflows/publish.yml@master | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,3 +58,5 @@ typings/ | |
.env | ||
|
||
package-lock.json | ||
|
||
haraka-update.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule ".release"] | ||
path = .release | ||
url = [email protected]:msimerson/.release.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,53 @@ | ||
### Unreleased | ||
|
||
## 1.0.6 - 2020-07-21 | ||
|
||
### [1.0.7] - 2022-06-06 | ||
|
||
- ci: use shared GHA workflows | ||
- ci: add submodule .release | ||
- es7: update index map template | ||
|
||
|
||
### 1.0.6 - 2020-07-21 | ||
|
||
- add URI for connection settings | ||
- add options to specify user & ssl connection settings | ||
- bump elasticsearch client to version 7.8 | ||
|
||
|
||
## 1.0.5 - 2020-04-29 | ||
### 1.0.5 - 2020-04-29 | ||
|
||
- update to upstream @elastic/elasticsearch@6 | ||
- convert test runner to mocha | ||
- use GitHub actions instead of Travis & AppVeyor | ||
- package.json: depend on latest eslint | ||
|
||
|
||
## 1.0.4 - 2019-09-22 | ||
### 1.0.4 - 2019-09-22 | ||
|
||
- update index template for ES 6 | ||
|
||
|
||
## 1.0.3 - 2017-08-22 | ||
### 1.0.3 - 2017-08-22 | ||
|
||
- fix txr variable scope | ||
- add tests for get_es_hosts | ||
|
||
|
||
## 1.0.2 - 2017-07-29 | ||
### 1.0.2 - 2017-07-29 | ||
|
||
- also prune null values because typeof null === object | ||
- add test storing doc against index template | ||
- get ES testing working on AppVeyor (windows) | ||
|
||
|
||
## 1.0.1 - 2017-07-29 | ||
### 1.0.1 - 2017-07-29 | ||
|
||
- qualify the path to plugin.\*.msg to avoid collision | ||
|
||
|
||
## 1.0.0 - 2017-07-14 | ||
### 1.0.0 - 2017-07-14 | ||
|
||
- initial release | ||
|
||
[1.0.7]: https://github.com/haraka/haraka-plugin-elasticsearch/releases/tag/1.0.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters