per provider container defaults
parent
b283091d80
commit
0f7154eb4f
|
|
@ -23,12 +23,12 @@ Parameters:
|
||||||
Default: 80
|
Default: 80
|
||||||
Description: What port number the application inside the docker container is binding to
|
Description: What port number the application inside the docker container is binding to
|
||||||
ContainerCpu:
|
ContainerCpu:
|
||||||
Type: Number
|
Type: String
|
||||||
Default: 1024
|
Default: '1024'
|
||||||
Description: How much CPU to give the container. 1024 is 1 CPU
|
Description: How much CPU to give the container. 1024 is 1 CPU
|
||||||
ContainerMemory:
|
ContainerMemory:
|
||||||
Type: Number
|
Type: String
|
||||||
Default: 2048
|
Default: '2048'
|
||||||
Description: How much memory in megabytes to give the container
|
Description: How much memory in megabytes to give the container
|
||||||
BUILDGUID:
|
BUILDGUID:
|
||||||
Type: String
|
Type: String
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,7 @@ class AWSBuildEnvironment implements ProviderInterface {
|
||||||
const postCleanupTimeMs = Date.now();
|
const postCleanupTimeMs = Date.now();
|
||||||
if (postRunTaskTimeMs !== undefined)
|
if (postRunTaskTimeMs !== undefined)
|
||||||
CloudRunnerLogger.log(`Cleanup job time: ${Math.floor((postCleanupTimeMs - postRunTaskTimeMs) / 1000)}s`);
|
CloudRunnerLogger.log(`Cleanup job time: ${Math.floor((postCleanupTimeMs - postRunTaskTimeMs) / 1000)}s`);
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
await this.cleanupResources(CF, taskDef);
|
await this.cleanupResources(CF, taskDef);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue