release repo has moved
This commit is contained in:
parent
9aa102a868
commit
f318285bcd
@ -13,7 +13,7 @@
|
||||
"assets": {
|
||||
"sshKey": "../keys/ci/id_rsa",
|
||||
"sshPub": "../keys/ci/id_rsa.pub",
|
||||
"installer": "../installer"
|
||||
"release": "../release"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -59,8 +59,8 @@ sudo npm install -g pm2 pm2-run forever
|
||||
sudo rm -rf ~/.npm # .npm will get owned by root after "sudo npm install -g"
|
||||
|
||||
# installer
|
||||
rm -rf "${HOME}/installer" && mv /tmp/installer "${HOME}"
|
||||
cd "${HOME}/installer" && npm install && npm rebuild
|
||||
rm -rf "${HOME}/release" && mv /tmp/release "${HOME}"
|
||||
cd "${HOME}/release" && npm install && npm rebuild
|
||||
|
||||
# create deploy directories
|
||||
mkdir -p "${APP_DIR}"
|
||||
|
@ -31,11 +31,11 @@ describe('Cloudron update testing', function () {
|
||||
var res, fromVersion, toVersion, cloudron, appId, box, nextVersion;
|
||||
|
||||
before('can release a fake version to staging', function () {
|
||||
execSync(__dirname + '/../../installer/release/release rerelease --env staging', { stdio: [ null, process.stdout, process.stderr ] });
|
||||
execSync(__dirname + '/../../release/release rerelease --env staging', { stdio: [ null, process.stdout, process.stderr ] });
|
||||
});
|
||||
|
||||
after('can revert the fake release from staging', function () {
|
||||
execSync(__dirname + '/../../installer/release/release revert --env staging', { stdio: [ null, process.stdout, process.stderr ] });
|
||||
execSync(__dirname + '/../../release/release revert --env staging', { stdio: [ null, process.stdout, process.stderr ] });
|
||||
});
|
||||
|
||||
it('can query versions', function () {
|
||||
|
Loading…
Reference in New Issue
Block a user