-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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 #6614 from RocketChat/release-candidate-snap
Add candidate snap channel
- Loading branch information
Showing
5 changed files
with
112 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# | ||
# Easiest way to work with this file, from an updated Ubuntu 16.04 LTS image | ||
# 1. create a non-root user with sudo priv and perform following steps as non-root | ||
# 2. `sudo apt-get update` | ||
# 3. `sudo apt-get install snapcraft python build-essential` | ||
# 4. `snapcraft stage` | ||
# 5. `snapcraft snap` | ||
|
||
name: rocketchat-server | ||
version: #{RC_VERSION} | ||
summary: Rocket.Chat server | ||
description: Have your own Slack like online chat, built with Meteor. https://rocket.chat/ | ||
confinement: strict | ||
apps: | ||
rocketchat-server: | ||
command: startRocketChat | ||
daemon: simple | ||
plugs: [network, network-bind] | ||
rocketchat-mongo: | ||
command: startmongo | ||
daemon: simple | ||
plugs: [network, network-bind] | ||
rocketchat-caddy: | ||
command: env LC_ALL=C caddy -conf=$SNAP_DATA/Caddyfile -host=localhost:8080 | ||
daemon: simple | ||
plugs: [network, network-bind] | ||
backupdb: | ||
command: env LC_ALL=c rcbackup | ||
plugs: [network] | ||
initcaddy: | ||
command: env LC_ALL=c initcaddy | ||
parts: | ||
node: | ||
plugin: nodejs | ||
node-engine: 4.8.1 | ||
node-packages: | ||
- promise | ||
- fibers | ||
- underscore | ||
- source-map-support | ||
- semver | ||
build-packages: | ||
# For fibers | ||
- python | ||
- build-essential | ||
- nodejs | ||
organize: | ||
lib/node_modules: node_modules | ||
rocketchat-server: | ||
plugin: dump | ||
after: [mongodb] | ||
source: https://rocket.chat/releases/release-candidate/download | ||
source-type: tar | ||
stage-packages: | ||
- graphicsmagick | ||
stage: | ||
- programs | ||
- main.js | ||
- .node_version.txt | ||
- usr | ||
- lib | ||
snap: | ||
- programs | ||
- main.js | ||
- .node_version.txt | ||
- usr | ||
- lib | ||
mongodb: | ||
source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.2.7.tgz | ||
plugin: dump | ||
stage-packages: | ||
- libssl1.0.0 | ||
stage: | ||
- usr | ||
- bin | ||
- lib | ||
snap: | ||
- usr | ||
- bin | ||
- lib | ||
scripts: | ||
plugin: dump | ||
source: resources/ | ||
organize: | ||
rcbackup: bin/rcbackup | ||
startmongo: bin/startmongo | ||
startRocketChat: bin/startRocketChat | ||
initreplset.js: bin/initreplset.js | ||
Caddyfile: bin/Caddyfile | ||
initcaddy: bin/initcaddy | ||
snap: | ||
- bin | ||
caddy: | ||
plugin: go | ||
go-importpath: github.com/mholt/caddy | ||
source: https://github.com/mholt/caddy | ||
source-type: git | ||
source-commit: 53e117802fedd5915eeb32907873d8786a4b2936 | ||
snap: | ||
- bin/caddy |
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
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