You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We used Docker to enable clean build everytime code is committed to the application. Docker is installed on our AWS server (which hosts the node.js server) and a docker image was created with dependencies in the dockerfile, which can be found [here](https://github.com/ankitkumar93/DevOps-Project/blob/m1_dev/build/Dockerfile).
34
-
The docker image was generated once, which used the dockerfile to install basic dependencies. Further, on each build trigger the test-code repo is cloned, and its dependencies are install by calling ``` npm install ```. The build script handles all such calls.
34
+
The docker image was generated once, which used the dockerfile to install basic dependencies. Further, on each build trigger the test-code repo is cloned, and its dependencies are installed by calling ``` npm install ```. The build script handles all such calls.
35
35
Our build scripts are branch specific scripts which are triggered by [build](https://github.com/ankitkumar93/DevOps-Project/blob/m1_dev/trigger/controller/build.js) file.<br>
36
36
37
37
####<aname="3"></a>Build Status + External Post-Build Job Triggers
@@ -43,4 +43,4 @@ There are 2 branches running for the our test-code: master and develop, hence th
43
43
The difference between the two build scripts is that, on develop there is just one unit test, however on the master branch there are 5 unit tests. You can see the difference by seeing the number of passing and failing tests in the build log.<br>
44
44
45
45
####<aname="5"></a>Build History and Display over HTTP
46
-
We've created a simple UI using AngularJS and Bootstrap and then tied it to our Node.js backend to display the history of build execution with timestamp, build status, branch on which build was triggered and a link to the log file. We used mongDB to store the history, and the mongoDB server runs on the same instance as our web server. The history api implementation can be found [here](https://github.com/ankitkumar93/DevOps-Project/blob/m1_dev/trigger/controller/history.js)
46
+
We've created a simple UI using AngularJS and Bootstrap and then tied it to our Node.js backend to display the history of build execution with timestamp, build status, branch on which build was triggered and a link to the log file. We used mongoDB to store the history, and the mongoDB server runs on the same instance as our web server. The history api implementation can be found [here](https://github.com/ankitkumar93/DevOps-Project/blob/m1_dev/trigger/controller/history.js)
0 commit comments