Skip to content

Commit

Permalink
feat(1951): Refactor executor queue to make api calls to queue-service (
Browse files Browse the repository at this point in the history
#81)

* feat(1951):  Refactor : api calls to queue-service
1. Update to new major version
2. Decouple queue from api

* feat(1951): Upgrade major version

* fix: setup for new eslint config & mocha

* fix: eslint fixes

* fix: more eslint fixes

* feat(1951):  Refactor : api calls to queue-service
1. Update to new major version
2. Decouple queue from api

* feat(1951): Upgrade major version

* fix: setup for new eslint config & mocha

* fix: eslint fixes

* fix: more eslint fixes

* feat: Fix issues and lint errors

* feat: revert linter changes

* feat: Update data-schema version

Co-authored-by: Jithin Emmanuel <[email protected]>
  • Loading branch information
pritamstyz4ever and jithine authored Mar 18, 2020
1 parent 573fb94 commit 3b4cedf
Show file tree
Hide file tree
Showing 9 changed files with 255 additions and 1,662 deletions.
646 changes: 86 additions & 560 deletions index.js

Large diffs are not rendered by default.

119 changes: 0 additions & 119 deletions lib/cron.js

This file was deleted.

185 changes: 0 additions & 185 deletions lib/freezeWindows.js

This file was deleted.

22 changes: 9 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "screwdriver-executor-queue",
"version": "1.0.0",
"version": "3.0.0",
"description": "Executor plugin for Screwdriver using Resque",
"main": "index.js",
"scripts": {
"pretest": "eslint .",
"test": "jenkins-mocha --recursive",
"test": "nyc --report-dir ./artifacts/coverage --reporter=lcov mocha --recursive --timeout 4000 --retries 1 --exit --color true",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
Expand Down Expand Up @@ -34,23 +34,19 @@
],
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^4.19.1",
"eslint-config-screwdriver": "^3.0.1",
"jenkins-mocha": "^8.0.0",
"eslint": "^6.8.0",
"eslint-config-screwdriver": "^5.0.3",
"mocha": "^7.1.0",
"mockery": "^2.0.0",
"nyc": "^15.0.0",
"sinon": "^4.5.0"
},
"dependencies": {
"circuit-fuses": "^4.0.0",
"cron-parser": "^2.13.0",
"hoek": "^5.0.4",
"ioredis": "^3.2.2",
"node-resque": "^5.5.3",
"requestretry": "^3.1.0",
"screwdriver-data-schema": "^19.1.1",
"screwdriver-data-schema": "^19.7.0",
"screwdriver-executor-base": "^7.4.0",
"string-hash": "^1.1.3",
"screwdriver-logger": "^1.0.0"
"screwdriver-logger": "^1.0.0",
"string-hash": "^1.1.3"
},
"release": {
"debug": false,
Expand Down
3 changes: 2 additions & 1 deletion test/data/fullConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"apiUri": "http://api.com",
"token": "asdf",
"blockedBy": [777, 888],
"freezeWindows": ["* * ? * 1", "0-59 0-23 * 1 ?"]
"freezeWindows": ["* * ? * 1", "0-59 0-23 * 1 ?"],
"pipelineId": "123"
}
6 changes: 0 additions & 6 deletions test/data/testConnection.json

This file was deleted.

Loading

0 comments on commit 3b4cedf

Please sign in to comment.