Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
482ae2d6
Unverified
Commit
482ae2d6
authored
5 years ago
by
Diego Sampaio
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Ci improvements (#14600)
* Move livechat npm install to postinstall * Clone snap repo with depth 1
parent
728e5c14
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.circleci/config.yml
+0
-3
0 additions, 3 deletions
.circleci/config.yml
.circleci/snap.sh
+1
-1
1 addition, 1 deletion
.circleci/snap.sh
.scripts/npm-postinstall.js
+2
-0
2 additions, 0 deletions
.scripts/npm-postinstall.js
with
3 additions
and
4 deletions
.circleci/config.yml
+
0
−
3
View file @
482ae2d6
...
...
@@ -118,9 +118,6 @@ jobs:
# rm -rf node_modules
# rm -f package-lock.json
meteor npm install
cd packages/rocketchat-livechat/.app
meteor npm install
cd -
-
run
:
name
:
Lint
...
...
This diff is collapsed.
Click to expand it.
.circleci/snap.sh
+
1
−
1
View file @
482ae2d6
...
...
@@ -13,7 +13,7 @@ cd $PWD/.snapcraft
echo
-e
"Tag:
$CIRCLE_TAG
\r\n
Branch:
$CIRCLE_BRANCH
\r\n
Build:
$CIRCLE_BUILD_NUM
\r\n
Commit:
$CIRCLE_SHA1
"
>
buildinfo
# Clone launchpad repo for the channel down.
git clone
-b
$SNAP_CHANNEL
git+ssh://rocket.chat.buildmaster@git.launchpad.net/rocket.chat launchpad
git clone
-b
$SNAP_CHANNEL
--depth
1
git+ssh://rocket.chat.buildmaster@git.launchpad.net/rocket.chat launchpad
# Rarely will change, but just incase we copy it all
cp
-r
resources buildinfo snap launchpad/
...
...
This diff is collapsed.
Click to expand it.
.scripts/npm-postinstall.js
+
2
−
0
View file @
482ae2d6
...
...
@@ -9,3 +9,5 @@ execSync('mkdir -p public/fonts/');
execSync
(
'
cp node_modules/katex/dist/fonts/* public/fonts/
'
);
execSync
(
'
cp node_modules/pdfjs-dist/build/pdf.worker.min.js public/
'
);
execSync
(
'
cd packages/rocketchat-livechat/.app && (meteor npm install || npm install) && cd -
'
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment