Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master p #6

Open
wants to merge 107 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
dcac04b
adds slack notification
Riturajcse Aug 5, 2016
abd2e65
changes test
Riturajcse Aug 5, 2016
6c88e49
changes again
Riturajcse Aug 5, 2016
f9c1f4a
Update test.js
Riturajcse Aug 5, 2016
515d460
Update test.js
Riturajcse Sep 16, 2016
bfad593
Update shippable.yml
Riturajcse Sep 20, 2016
61aabae
Create test1.js
Riturajcse Sep 20, 2016
6935fda
Update shippable.yml
Riturajcse Sep 20, 2016
09276fd
Update test.js
Riturajcse Sep 20, 2016
3154e97
Update test1.js
Riturajcse Oct 4, 2016
bfdcb0d
Update shippable.yml
Riturajcse Oct 4, 2016
0ecc351
Update test.js
Riturajcse Oct 4, 2016
d40a2f0
Update test.js
Riturajcse Oct 4, 2016
df4c345
Update shippable.yml
Riturajcse Jan 23, 2017
a9e3379
Update test.js
Riturajcse Jan 23, 2017
b291ef1
Update test1.js
Riturajcse Jan 23, 2017
4a3948d
Update shippable.yml
Riturajcse Jan 23, 2017
01828f0
Update shippable.yml
Riturajcse Jan 23, 2017
797b663
Update test.js
Riturajcse Jan 23, 2017
cf3720f
Update test1.js
Riturajcse Jan 23, 2017
611adb7
Update shippable.yml
Riturajcse Jan 23, 2017
10ec4ea
Update shippable.yml
Riturajcse Jan 23, 2017
256270f
Update shippable.yml
Riturajcse Jan 23, 2017
d26854e
Update test.js
Riturajcse Jan 23, 2017
010bf2a
Update shippable.yml
Riturajcse Jan 23, 2017
87ccdec
Update test.js
Riturajcse Jan 23, 2017
bcbda7b
Update shippable.yml
Riturajcse Jan 24, 2017
1381711
Update shippable.yml
Riturajcse Jan 24, 2017
2fe2bd2
Update shippable.yml
Riturajcse Jan 24, 2017
b5422e5
Update shippable.yml
Riturajcse Jan 24, 2017
7b2c3b2
Update shippable.yml
Riturajcse Jan 24, 2017
8a62b10
Update shippable.yml
Riturajcse Jan 24, 2017
e7e841b
Update shippable.yml
Riturajcse Jan 24, 2017
7a38d55
Update shippable.yml
Riturajcse Jan 30, 2017
9df065e
Update shippable.yml
Riturajcse Jan 30, 2017
f41f2b2
Update shippable.yml
Riturajcse Mar 15, 2017
72be8bd
Update README.md
Riturajcse Mar 17, 2017
74da9ca
This is a very very long yes you heard it right this is indeed a very…
Riturajcse Mar 22, 2017
3d50d69
Update shippable.yml
Riturajcse Mar 22, 2017
0c54fe6
this is a long long long very long commit message
Riturajcse Mar 27, 2017
97866e3
Update README.md
Riturajcse Mar 27, 2017
f12ec1a
new commit message for testing
Riturajcse Mar 27, 2017
a2bcdae
Update README.md
Riturajcse Mar 27, 2017
65b24f8
Update README.md
Riturajcse Mar 27, 2017
0bf02c7
Update README.md
Riturajcse Mar 27, 2017
f1b1f49
Update shippable.yml
Riturajcse Mar 27, 2017
2ee0ca7
Update shippable.yml
Riturajcse Mar 27, 2017
779c22a
Update README.md
Riturajcse Mar 27, 2017
4838cb4
testing
Riturajcse Apr 20, 2017
b19e25a
Update README.md
Riturajcse Apr 20, 2017
97ef6c0
Update README.md
Riturajcse Apr 20, 2017
573a400
Update README.md
Riturajcse Apr 20, 2017
0cd1984
Update shippable.yml
Riturajcse Apr 21, 2017
116d1a0
Commiing for testing
Riturajcse May 18, 2017
f8ffbc5
Update shippable.yml
Riturajcse Jun 1, 2017
d9175c0
Update shippable.yml
Riturajcse Jun 6, 2017
9ddd326
Create shippable.yml
Riturajcse Jun 8, 2017
17492b3
new commit new ui
Riturajcse Jun 15, 2017
dabf5c9
new commit new UI test
Riturajcse Jun 15, 2017
9721b0a
Update shippable.yml
Riturajcse Jul 18, 2017
18641f2
Update shippable.yml
Riturajcse Jul 18, 2017
5fbb050
Here this will be a very long message atually this will indeed be a v…
Riturajcse Jul 27, 2017
0de3011
Update README.md
Riturajcse Jul 27, 2017
c7d377f
Update README.md
Riturajcse Jul 27, 2017
28b0d04
Update shippable.yml
Riturajcse Aug 2, 2017
8a25741
Update shippable.yml
Riturajcse Aug 2, 2017
2dc9efd
Update README.md
Riturajcse Aug 3, 2017
34a0a18
Update README.md
Riturajcse Aug 3, 2017
6ce1411
Update README.md
Riturajcse Oct 11, 2017
df8a4bc
Update README.md
Riturajcse Oct 11, 2017
019ff7b
Update README.md
Riturajcse Oct 11, 2017
c23f0bf
Update shippable.yml
Riturajcse Nov 10, 2017
8058bba
Update shippable.yml
Riturajcse Nov 10, 2017
1c2dea0
Update shippable.yml
Riturajcse Nov 10, 2017
483caa4
Update shippable.yml
Riturajcse Nov 30, 2017
1092276
Update shippable.yml
Riturajcse Nov 30, 2017
23ea0e1
Update shippable.yml
Riturajcse Feb 14, 2018
9c7b94b
Update shippable.yml
Riturajcse Mar 1, 2018
13bd0ef
Update shippable.yml
Riturajcse Mar 1, 2018
8bd2969
Update shippable.yml
Riturajcse Mar 1, 2018
cd09763
Update shippable.yml
Riturajcse Mar 1, 2018
2e56cde
Update shippable.yml
Riturajcse Mar 1, 2018
740bdbf
Update shippable.yml
Riturajcse Mar 1, 2018
36602f0
Update shippable.yml
Riturajcse Mar 1, 2018
d9d656d
Update shippable.yml
Riturajcse Mar 1, 2018
45a5e41
Update shippable.yml
Riturajcse Mar 1, 2018
3efb55c
Update shippable.yml
Riturajcse Mar 1, 2018
02bea4d
Update shippable.yml
Riturajcse Mar 1, 2018
71d0a5c
Update shippable.yml
Riturajcse Mar 1, 2018
0ce6d60
Update shippable.yml
Riturajcse Mar 1, 2018
5d718c6
Update shippable.yml
Riturajcse Mar 5, 2018
f5b786c
Update shippable.yml
Riturajcse Mar 5, 2018
186fced
Update shippable.yml
Riturajcse Mar 5, 2018
2ed6a0d
Update shippable.yml
Riturajcse Mar 5, 2018
5d19fb5
Update shippable.yml
Riturajcse Apr 4, 2018
504b700
Update shippable.yml
Riturajcse Apr 4, 2018
322f272
Update shippable.yml
Riturajcse Apr 4, 2018
c603731
Update shippable.yml
Riturajcse Apr 4, 2018
dd005d8
Update index.js
Riturajcse Apr 4, 2018
9206726
Update index.js
Riturajcse Apr 4, 2018
28b5de1
Update index.js
Riturajcse Apr 4, 2018
1d1d4d2
Update index.js
Riturajcse Apr 4, 2018
15ae9c1
Update index.js
Riturajcse Apr 4, 2018
491037d
Update index.js
Riturajcse Apr 4, 2018
5e7fd5d
Update index.js
Riturajcse Apr 4, 2018
88c126a
Update index.js
Riturajcse Apr 4, 2018
41b1208
Update shippable.yml
Riturajcse Apr 4, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,25 @@ This repository has 6 files and the functions of each file are as follows:

1. README.md - Contains an some basic conventions and guidelines to show the working of folder level caching.
2. Shippable.yml - Configured for the language, version & to run a test during the CI step. http://docs.shippable.com/ci_configure/ gives you a detailed introduction on how to configure your CI on shippable.
3. Package.json - Installs all the libraries mentioned in dependencies list when we run npm install command from the root of this folder. The npm install command creates a new folder called node_modules which contains all the libraries mentioned in the dependency list.
3. Package.json - Installs all the libraries mentioned in dependencies list when we run npm install command from the root of this folder. The npm install command createsds a new folder called node_modules which contains all the libraries mentioned in the dependency list.
4. index.js - Outputs "Welcome to Shippable" in a browser
5. test.js - Configured to run a simple unit test to check the syntax of the index.js output
6. Gruntfile.js - grunt file that loads express server and mocha Test
7. xunit.xml -
8. .gitignore - default file created at the time of creating this repository
hellof the
dd
www
sdsdsd
asdad
sdsd
hello
hello world123gggg
hgsdf
d
123
asdads
1234
asd


2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ app.get("/", function (req, res) {
});

app.listen(3000, function () {
console.log('Express listening on port 3000');
console.log('Express listening on port11123457 3000');
});
30 changes: 25 additions & 5 deletions shippable.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,32 @@
language: node_js

node_js:
- 0.12
#node_js:
#- 4.3.1
#- 5.0.0

env:
- XUNIT_FILE=shippable/testresults/result.xml
matrix:
- foo=bar
- foo1=bar1

build:
#cache: true
pre_ci:
- echo "this is pr-ci1"
ci:
- npm install
- npm test
- echo "printing env 123454787983"
- printenv
- echo "build-number $BUILD_NUMBER"
- echo "job-number $JOB_NUMBER"
- if [ "$JOB_NUMBER" == "2" ]; then echo "hello $JOB_NUMBER"; fi
- if [ "$JOB_NUMBER" == "2" ]; then echo "versionName=$BRANCH.$BUILD_NUMBER.$JOB_NUMBER" >> $JOB_STATE/box-nginx-2.env; fi
- if [ "$JOB_NUMBER" == "1" ]; then echo "versionName=$BRANCH.$JOB_NUMBER"; fi
- if [ "$JOB_NUMBER" == "1" ]; then echo "versionName=$BRANCH.$BUILD_NUMBER.$JOB_NUMBER" >> $JOB_STATE/box-nginx-1.env; fi
#- echo "versionName=$BRANCH.$BUILD_NUMBER" >> $JOB_STATE/box-nginx-1.env;
#- shipctl post_resource_state box-nginx-1 versionName "build_"$BUILD_NUMBER

#integrations:
#hub:
#- integrationName: dockerhub
#type: generic

13 changes: 13 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,16 @@ describe("Index", function () {
});
});
});

describe("Index", function () {
it("renders HTML", function (done) {
superagent.get("http://localhost:3000/")
.end(function (e, res) {
(e === null).should.equal(true);
res.text.should.equal("Welcome to Shippable");
done();
});
});
});


24 changes: 24 additions & 0 deletions test1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
var superagent = require("superagent"),
should = require("should");

describe("Index", function () {
it("renders HTML", function (done) {
superagent.get("http://localhost:3000/")
.end(function (e, res) {
(e === null).should.equal(true);
res.text.should.equal("Welcome to Shippable");
done();
});
});
});

describe("Index", function () {
it("renders HTML", function (done) {
superagent.get("http://localhost:3000/")
.end(function (e, res) {
(e === null).should.equal(true);
res.text.should.equal("Welcome to Shippable");
done();
});
});
});