per provider container defaults

pull/387/head
Frostebite 2022-04-20 17:50:10 +01:00
parent b283091d80
commit 0f7154eb4f
2 changed files with 5 additions and 4 deletions

View File

@ -23,12 +23,12 @@ Parameters:
Default: 80
Description: What port number the application inside the docker container is binding to
ContainerCpu:
Type: Number
Default: 1024
Type: String
Default: '1024'
Description: How much CPU to give the container. 1024 is 1 CPU
ContainerMemory:
Type: Number
Default: 2048
Type: String
Default: '2048'
Description: How much memory in megabytes to give the container
BUILDGUID:
Type: String

View File

@ -78,6 +78,7 @@ class AWSBuildEnvironment implements ProviderInterface {
const postCleanupTimeMs = Date.now();
if (postRunTaskTimeMs !== undefined)
CloudRunnerLogger.log(`Cleanup job time: ${Math.floor((postCleanupTimeMs - postRunTaskTimeMs) / 1000)}s`);
return output;
} catch (error) {
await this.cleanupResources(CF, taskDef);