-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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 #7643 from RocketChat/color-variables
[NEW] Rocket.Chat UI Redesign
- Loading branch information
Showing
215 changed files
with
8,177 additions
and
3,493 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,20 @@ | ||
FROM node:4 | ||
|
||
ADD . /app | ||
|
||
ENV RC_VERSION=0.57.0-designpreview \ | ||
DEPLOY_METHOD=docker \ | ||
NODE_ENV=production \ | ||
PORT=3000 \ | ||
ROOT_URL=http://localhost:3000 | ||
|
||
RUN set -x \ | ||
&& cd /app/bundle/programs/server \ | ||
&& npm install \ | ||
&& npm cache clear | ||
|
||
WORKDIR /app/bundle | ||
|
||
EXPOSE 3000 | ||
|
||
CMD ["node", "main.js"] |
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,77 @@ | ||
# Javascript Node CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-javascript/ for more details | ||
# | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# specify the version you desire here | ||
- image: circleci/node:7.10 | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
# - image: circleci/mongo:3.4.4 | ||
|
||
working_directory: ~/repo | ||
|
||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Install Meteor | ||
command: if [ ! -e "$HOME/.meteor/meteor" ]; then curl https://install.meteor.com | sed s/--progress-bar/-sL/g | /bin/sh; fi | ||
filters: | ||
branches: | ||
only: color-variables | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package.json" }} | ||
filters: | ||
branches: | ||
only: color-variables | ||
|
||
- run: | ||
name: Build Rocket.Chat | ||
command: | | ||
meteor npm install | ||
set +e | ||
meteor add rocketchat:lib | ||
set -e | ||
meteor build --server-only --directory /tmp/build | ||
filters: | ||
branches: | ||
only: color-variables | ||
|
||
- save_cache: | ||
key: dependency-cache-{{ checksum "package.json" }} | ||
paths: | ||
- ./node_modules | ||
- ./.meteor | ||
- $HOME/.meteor | ||
filters: | ||
branches: | ||
only: color-variables | ||
|
||
- setup_remote_docker | ||
|
||
- run: | ||
name: Build Docker image | ||
command: | | ||
docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD | ||
cp .circleci/Dockerfile /tmp/build | ||
cd /tmp/build | ||
docker build -t rocketchat/rocket.chat:designpreview . | ||
docker push rocketchat/rocket.chat:designpreview | ||
filters: | ||
branches: | ||
only: color-variables | ||
- run: | ||
name: Notify on demo | ||
command: | | ||
curl -X POST -H 'Content-Type: application/json' --data "{\"text\":\"@here Nova [build](${CIRCLE_BUILD_URL}) pronta :marioparty:\"}" $WEBHOOK_URL | ||
filters: | ||
branches: | ||
only: color-variables |
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.