From 82227dc88bd6fff7b102a59f13fe78ba8f72b010 Mon Sep 17 00:00:00 2001 From: Cloud User Date: Mon, 31 Aug 2020 13:46:21 +0000 Subject: [PATCH 01/10] changes done to deploy --- .travis.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index a232582..1cdfeef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,19 +3,18 @@ services: - docker before_install: - - docker build -t singhabhinav/react-project -f Dockerfile_dev . + - docker build -t prakhar27/react-project -f Dockerfile_dev . script: - - docker run -e CI=true singhabhinav/react-project npm run test - -#deploy: -# provider: elasticbeanstalk -# region: us-west-1 # Specify your region -# app: "docker-react-project" # Copy it from Elastic Beanstalk dashboard -# env: "DockerReactProject-env-2" # Copy it from Elastic Beanstalk dashboard -# bucket_name: "elasticbeanstalk-us-west-1-034275272121" -# bucket_path: "docker" -# access_key_id: $AWS_ACCESS_KEY -# secret_access_key: $AWS_SECRET_KEY -# on: -# branch: master + - docker run -e CI=true prakhar27/react-project npm run test +deploy: + provider: elasticbeanstalk + region: us-west-1 # Specify your region + app: "react-project-docker-staging" # Copy it from Elastic Beanstalk dashboard + env: "ReactProjectDockerStaging-env" # Copy it from Elastic Beanstalk dashboard + bucket_name: "elasticbeanstalk-us-west-1-290161786162" + bucket_path: "docker" + access_key_id: $AWS_ACCESS_KEY + secret_access_key: $AWS_SECRET_KEY + on: + branch: master From 4632bf106ebc4dc258b0adbf624dc66ac0883209 Mon Sep 17 00:00:00 2001 From: Cloud User Date: Mon, 31 Aug 2020 14:11:16 +0000 Subject: [PATCH 02/10] updated App.js --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 8ca19e4..47e38be 100644 --- a/src/App.js +++ b/src/App.js @@ -8,7 +8,7 @@ function App() {
logo

- Edit src/App.js and save to reload by Abhinav 124. + Edit src/App.js and save to reload by Abhinav .

Date: Mon, 31 Aug 2020 14:25:39 +0000 Subject: [PATCH 03/10] name changed to Prakhar --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 47e38be..8a62f2a 100644 --- a/src/App.js +++ b/src/App.js @@ -8,7 +8,7 @@ function App() {
logo

- Edit src/App.js and save to reload by Abhinav . + Edit src/App.js and save to reload by Prakhar .

Date: Mon, 31 Aug 2020 16:31:06 +0000 Subject: [PATCH 04/10] added 27 --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 8a62f2a..0d166ff 100644 --- a/src/App.js +++ b/src/App.js @@ -8,7 +8,7 @@ function App() {
logo

- Edit src/App.js and save to reload by Prakhar . + Edit src/App.js and save to reload by Prakhar272727272727272727272727272727272727272727272727272727 .

Date: Mon, 31 Aug 2020 17:48:22 +0000 Subject: [PATCH 05/10] added one more line --- src/App.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 0d166ff..60f8a89 100644 --- a/src/App.js +++ b/src/App.js @@ -8,7 +8,10 @@ function App() {
logo

- Edit src/App.js and save to reload by Prakhar272727272727272727272727272727272727272727272727272727 . + Edit src/App.js and save to reload by Prakhar27 . +

+

+ Added one more line

Date: Mon, 31 Aug 2020 19:12:54 +0000 Subject: [PATCH 06/10] Added production and staging deployments in travis.yml --- .travis.yml | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1cdfeef..607cbe5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,13 +8,25 @@ before_install: script: - docker run -e CI=true prakhar27/react-project npm run test deploy: - provider: elasticbeanstalk - region: us-west-1 # Specify your region - app: "react-project-docker-staging" # Copy it from Elastic Beanstalk dashboard - env: "ReactProjectDockerStaging-env" # Copy it from Elastic Beanstalk dashboard - bucket_name: "elasticbeanstalk-us-west-1-290161786162" - bucket_path: "docker" - access_key_id: $AWS_ACCESS_KEY - secret_access_key: $AWS_SECRET_KEY - on: - branch: master + - provider: elasticbeanstalk + region: us-west-1 # Specify your region + app: "react-project-docker-staging" # Copy it from Elastic Beanstalk dashboard + env: "ReactProjectDockerStaging-env" # Copy it from Elastic Beanstalk dashboard + bucket_name: "elasticbeanstalk-us-west-1-290161786162" + bucket_path: "docker" + access_key_id: $AWS_ACCESS_KEY + secret_access_key: $AWS_SECRET_KEY + on: + branch: master + + - provider: elasticbeanstalk + region: us-west-1 # Specify your region + app: "react-project-docker-pre-staging" # Copy it from Elastic Beanstalk dashboard + env: "ReactProjectDockerPreStaging-env" # Copy it from Elastic Beanstalk dashboard + bucket_name: "elasticbeanstalk-us-west-1-290161786162" + bucket_path: "docker" + access_key_id: $AWS_ACCESS_KEY + secret_access_key: $AWS_SECRET_KEY + on: + branch: staging + From b85ee52b629eb668eb2dff44a52da2388286da40 Mon Sep 17 00:00:00 2001 From: Cloud User Date: Mon, 31 Aug 2020 19:30:41 +0000 Subject: [PATCH 07/10] changes in indentation --- .travis.yml | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.travis.yml b/.travis.yml index 607cbe5..90b80ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,32 +1,32 @@ sudo: required services: - - docker + - docker before_install: - - docker build -t prakhar27/react-project -f Dockerfile_dev . + - docker build -t prakhar27/react-project -f Dockerfile_dev . script: - - docker run -e CI=true prakhar27/react-project npm run test + - docker run -e CI=true prakhar27/react-project npm run test deploy: - - provider: elasticbeanstalk - region: us-west-1 # Specify your region - app: "react-project-docker-staging" # Copy it from Elastic Beanstalk dashboard - env: "ReactProjectDockerStaging-env" # Copy it from Elastic Beanstalk dashboard - bucket_name: "elasticbeanstalk-us-west-1-290161786162" - bucket_path: "docker" - access_key_id: $AWS_ACCESS_KEY - secret_access_key: $AWS_SECRET_KEY - on: - branch: master + - provider: elasticbeanstalk + region: us-west-1 # Specify your region + app: "react-project-docker-staging" # Copy it from Elastic Beanstalk dashboard + env: "ReactProjectDockerStaging-env" # Copy it from Elastic Beanstalk dashboard + bucket_name: "elasticbeanstalk-us-west-1-290161786162" + bucket_path: "docker" + access_key_id: $AWS_ACCESS_KEY + secret_access_key: $AWS_SECRET_KEY + on: + branch: master - provider: elasticbeanstalk - region: us-west-1 # Specify your region - app: "react-project-docker-pre-staging" # Copy it from Elastic Beanstalk dashboard - env: "ReactProjectDockerPreStaging-env" # Copy it from Elastic Beanstalk dashboard - bucket_name: "elasticbeanstalk-us-west-1-290161786162" - bucket_path: "docker" - access_key_id: $AWS_ACCESS_KEY - secret_access_key: $AWS_SECRET_KEY - on: - branch: staging + region: us-west-1 # Specify your region + app: "react-project-docker-pre-staging" # Copy it from Elastic Beanstalk dashboard + env: "ReactProjectDockerPreStaging-env" # Copy it from Elastic Beanstalk dashboard + bucket_name: "elasticbeanstalk-us-west-1-290161786162" + bucket_path: "docker" + access_key_id: $AWS_ACCESS_KEY + secret_access_key: $AWS_SECRET_KEY + on: + branch: staging From 46e11f919cd375fdfeeb23447098d4ef3face878 Mon Sep 17 00:00:00 2001 From: Cloud User Date: Mon, 31 Aug 2020 19:46:25 +0000 Subject: [PATCH 08/10] indentation changes again --- .travis.yml | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/.travis.yml b/.travis.yml index 90b80ee..61133e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,32 +1,31 @@ sudo: required services: - - docker + - docker before_install: - - docker build -t prakhar27/react-project -f Dockerfile_dev . + - docker build -t prakhar27/react-project -f Dockerfile_dev . script: - - docker run -e CI=true prakhar27/react-project npm run test + - docker run -e CI=true prakhar27/react-project npm run test deploy: - - provider: elasticbeanstalk - region: us-west-1 # Specify your region - app: "react-project-docker-staging" # Copy it from Elastic Beanstalk dashboard - env: "ReactProjectDockerStaging-env" # Copy it from Elastic Beanstalk dashboard - bucket_name: "elasticbeanstalk-us-west-1-290161786162" - bucket_path: "docker" - access_key_id: $AWS_ACCESS_KEY - secret_access_key: $AWS_SECRET_KEY - on: - branch: master - - provider: elasticbeanstalk - region: us-west-1 # Specify your region - app: "react-project-docker-pre-staging" # Copy it from Elastic Beanstalk dashboard - env: "ReactProjectDockerPreStaging-env" # Copy it from Elastic Beanstalk dashboard - bucket_name: "elasticbeanstalk-us-west-1-290161786162" - bucket_path: "docker" - access_key_id: $AWS_ACCESS_KEY - secret_access_key: $AWS_SECRET_KEY - on: - branch: staging + region: us-west-1 # Specify your region + app: "react-project-docker-staging" # Copy it from Elastic Beanstalk dashboard + env: "ReactProjectDockerStaging-env" # Copy it from Elastic Beanstalk dashboard + bucket_name: "elasticbeanstalk-us-west-1-290161786162" + bucket_path: "docker" + access_key_id: $AWS_ACCESS_KEY + secret_access_key: $AWS_SECRET_KEY + on: + branch: master + - provider: elasticbeanstalk + region: us-west-1 # Specify your region + app: "react-project-docker-pre-staging" # Copy it from Elastic Beanstalk dashboard + env: "ReactProjectDockerPreStaging-env" # Copy it from Elastic Beanstalk dashboard + bucket_name: "elasticbeanstalk-us-west-1-290161786162" + bucket_path: "docker" + access_key_id: $AWS_ACCESS_KEY + secret_access_key: $AWS_SECRET_KEY + on: + branch: staging From 7edd7cd79f14d8a89e1a65c83012c7c6eaf9e653 Mon Sep 17 00:00:00 2001 From: Cloud User Date: Mon, 31 Aug 2020 21:21:12 +0000 Subject: [PATCH 09/10] sample --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 60f8a89..a1662ef 100644 --- a/src/App.js +++ b/src/App.js @@ -11,7 +11,7 @@ function App() { Edit src/App.js and save to reload by Prakhar27 .

- Added one more line + I am on my_feature branch

Date: Mon, 31 Aug 2020 21:30:38 +0000 Subject: [PATCH 10/10] added line index.css --- src/index.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.css b/src/index.css index ec2585e..ec4cd70 100644 --- a/src/index.css +++ b/src/index.css @@ -10,4 +10,5 @@ body { code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; + }