Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes for archiving edge builds #1985

Open
wants to merge 67 commits into
base: _webgl
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
b722d02
edge artifacts update
madanagopaltcomcast Aug 2, 2019
18a62da
edge artifacts update
madanagopaltcomcast Aug 2, 2019
b4f8df2
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 2, 2019
39ef950
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 2, 2019
39045b4
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 2, 2019
6f7384b
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 2, 2019
b3460c7
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 2, 2019
f146424
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 2, 2019
dad6e2d
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 2, 2019
5bc2ce4
Update .travis.yml
madanagopaltcomcast Aug 2, 2019
209614b
Update .travis.yml
madanagopaltcomcast Aug 2, 2019
6360941
Update .travis.yml
madanagopaltcomcast Aug 2, 2019
02ef2e0
Update after_script.sh
madanagopaltcomcast Aug 2, 2019
7cc9178
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 2, 2019
2e73b40
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 2, 2019
7c4a36b
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 2, 2019
759a9cd
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
dfb7dd2
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
3eb5bfa
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
616afc2
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
75a810f
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
6fc5a3d
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
ce9b839
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
3d78674
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
df9d414
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
c6d2261
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
c8de9a4
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
11bdebc
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
ff1e9a2
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
d6488b4
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
97552cc
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
3b1045c
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
e76faea
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
47570dc
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
f9b03fb
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
8255234
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 5, 2019
19c6230
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
18c8290
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
e04cba0
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
f7a6e9c
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
6a949bd
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
66612bc
Update execute_linux.sh
madanagopaltcomcast Aug 6, 2019
f76ce97
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
6920e71
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
b01094a
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
caed256
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
e4e94e1
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
45361b7
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
9c1d822
Update install.sh
madanagopaltcomcast Aug 6, 2019
2adb987
Update build.sh
madanagopaltcomcast Aug 6, 2019
e5cb55b
Update build.sh
madanagopaltcomcast Aug 7, 2019
6b9ad15
Update build.sh
madanagopaltcomcast Aug 7, 2019
91d5683
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 6, 2019
50e261e
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 8, 2019
26fd002
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 8, 2019
51a7f72
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 8, 2019
9b33377
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 8, 2019
3331500
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 8, 2019
e252bb8
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 8, 2019
a9d6c23
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 8, 2019
b17b684
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 8, 2019
b57676f
Merge branch '_webgl' of https://github.com/madanagopaltcomcast/pxCor…
madanagopaltcomcast Aug 9, 2019
efe7403
Update node_worker.cc
madanagopaltcomcast Aug 20, 2019
f5ce06a
Update before_install.sh
madanagopaltcomcast Aug 20, 2019
4e99cf1
Update monitor.sh
madanagopaltcomcast Aug 20, 2019
285d524
Update monitor.sh
madanagopaltcomcast Aug 20, 2019
5681a8c
Update build.sh
madanagopaltcomcast Aug 20, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions ci/release_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
if [ "$TRAVIS_EVENT_TYPE" != "cron" ]
then
export DEPLOY_DESTINATION=${DEPLOY_DESTINATION:-/var/www/html/releases}
export RELEASE=1
else
export RELEASE=0
if [ "$TRAVIS_BRANCH" = "master" ]
then
export DEPLOY_DESTINATION=${DEPLOY_DESTINATION:-/var/www/html/edge/osx}
export DEPLOY_DESTINATION=${DEPLOY_DESTINATION:-/var/www/html/edge}
export LATEST_IMAGE=${LATEST_IMAGE:-/var/www/html/edge/osx}
else
export DEPLOY_DESTINATION=${DEPLOY_DESTINATION:-/var/www/html/edge_webgl/osx}
export DEPLOY_DESTINATION=${DEPLOY_DESTINATION:-/var/www/html/edge_webgl}
export LATEST_IMAGE=${LATEST_IMAGE:-/var/www/html/edge_webgl/osx}
fi
fi
export DEPLOY_USER="${DEPLOY_USER:-ubuntu}"
Expand All @@ -16,10 +20,10 @@ if [ "$TRAVIS_EVENT_TYPE" != "cron" ]
then
REMOTE_DIR="${DEPLOY_DESTINATION}/${PX_VERSION}"
else
REMOTE_DIR="${DEPLOY_DESTINATION}"
REMOTE_DIR="${DEPLOY_DESTINATION}/${TRAVIS_BUILD_ID}-${TRAVIS_COMMIT}-${TRAVIS_OS_NAME}"
fi
#since we saved $1 to REMOTE_HOST delete it from args via shift
export REMOTE_FILE_COUNT=$(ssh -o StrictHostKeyChecking=no -p 2220 ${DEPLOY_USER}@${REMOTE_HOST} "ls -lrt $DEPLOY_DESTINATION|wc -l")
export REMOTE_FILE_COUNT=$(ssh -o StrictHostKeyChecking=no -p 2220 ${DEPLOY_USER}@${REMOTE_HOST} "ls -lrt $DEPLOY_DESTINATION|grep -v '^l'|grep -v total|wc -l")
export REMOTE_FILE_OLD=$(ssh -o StrictHostKeyChecking=no -p 2220 ${DEPLOY_USER}@${REMOTE_HOST} "ls -t $DEPLOY_DESTINATION|tail -1")
export REMOTE_TEMPDIR=$(ssh -o StrictHostKeyChecking=no -p 2220 ${DEPLOY_USER}@${REMOTE_HOST} "mktemp -d")
filename=$2
Expand All @@ -35,9 +39,16 @@ sudo tar -C $REMOTE_DIR -xvzf ${filename};
sudo mv $REMOTE_DIR/release/* $REMOTE_DIR/. ;
sudo rm -rf $REMOTE_DIR/release;
sudo rm -rf ${REMOTE_TEMPDIR};
if [ $RELEASE -eq 0 ]
then
sudo rm -rf ${LATEST_IMAGE}
sudo ln -s ${REMOTE_DIR} ${LATEST_IMAGE}
fi
echo $REMOTE_FILE_COUNT;
if [ $REMOTE_FILE_COUNT -gt 30 ]
echo $REMOTE_FILE_OLD;
if [ $REMOTE_FILE_COUNT -ge 8 ]
then
sudo rm -rf $REMOTE_FILE_OLD;
echo \"Removing oldest file $REMOTE_FILE_OLD\";
sudo rm -rf $DEPLOY_DESTINATION/$REMOTE_FILE_OLD
fi
"
22 changes: 20 additions & 2 deletions ci/uploadWindowsArtifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,24 @@ done
filename="spark-setup.exe"
DEPLOY_USER="${DEPLOY_USER:-ubuntu}"
REMOTE_HOST="96.116.56.119"
REMOTE_DIR="/var/www/html/edge/windows/sparkEdge-setup.exe"
DEPLOY_DESTINATION="/var/www/html/edge/windows"
REMOTE_IMAGE_PREFIX="/var/www/html/edge/windows/sparkEdge-setup"
REMOTE_IMAGE_SUFFIX=".exe"
REMOTE_IMAGE="$REMOTE_IMAGE_PREFIX-`date +%F`-$REMOTE_IMAGE_SUFFIX"
LATEST_IMAGE="/var/www/html/edge/windows/sparkEdge-setup.exe"
export REMOTE_FILE_COUNT=$(ssh -o StrictHostKeyChecking=no -p 2220 ${DEPLOY_USER}@${REMOTE_HOST} "ls -lrt $DEPLOY_DESTINATION|grep -v '^l'|grep -v total|wc -l")
export REMOTE_FILE_OLD=$(ssh -o StrictHostKeyChecking=no -p 2220 ${DEPLOY_USER}@${REMOTE_HOST} "ls -t $DEPLOY_DESTINATION|tail -1")

scp -P 2220 -o StrictHostKeyChecking=no ${filename} ${DEPLOY_USER}@${REMOTE_HOST}:${REMOTE_DIR}
scp -P 2220 -o StrictHostKeyChecking=no ${filename} ${DEPLOY_USER}@${REMOTE_HOST}:${REMOTE_IMAGE}
SSH="ssh -tt -o StrictHostKeyChecking=no -p 2220 -l ${DEPLOY_USER} ${REMOTE_HOST}"
$SSH "set -e;
sudo rm -rf ${LATEST_IMAGE}
sudo ln -s ${REMOTE_IMAGE} ${LATEST_IMAGE}
echo $REMOTE_FILE_COUNT;
echo $REMOTE_FILE_OLD;
if [ $REMOTE_FILE_COUNT -ge 8 ]
then
echo \"Removing oldest file $REMOTE_FILE_OLD\";
sudo rm -rf $DEPLOY_DESTINATION/$REMOTE_FILE_OLD
fi
"
2 changes: 1 addition & 1 deletion examples/pxScene2d/external/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ make "-j${make_parallel}"
make install -i
rm -rf libcrypto.a
rm -rf libssl.a
rm -rf lib/ibcrypto.a
rm -rf lib/libcrypto.a
rm -rf lib/libssl.a
cd ..
export LD_LIBRARY_PATH="${OPENSSL_DIR}/:$LD_LIBRARY_PATH"
Expand Down