Comments (1)
Not sure if I should create a separate issue for what I am facing but we are looking into using gasket extensively at the company I'm working for and while doing some spikes I noticed some "weird behavior" during crashes which I don't know if it is the intended Gasket's behavior or not.
To give you some background, we are planning to use gasket from a Jenkins job and one of the things we noticed on initial testing is that Gasket does not return an exit code != 0
when a pipeline crashes.
The simplest example I can put together is:
$ cat gasket.json
{ "test": [ "curl waaaat.com", "cat" ] }
$ gasket run test; echo $?
0
I even tried using gasket as a module but I got the same behavior:
$ cat foo.js
var gasket = require('gasket');
var pipelines = gasket({ example: [ "curl waaaat.com", "cat" ] });
pipelines.run('example').pipe(process.stdout);
console.log('Things did not break :(');
$ node foo.js
Things did not break :(
Why the exit code is important for us? The data generated by our pipeline will end up being pushed into rabbitmq so that other process can kick in and continue some additional processing. If we can't detect automatically that the gasket side of things had an issue from the Jenkins job we will never know if things are working as expected.
Hopefully that's clear enough. Please LMK if you need any additional information! :-)
from gasket.
Related Issues (17)
- Invalid package.json causes data-plumber to emit misleading message about json path
- Variable replacement
- Gasket Compatible Module List HOT 2
- progress API
- Some null-terminated commands not executed? HOT 4
- Data Pipeline Configuration and Datscript Proposal HOT 16
- expose current task/progress
- gasket as a module HOT 2
- conditional process trigger
- more verb proposals, catch and each HOT 1
- resume after crash.
- loses stderr? HOT 1
- Goals for Gasket HOT 1
- another bug? HOT 2
- [feedback wanted] api for pipe/parallel/serial mode HOT 7
- options for setting config file and pipeline key
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gasket.