Remove aws args for digitalocean test

This commit is contained in:
Johannes Zellner 2016-09-20 09:37:13 +02:00
parent b003fc0190
commit 7f16c39129

View File

@ -30,11 +30,7 @@ const SSH_KEY = 'id_rsa_e2e_selfhost';
const DO_TYPE = '1gb';
const DO_REGION = 'nyc3';
const DO_TOKEN = process.env.DIGITAL_OCEAN_TOKEN_STAGING;
const EC2_REGION = 'us-east-1';
const BACKUP_KEY = 'somesecret';
const BACKUP_BUCKET = 'selfhost-test-' + EC2_REGION;
const AWS_ACCESS_KEY = process.env.AWS_STAGING_ACCESS_KEY;
const AWS_ACCESS_SECRET = process.env.AWS_STAGING_SECRET_KEY;
function machine(args, options) {
// https://github.com/nodejs/node-v0.x-archive/issues/9265
@ -80,12 +76,8 @@ describe('Selfhost DigitalOcean Cloudron creation', function () {
'--type ' + DO_TYPE,
'--token ' + DO_TOKEN,
'--region ' + DO_REGION,
'--aws-region ' + EC2_REGION,
'--ssh-key ' + SSH_KEY,
'--access-key-id ' + AWS_ACCESS_KEY,
'--secret-access-key ' + AWS_ACCESS_SECRET,
'--backup-key ' + BACKUP_KEY,
'--backup-bucket ' + BACKUP_BUCKET,
'--release ' + toVersion
];
@ -210,12 +202,8 @@ describe('Selfhost DigitalOcean Cloudron creation', function () {
// '--type ' + DO_TYPE,
// '--token ' + DO_TOKEN,
// '--region ' + DO_REGION,
// '--aws-region ' + EC2_REGION,
// '--ssh-key ' + SSH_KEY,
// '--access-key-id ' + AWS_ACCESS_KEY,
// '--secret-access-key ' + AWS_ACCESS_SECRET,
// '--backup-key ' + BACKUP_KEY,
// '--backup-bucket ' + BACKUP_BUCKET,
'--backup ' + backupInfo.id,
];