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
ecaaa743
Commit
ecaaa743
authored
9 years ago
by
Gabriel Engel
Browse files
Options
Downloads
Patches
Plain Diff
trying to use new travis infrastructure
parent
a3a08281
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis/sandstorm.sh
+11
-13
11 additions, 13 deletions
.travis/sandstorm.sh
with
11 additions
and
13 deletions
.travis/sandstorm.sh
+
11
−
13
View file @
ecaaa743
...
@@ -8,15 +8,14 @@ export PATH=$PATH:/tmp/sandstorm-$SANDSTORM_VERSION/bin
...
@@ -8,15 +8,14 @@ export PATH=$PATH:/tmp/sandstorm-$SANDSTORM_VERSION/bin
cd
/tmp
cd
/tmp
curl https://dl.sandstorm.io/sandstorm-
$SANDSTORM_VERSION
.tar.xz |
tar
-xJf
-
curl https://dl.sandstorm.io/sandstorm-
$SANDSTORM_VERSION
.tar.xz |
tar
-xJf
-
sudo mkdir
-p
/opt
mkdir
-p
~/opt
sudo chown
-R
travis /opt
cd
~/opt
cd
/opt
curl https://dl.sandstorm.io/meteor-spk-0.1.8.tar.xz |
tar
-xJf
-
curl https://dl.sandstorm.io/meteor-spk-0.1.8.tar.xz |
tar
-xJf
-
ln
-s
meteor-spk-0.1.8 meteor-spk
ln
-s
meteor-spk-0.1.8 meteor-spk
cp
-a
/bin/bash /opt/meteor-spk/meteor-spk.deps/bin/
cp
-a
/bin/bash
~
/opt/meteor-spk/meteor-spk.deps/bin/
cp
-a
/lib/x86_64-linux-gnu/libncurses.so.
*
/opt/meteor-spk/meteor-spk.deps/lib/x86_64-linux-gnu/
cp
-a
/lib/x86_64-linux-gnu/libncurses.so.
*
~
/opt/meteor-spk/meteor-spk.deps/lib/x86_64-linux-gnu/
cp
-a
/lib/x86_64-linux-gnu/libtinfo.so.
*
/opt/meteor-spk/meteor-spk.deps/lib/x86_64-linux-gnu/
cp
-a
/lib/x86_64-linux-gnu/libtinfo.so.
*
~
/opt/meteor-spk/meteor-spk.deps/lib/x86_64-linux-gnu/
ln
-s
$TRAVIS_BUILD_DIR
/opt/app
ln
-s
$TRAVIS_BUILD_DIR
~
/opt/app
cd
/tmp
cd
/tmp
spk init
-p3000
--
nothing
spk init
-p3000
--
nothing
...
@@ -26,13 +25,12 @@ cd $TRAVIS_BUILD_DIR
...
@@ -26,13 +25,12 @@ cd $TRAVIS_BUILD_DIR
export
METEOR_WAREHOUSE_DIR
=
"
${
METEOR_WAREHOUSE_DIR
:-
$HOME
/.meteor
}
"
export
METEOR_WAREHOUSE_DIR
=
"
${
METEOR_WAREHOUSE_DIR
:-
$HOME
/.meteor
}
"
export
METEOR_DEV_BUNDLE
=
$(
dirname
$(
readlink
-f
"
$METEOR_WAREHOUSE_DIR
/meteor"
))
/dev_bundle
export
METEOR_DEV_BUNDLE
=
$(
dirname
$(
readlink
-f
"
$METEOR_WAREHOUSE_DIR
/meteor"
))
/dev_bundle
sudo mkdir
-p
/home/vagrant
mkdir
-p
~/vagrant
sudo chown
-R
travis /home/vagrant
tar
-zxf
/tmp/build/Rocket.Chat.tar.gz
--directory
~/vagrant/
tar
-zxf
/tmp/build/Rocket.Chat.tar.gz
--directory
/home/vagrant/
cd
~/vagrant/bundle/programs/server
&&
"
$METEOR_DEV_BUNDLE
/bin/npm"
install
cd
/home/vagrant/bundle/programs/server
&&
"
$METEOR_DEV_BUNDLE
/bin/npm"
install
cd
$TRAVIS_BUILD_DIR
/.sandstorm
cd
$TRAVIS_BUILD_DIR
/.sandstorm
sed
-i
"s/
\s
id = .*/
$SANDSTORM_ID
/"
sandstorm-pkgdef.capnp
sed
-i
"s/
\s
id = .*/
$SANDSTORM_ID
/"
sandstorm-pkgdef.capnp
mkdir
-p
/home
/vagrant/bundle/opt/app/.sandstorm/
mkdir
-p
~
/vagrant/bundle/opt/app/.sandstorm/
cp
/opt/app/.sandstorm/launcher.sh
/home
/vagrant/bundle/opt/app/.sandstorm/
cp
~
/opt/app/.sandstorm/launcher.sh
~
/vagrant/bundle/opt/app/.sandstorm/
sed
-i
"s/
\s
pgp/#pgp/g"
sandstorm-pkgdef.capnp
sed
-i
"s/
\s
pgp/#pgp/g"
sandstorm-pkgdef.capnp
spk pack
$ROCKET_DEPLOY_DIR
/rocket.chat-
$ARTIFACT_NAME
.spk
spk pack
$ROCKET_DEPLOY_DIR
/rocket.chat-
$ARTIFACT_NAME
.spk
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