mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-14 05:32:57 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f432d57004 | ||
|
|
26a4e6dcf1 | ||
|
|
54dc63d848 | ||
|
|
949063eff8 | ||
|
|
9832b0395a |
@@ -21,6 +21,12 @@ unit:
|
||||
stage: test
|
||||
script:
|
||||
- npm test
|
||||
coverage: '/Statements[^:]*\:[^:]*\s+([\d\.]+)%/'
|
||||
artifacts:
|
||||
reports:
|
||||
coverage_report:
|
||||
coverage_format: cobertura
|
||||
path: coverage/cobertura-coverage.xml
|
||||
|
||||
audit:
|
||||
allow_failure: true
|
||||
|
||||
11
CHANGELOG.md
11
CHANGELOG.md
@@ -1,3 +1,14 @@
|
||||
# [1.2.0](https://gitlab.com/openstapps/proxy/compare/v1.1.0...v1.2.0) (2022-06-08)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* added prometheus metrics support ([5522ac5](https://gitlab.com/openstapps/proxy/commit/5522ac55ac00d4b809d942d0a8c58d15b0432fb8))
|
||||
* reload nginx on proxyconfig change ([1fcf734](https://gitlab.com/openstapps/proxy/commit/1fcf7340d49bde993b3acc7bdc90e6a637a05321))
|
||||
* support docker swarm deployments ([4bb46d8](https://gitlab.com/openstapps/proxy/commit/4bb46d8a06ff7829b6908bd03c1cf4240767fcc2))
|
||||
|
||||
|
||||
|
||||
# [1.1.0](https://gitlab.com/openstapps/proxy/compare/v1.0.1...v1.1.0) (2022-03-10)
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
map $status $omitOKs {
|
||||
default 1;
|
||||
~^[2][0][0] 0;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
access_log /dev/stdout combined if=$omitOKs;
|
||||
location /metrics {
|
||||
vhost_traffic_status_display;
|
||||
vhost_traffic_status_display_format prometheus;
|
||||
|
||||
741
package-lock.json
generated
741
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
37
package.json
37
package.json
@@ -1,47 +1,47 @@
|
||||
{
|
||||
"name": "@openstapps/proxy",
|
||||
"version": "1.2.0",
|
||||
"version": "1.3.0",
|
||||
"description": "NGINX proxy that is dynamically configured by a Node.js script",
|
||||
"main": "./lib/cli.js",
|
||||
"dependencies": {
|
||||
"@openstapps/logger": "0.8.1",
|
||||
"@types/config": "0.0.41",
|
||||
"@openstapps/logger": "1.0.0",
|
||||
"@types/config": "3.3.0",
|
||||
"@types/dockerode": "3.3.9",
|
||||
"@types/node": "14.18.16",
|
||||
"@types/node": "14.18.24",
|
||||
"@types/sha1": "1.1.3",
|
||||
"config": "3.3.7",
|
||||
"dockerode": "3.3.2",
|
||||
"dockerode": "3.3.3",
|
||||
"is-cidr": "4.0.2",
|
||||
"mustache": "4.2.0",
|
||||
"node-port-scanner": "3.0.1",
|
||||
"semver": "7.3.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openstapps/configuration": "0.31.0",
|
||||
"@openstapps/eslint-config": "1.0.0",
|
||||
"@openstapps/configuration": "0.33.0",
|
||||
"@openstapps/eslint-config": "1.1.0",
|
||||
"@testdeck/mocha": "0.2.0",
|
||||
"@types/chai": "4.3.1",
|
||||
"@types/chai": "4.3.3",
|
||||
"@types/chai-spies": "1.0.3",
|
||||
"@types/mustache": "4.1.3",
|
||||
"@types/mustache": "4.2.1",
|
||||
"@types/proxyquire": "1.3.28",
|
||||
"@typescript-eslint/eslint-plugin": "5.27.1",
|
||||
"@typescript-eslint/parser": "5.27.1",
|
||||
"@typescript-eslint/eslint-plugin": "5.33.1",
|
||||
"@typescript-eslint/parser": "5.33.1",
|
||||
"chai": "4.3.6",
|
||||
"chai-spies": "1.0.0",
|
||||
"conventional-changelog-cli": "2.2.2",
|
||||
"eslint": "8.17.0",
|
||||
"eslint": "8.22.0",
|
||||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-jsdoc": "39.3.2",
|
||||
"eslint-plugin-prettier": "4.0.0",
|
||||
"eslint-plugin-unicorn": "42.0.0",
|
||||
"eslint-plugin-jsdoc": "39.3.6",
|
||||
"eslint-plugin-prettier": "4.2.1",
|
||||
"eslint-plugin-unicorn": "43.0.2",
|
||||
"mocha": "9.2.2",
|
||||
"nyc": "15.1.0",
|
||||
"prepend-file-cli": "1.0.6",
|
||||
"prettier": "2.6.2",
|
||||
"prettier": "2.7.1",
|
||||
"proxyquire": "2.1.3",
|
||||
"rimraf": "3.0.2",
|
||||
"ts-node": "10.8.1",
|
||||
"typedoc": "0.22.17",
|
||||
"ts-node": "10.9.1",
|
||||
"typedoc": "0.22.18",
|
||||
"typescript": "4.4.4"
|
||||
},
|
||||
"scripts": {
|
||||
@@ -94,6 +94,7 @@
|
||||
"lines": 95,
|
||||
"per-file": true,
|
||||
"reporter": [
|
||||
"cobertura",
|
||||
"html",
|
||||
"text-summary"
|
||||
],
|
||||
|
||||
@@ -79,4 +79,5 @@ async function updateNginxConfig() {
|
||||
}
|
||||
|
||||
// start the process that checks the docker socket periodically
|
||||
// eslint-disable-next-line unicorn/prefer-top-level-await
|
||||
updateNginxConfig();
|
||||
|
||||
Reference in New Issue
Block a user