refactor(aio): move script to a more relevant directory

This commit is contained in:
Georgios Kalpakas 2017-06-27 18:19:22 +03:00 committed by Pete Bacon Darwin
parent cb7609109d
commit 9e1b61326c
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
// Imports
import {GithubPullRequests} from '../common/github-pull-requests';
import {BUILD_VERIFICATION_STATUS, BuildVerifier} from './build-verifier';
import {UploadError} from './upload-error';
import {BUILD_VERIFICATION_STATUS, BuildVerifier} from '../upload-server/build-verifier';
import {UploadError} from '../upload-server/upload-error';
// Run
// TODO(gkalpak): Add e2e tests to cover these interactions as well.
@ -21,4 +21,4 @@ BuildVerifier.prototype.verify = (expectedPr: number, authHeader: string) => {
};
// tslint:disable-next-line: no-var-requires
require('./index');
require('../upload-server/index');

View File

@ -21,7 +21,7 @@ appName=aio-upload-server-test
if [[ "$1" == "stop" ]]; then
pm2 delete $appName
else
pm2 start $AIO_SCRIPTS_JS_DIR/dist/lib/upload-server/index-test.js \
pm2 start $AIO_SCRIPTS_JS_DIR/dist/lib/verify-setup/start-test-upload-server.js \
--log /var/log/aio/upload-server-test.log \
--name $appName \
--no-autorestart \