From ccc1513f403ec89f1238e695edb23aaf7b79cbf6 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Mon, 13 Jan 2020 13:36:39 +0000 Subject: [PATCH 1/6] package.json edited online with Bitbucket --- ng6-seed/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng6-seed/package.json b/ng6-seed/package.json index de62716fa..e76be839e 100755 --- a/ng6-seed/package.json +++ b/ng6-seed/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "production": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod ", - "staging": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod --configuration=staging", + "staging": "node node_modules/@angular/cli/bin/ng build --configuration=staging", "ng": "ng", "start": "ng serve", "build": "ng build", From 46d89a98bdad8a6170a5e121d7b7f1cebf47e2ff Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Mon, 13 Jan 2020 13:46:35 +0000 Subject: [PATCH 2/6] Docker memory size increased on edited online with Bitbucket --- bitbucket-pipelines.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index dcc46a56f..42e4fea44 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -26,4 +26,10 @@ pipelines: S3_BUCKET: 'autodeploy001' LOCAL_PATH: $(pwd) DELETE_FLAG: 'true' + services: + - docker +definitions: + services: + docker: + memory: 2048 \ No newline at end of file From 6d5bb12e083f239808964f7f2b086c1df8df7d02 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 14 Jan 2020 04:59:04 +0000 Subject: [PATCH 3/6] Node Memory size decreased in bitbucket --- bitbucket-pipelines.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 42e4fea44..04faa0c22 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -15,7 +15,7 @@ pipelines: - cd ng6-seed - npm install - npm install -g @angular/cli - - npm run staging + - node --max_old_space_size=4000 node_modules/@angular/cli/bin/ng build --configuration=staging - ls -ltr - cd dist - pipe: atlassian/aws-s3-deploy:0.3.8 @@ -26,10 +26,4 @@ pipelines: S3_BUCKET: 'autodeploy001' LOCAL_PATH: $(pwd) DELETE_FLAG: 'true' - services: - - docker -definitions: - services: - docker: - memory: 2048 \ No newline at end of file From b2a96df9d43c2a109ce16708af7b577fcf14e158 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 14 Jan 2020 05:03:31 +0000 Subject: [PATCH 4/6] Node memory size decreased edited online with Bitbucket --- bitbucket-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 04faa0c22..05de41e0e 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -15,7 +15,7 @@ pipelines: - cd ng6-seed - npm install - npm install -g @angular/cli - - node --max_old_space_size=4000 node_modules/@angular/cli/bin/ng build --configuration=staging + - node --max_old_space_size=2046 node_modules/@angular/cli/bin/ng build --configuration=staging - ls -ltr - cd dist - pipe: atlassian/aws-s3-deploy:0.3.8 From 866ebce95b2b43ca21d095c4af7f46d41a2a03d3 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 14 Jan 2020 05:24:24 +0000 Subject: [PATCH 5/6] Double the pipelines in yml file edited online with Bitbucket --- bitbucket-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 05de41e0e..72393e026 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -11,6 +11,7 @@ pipelines: - step: caches: - node + size: 2x # Double resources available for this step. script: # Modify the commands below to build your repository. - cd ng6-seed - npm install From 3ef69b60f3f9b37289bb7c57e85ca4968165e05d Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 14 Jan 2020 07:42:13 +0000 Subject: [PATCH 6/6] Node Memory size is setted in package.json via bitbucket --- ng6-seed/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng6-seed/package.json b/ng6-seed/package.json index e76be839e..d5bf40831 100755 --- a/ng6-seed/package.json +++ b/ng6-seed/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "production": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod ", - "staging": "node node_modules/@angular/cli/bin/ng build --configuration=staging", + "staging": "node --max_old_space_size=6144 node_modules/@angular/cli/bin/ng build --configuration=staging", "ng": "ng", "start": "ng serve", "build": "ng build",