-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added status.js and its tests (#238)
Adds status.js to update the status message to json format. Adds the unit tests for status.js module. Moves the configuration variables from code into environment variables; updates the playbooks as well. Updates the configuration JSON files to a consistent format.
- Loading branch information
1 parent
85677ba
commit 7b0e7f4
Showing
31 changed files
with
529 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
{ "load_balancer" :{ | ||
"role": "load_balancer", | ||
"hostname": "localhost", | ||
"port": "8081" | ||
}, | ||
"gitlab" :{ | ||
"role": "gitlab", | ||
"hostname": "localhost", | ||
"port": "80" | ||
}, | ||
"host_port" : | ||
"execution_node" : | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port" : "8082" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"node_details": | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port": "8082" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
{ "load_balancer" :{ | ||
"role": "load_balancer", | ||
"hostname": "localhost", | ||
"port": "8081" | ||
}, | ||
"gitlab" :{ | ||
"role": "gitlab", | ||
"hostname": "localhost", | ||
"port": "80" | ||
}, | ||
"host_port" : | ||
"execution_node" : | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port" : "8083" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"node_details": | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port": "8083" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
{ "load_balancer" :{ | ||
"role": "load_balancer", | ||
"hostname": "localhost", | ||
"port": "8081" | ||
}, | ||
"gitlab" :{ | ||
"role": "gitlab", | ||
"hostname": "localhost", | ||
"port": "80" | ||
}, | ||
"host_port" : | ||
"execution_node" : | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port" : "8084" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"node_details": | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port": "8084" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
{ "load_balancer" :{ | ||
"role": "load_balancer", | ||
"hostname": "localhost", | ||
"port": "8081" | ||
}, | ||
"gitlab" :{ | ||
"role": "gitlab", | ||
"hostname": "localhost", | ||
"port": "80" | ||
}, | ||
"host_port" : | ||
"execution_node" : | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port" : "8085" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"node_details": | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port": "8085" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
{ "load_balancer" :{ | ||
"role": "load_balancer", | ||
"hostname": "localhost", | ||
"port": "8081" | ||
}, | ||
"gitlab" :{ | ||
"role": "gitlab", | ||
"hostname": "localhost", | ||
"port": "80" | ||
}, | ||
"host_port" : | ||
"execution_node" : | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port" : "8086" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"node_details": | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port": "8086" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,51 @@ | ||
{ | ||
"Nodes": [ | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port": "8082" | ||
}, | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port": "8083" | ||
}, | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port": "8084" | ||
}, | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port": "8085" | ||
}, | ||
{ | ||
"role": "execution_node", | ||
"hostname": "localhost", | ||
"port": "8086" | ||
} | ||
], | ||
"server_info": { | ||
"role": "main_server", | ||
"hostname": "localhost", | ||
"port": "9000" | ||
}, | ||
"database": { | ||
"role": "database", | ||
"host": "localhost", | ||
"user": "root", | ||
"password": "root", | ||
"database": "Autolab" | ||
}, | ||
"gitlab": { | ||
"role": "gitlab", | ||
"hostname": "localhost", | ||
"port": "80" | ||
}, | ||
"host_port": { | ||
"load_balancer": { | ||
"role": "load_balancer", | ||
"hostname": "localhost", | ||
"port": "8081" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
{ | ||
"load_balancer": { | ||
"role": "load_balancer", | ||
"hostname": "localhost", | ||
"port": "8081" | ||
}, | ||
"database" : | ||
{ | ||
"role": "database", | ||
"host" : "localhost", | ||
"user" : "root", | ||
"password" : "root", | ||
"database" : "Autolab" | ||
}, | ||
"gitlab" : | ||
{ | ||
"role": "gitlab", | ||
"username":"root", | ||
"password" : "12345678" | ||
}, | ||
"host_port" : | ||
"main_server" : | ||
{ | ||
"role": "main_server", | ||
"hostname": "localhost", | ||
"port" : "9000" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.