This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #309 from MicrosoftDX/dev
Dev to Master for 0.2
- Loading branch information
Showing
241 changed files
with
15,263 additions
and
3,929 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
npm-debug.log | ||
*.log | ||
/plugins/vorlon/**/*.css | ||
tsconfig.json | ||
/Plugins/obj | ||
**/node_modules | ||
sync.bat | ||
*.suo | ||
/.vs/ | ||
bin/ | ||
GLE id�es.txt | ||
**/control.css | ||
sync.bat | ||
Plugins/Vorlon/plugins/remoteDebugging.zip | ||
.settings/launch.json | ||
*.dat | ||
Server/public/stylesheets/style.css | ||
vorlon | ||
/Server/public/stylesheets/style.css | ||
/DeploymentTools/deployment-package.zip | ||
DeploymentTools/deployment-package.zip |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Available variables which can be used inside of strings. | ||
// ${workspaceRoot}: the root folder of the team | ||
// ${file}: the current opened file | ||
// ${fileBasename}: the current opened file's basename | ||
// ${fileDirname}: the current opened file's dirname | ||
// ${fileExtname}: the current opened file's extension | ||
// ${cwd}: the current working directory of the spawned process | ||
|
||
{ | ||
"version": "0.1.0", | ||
"command": "gulp", | ||
"isShellCommand": true, | ||
"tasks": [ | ||
{ | ||
"taskName": "default", | ||
"isBuildCommand": true, | ||
"showOutput": "always" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# use the node argon image as base | ||
FROM node:argon | ||
|
||
# Set the Vorlon.JS Docker Image maintainer | ||
MAINTAINER Julien Corioland (Microsoft, DX) | ||
|
||
# update apt get and install unzip | ||
RUN apt-get -qq update && apt-get -qqy install unzip | ||
|
||
# Create the application directory | ||
RUN mkdir -p /usr/src/vorlonjs | ||
|
||
# Set app root as working directory | ||
WORKDIR /usr/src/vorlonjs | ||
|
||
# Send the app content to the container | ||
COPY deployment-package.zip /usr/src/vorlonjs | ||
|
||
# Extract the archive | ||
RUN unzip deployment-package.zip -d /usr/src/vorlonjs | ||
|
||
# Remove the archive | ||
RUN rm deployment-package.zip | ||
|
||
# Expose port 1337 | ||
EXPOSE 1337 | ||
|
||
# Run Vorlon.JS | ||
CMD ["npm", "start"] |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
@ECHO OFF | ||
|
||
IF "%1"=="" GOTO :usage | ||
IF "%2"=="" GOTO :usage | ||
IF "%3"=="" GOTO :usage | ||
IF "%4"=="" GOTO :usage | ||
IF "%5"=="" GOTO :usage | ||
|
||
@ECHO "SET DOCKER_HOST TO %1" | ||
SET DOCKER_HOST=%1 | ||
|
||
@ECHO "BUILD DOCKER IMAGE" | ||
docker --tls --tlscacert="%2\ca.pem" --tlscert="%2\cert.pem" --tlskey="%2\key.pem" build -t jcorioland/vorlonjs:0.2 . | ||
|
||
@ECHO "LOG INTO DOCKER HUB" | ||
docker --tls --tlscacert="%2\ca.pem" --tlscert="%2\cert.pem" --tlskey="%2\key.pem" login --username="%3" --password="%4" --email="%5" https://index.docker.io/v1/ | ||
|
||
@ECHO "PUSH IMAGE INTO DOCKER HUB" | ||
docker --tls --tlscacert="%2\ca.pem" --tlscert="%2\cert.pem" --tlskey="%2\key.pem" push jcorioland/vorlonjs:0.2 | ||
|
||
@ECHO "LOG OUT FROM DOCKER HUB" | ||
docker --tls --tlscacert="%2\ca.pem" --tlscert="%2\cert.pem" --tlskey="%2\key.pem" logout | ||
|
||
GOTO :eof | ||
|
||
:usage | ||
@ECHO Usage: %0 ^<DOCKER_HOST^> ^<CERT_FOLDER^> ^<DOCKER_HUB_USERNAME^> ^<DOCKER_HUB_PASSWORD^> | ||
EXIT /B 1 |
Oops, something went wrong.