-
-
Save nt1m/d6d98cc9d83ae072d41842bcf396ae05 to your computer and use it in GitHub Desktop.
janitor.json configurations
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
{ | |
"name": "Chromium", | |
"description": "The Chromium browser.", | |
"icon": "https://janitor.technology/img/chromium.svg", | |
"docker": { | |
"image": "janx/chromium" | |
}, | |
"ports": { | |
"22": { | |
"proxy": "none" | |
}, | |
"8088": { | |
"proxy": "https", | |
"label": "VNC" | |
}, | |
"8089": { | |
"proxy": "https", | |
"label": "Cloud9" | |
} | |
}, | |
"scripts": { | |
"ninja -C out/Default chrome (build)": "ninja -C out/Default chrome", | |
"out/Default/chrome (run)": "out/Default/chrome", | |
"Update source code": "gclient sync -j18" | |
} | |
} |
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
{ | |
"name": "Firefox (git)", | |
"description": "The Firefox browser (git flavour)", | |
"icon": "https://janitor.technology/img/firefox.svg", | |
"docker": { | |
"image": "JanitorTechnology/firefox-git:base" | |
}, | |
"ports": { | |
"22": { | |
"proxy": "none" | |
}, | |
"8088": { | |
"proxy": "https", | |
"label": "VNC" | |
}, | |
"8089": { | |
"proxy": "https", | |
"label": "Cloud9" | |
} | |
}, | |
"previewUrls": { | |
"VNC": "https://${HOSTNAME}/${CONTAINER}/8089/vnc.html" | |
}, | |
"scripts": { | |
"./mach build": "./mach build", | |
"./mach build faster": "./mach build faster", | |
"./mach build binaries": "./mach build binaries", | |
"./mach run": { | |
"cmd": "./mach run", | |
"openPreview": "VNC" | |
}, | |
"./mach clobber": "./mach clobber", | |
"Send to code review": "git bz attach -e origin/master..HEAD", | |
"Update source code": "git fetch origin && git rebase origin/master" | |
} | |
} |
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
{ | |
"name": "Firefox (hg)", | |
"description": "The Firefox browser (hg flavour)", | |
"icon": "https://janitor.technology/img/firefox.svg", | |
"docker": { | |
"image": "JanitorTechnology/firefox-hg:base" | |
}, | |
"ports": { | |
"22": { | |
"proxy": "none" | |
}, | |
"8088": { | |
"proxy": "https", | |
"label": "VNC" | |
}, | |
"8089": { | |
"proxy": "https", | |
"label": "Cloud9" | |
} | |
}, | |
"previewUrls": { | |
"VNC": "https://${HOSTNAME}/${CONTAINER}/8089/vnc.html" | |
}, | |
"scripts": { | |
"./mach build": "./mach build", | |
"./mach build faster": "./mach build faster", | |
"./mach build binaries": "./mach build binaries", | |
"./mach run": { | |
"cmd": "./mach run", | |
"openPreview": "VNC" | |
}, | |
"./mach clobber": "./mach clobber", | |
"Send to code review": "hg push review" | |
} | |
} |
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
{ | |
"name": "Janitor", | |
"description": "The fastest development system in the world.", | |
"icon": "https://janitor.technology/img/janitor.svg", | |
"docker": { | |
"image": "janx/janitor", | |
"path": "/home/user/janitor" | |
}, | |
"ports": { | |
"22": { | |
"label": "SSH", | |
"proxy": "none" | |
}, | |
"8080": { | |
"label": "Preview", | |
"proxy": "https" | |
}, | |
"8088": { | |
"label": "VNC", | |
"proxy": "https" | |
}, | |
"8089": { | |
"label": "Cloud9", | |
"proxy": "https" | |
} | |
}, | |
"scripts": { | |
"node app": "node app", | |
"npm run watch": "npm run watch", | |
"npm run lint": "npm run lint", | |
"npm run lint-fix": "npm run lint-fix", | |
"npm test": "npm test", | |
"Send to code review": "hub pull-request" | |
} | |
} |
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
// TODO |
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
// TODO |
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
{ | |
"name": "Servo", | |
"description": "The blasing rendering engine.", | |
"icon": "https://janitor.technology/img/servo.svg", | |
"docker": { | |
"image": "JanitorTechnology/servo" | |
}, | |
"ports": { | |
"22": { | |
"proxy": "none" | |
}, | |
"8088": { | |
"proxy": "https", | |
"label": "VNC" | |
}, | |
"8089": { | |
"proxy": "https", | |
"label": "Cloud9" | |
} | |
}, | |
"previewUrls": { | |
"VNC": "https://${HOSTNAME}/${CONTAINER}/8089/vnc.html" | |
}, | |
"scripts": { | |
"./mach build --dev": "./mach build --dev", | |
"./mach build --release": "./mach build --release", | |
"./mach run --dev": "./mach run --dev", | |
"./mach run --release": "./mach run --release", | |
"./mach check": "./mach check", | |
"Send to code review": "hub pull-request" | |
} | |
} |
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
{ | |
"name": "Thunderbird", | |
"description": "The email client by Mozilla foundation.", | |
"icon": "https://janitor.technology/img/thunderbird.svg", | |
"docker": { | |
"image": "JanitorTechnology/thunderbird:base" | |
}, | |
"ports": { | |
"22": { | |
"proxy": "none" | |
}, | |
"8088": { | |
"proxy": "https", | |
"label": "VNC" | |
}, | |
"8089": { | |
"proxy": "https", | |
"label": "Cloud9" | |
} | |
}, | |
"previewUrls": { | |
"VNC": "https://${HOSTNAME}/${CONTAINER}/8089/vnc.html" | |
}, | |
"scripts": { | |
"./mozilla/mach build": "./mozilla/mach build", | |
"./mozilla/mach run": "./mozilla/mach run", | |
"Update sources": "python client.py checkout" | |
} | |
} |
The Run button was initially disabled. Maybe setting the first command as the default one didn't work?
Worked fine when I tested the plugin, maybe it's related to other things in the workspace config ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a lot for these config files!
Please have a look at this older issue for other
scripts
examples: JanitorTechnology/janitor#12I have a few nits:
chromium
janx/chromium
for now. Eventually, we should maybe move all images underjanitortechnology/chromium
(I'll lose stats, but it's fairer to everyone).scripts
:"ninja -C out/Default chrome"
(build)"out/Default/chrome"
(run)"Update source code": "gclient sync -j18"
firefox-git
janx/firefox
(thejanx/firefox:base
tag is only used internally for incremental image updates)"type": "preview"
we had before having"openPreview": "VNC"
"Send to code review": "git bz attach -e origin/master..HEAD"
(this will get updated to use cinnabar in the future)"Update source code": "git fetch origin && git rebase origin/master"
firefox-hg
ntim/firefox-hg
(andntim/firefox-hg:base
internally). Also, are you planning on pushing it to Docker Hub? Otherwise I can simply rename it tojanx/firefox-hg
and push it for you (but keep your name in theMAINTAINER
field).thunderbird
"Update sources": "python client.py checkout"
./mozilla/mach build
./mozilla/mach run
janitor
node app
,npm run watch
, etc.npm test
instead ofnpm run test
Send to code review
feature! I tested it, and we don't even need to mess with Personal Access Tokens yet, it's already super convenient.Also, visually, the run configurations look like this:
Run
button was initially disabled. Maybe setting the first command as the default one didn't work?node app
,npm test
, etc, and workflow commands likeSend to code review
?