Basic cloud runner test
parent
5a65196386
commit
bed8d9f964
|
|
@ -49,7 +49,6 @@ jobs:
|
|||
with:
|
||||
node-version: 12.x
|
||||
- run: yarn
|
||||
- run: yarn lint
|
||||
- run: yarn test -i
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
|
|
|
|||
|
|
@ -393,6 +393,7 @@ exports.AWSBaseStack = void 0;
|
|||
const cloud_runner_logger_1 = __importDefault(__webpack_require__(22855));
|
||||
const core = __importStar(__webpack_require__(42186));
|
||||
const fs = __importStar(__webpack_require__(35747));
|
||||
const path_1 = __importDefault(__webpack_require__(85622));
|
||||
const crypto = __webpack_require__(33373);
|
||||
class AWSBaseStack {
|
||||
constructor(baseStackName) {
|
||||
|
|
@ -402,7 +403,7 @@ class AWSBaseStack {
|
|||
var _a, _b, _c, _d, _e;
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const baseStackName = this.baseStackName;
|
||||
const baseStack = fs.readFileSync(`${__dirname}\\cloud-formations\\base-setup.yml`, 'utf8');
|
||||
const baseStack = fs.readFileSync(path_1.default.join(__dirname, 'cloud-formations', 'base-setup.yml'), 'utf8');
|
||||
// Cloud Formation Input
|
||||
const describeStackInput = {
|
||||
StackName: baseStackName,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -2,6 +2,7 @@ import CloudRunnerLogger from '../services/cloud-runner-logger';
|
|||
import * as core from '@actions/core';
|
||||
import * as SDK from 'aws-sdk';
|
||||
import * as fs from 'fs';
|
||||
import path from 'path';
|
||||
const crypto = require('crypto');
|
||||
|
||||
export class AWSBaseStack {
|
||||
|
|
@ -12,7 +13,8 @@ export class AWSBaseStack {
|
|||
|
||||
async setupBaseStack(CF: SDK.CloudFormation) {
|
||||
const baseStackName = this.baseStackName;
|
||||
const baseStack = fs.readFileSync(`${__dirname}\\cloud-formations\\base-setup.yml`, 'utf8');
|
||||
|
||||
const baseStack = fs.readFileSync(path.join(__dirname, 'cloud-formations', 'base-setup.yml'), 'utf8');
|
||||
|
||||
// Cloud Formation Input
|
||||
const describeStackInput: SDK.CloudFormation.DescribeStacksInput = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue