I hereby claim:
- I am romanlab on github.
- I am romanlab (https://keybase.io/romanlab) on keybase.
- I have a public key whose fingerprint is B447 7924 B33E 43EB 263C F943 92FB D7B2 A065 A5D2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| 'use strict'; | |
| /* | |
| Taken from: https://github.com/awslabs/amazon-kinesis-client-nodejs | |
| */ | |
| var kcl = require('aws-kcl'); | |
| var util = require('util'); | |
| var recordProcessor = { |
| const kcl = require('aws-kcl'); | |
| const bluebird = require('bluebird'); | |
| const util = require('util'); | |
| let fs = require('fs'); | |
| fs = bluebird.promisifyAll(fs); | |
| class RecordProcessor { | |
| async initialize(initializeInput, completeCallback) { | |
| await fs.writeFileAsync('test.txt', "Initializing\n"); |
| { | |
| "semantic-release-local": "semantic-release pre --debug=false && npm publish && semantic-release post --debug=false" | |
| } |
| "release": { | |
| "verifyConditions": { | |
| "path": "./node_modules/semantic-release/src/lib/plugin-noop.js" | |
| } | |
| } |
| "release": { | |
| "getLastRelease": "last-release-git" | |
| } |
| { | |
| "scripts": { | |
| "semantic-release": "semantic-release pre && semantic-release post" | |
| } | |
| } |
| jobs: | |
| include: | |
| - stage: npm release | |
| if: branch = master | |
| node_js: "8" | |
| script: npm run semantic-release |
| FROM node:10-alpine | |
| COPY . / | |
| ENTRYPOINT [ "/entrypoint.sh" ] |
| #!/bin/sh -l | |
| cd / | |
| npm ci | |
| node script.js $* |