From abf57fe5cee1b55b5717721fd8528df954411e0a Mon Sep 17 00:00:00 2001 From: Deepika Gonuguntla Date: Wed, 8 Jan 2025 16:48:54 -0500 Subject: [PATCH 1/5] added yarn cache clean command --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0263776d9..033346855 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ RUN bundle install --jobs 30 COPY package.json $APP_HOME/ # Install JS dependencies -RUN yarn install +RUN yarn cache clean && yarn install # Now copy the rest of the application COPY . $APP_HOME/ From 093ab216392f157c608917ef507f019b3fc49856 Mon Sep 17 00:00:00 2001 From: Deepika Gonuguntla Date: Wed, 8 Jan 2025 16:56:30 -0500 Subject: [PATCH 2/5] commented run tests --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ca8c4575..0517b136c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: run: | docker-compose build - - name: Run tests - run: | - docker-compose up -d - docker-compose run webapp sh -c 'RAILS_ENV=test bundle exec rails test' + # - name: Run tests + # run: | + # docker-compose up -d + # docker-compose run webapp sh -c 'RAILS_ENV=test bundle exec rails test' From c416d0e3d07ee8afad32492b52e8b618c276a0aa Mon Sep 17 00:00:00 2001 From: Deepika Gonuguntla Date: Wed, 8 Jan 2025 17:03:16 -0500 Subject: [PATCH 3/5] reverted Yarn cache key --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 033346855..0263776d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ RUN bundle install --jobs 30 COPY package.json $APP_HOME/ # Install JS dependencies -RUN yarn cache clean && yarn install +RUN yarn install # Now copy the rest of the application COPY . $APP_HOME/ From 850ff13ff6302dffe2c2e8b76eb0beddf11b98da Mon Sep 17 00:00:00 2001 From: Deepika Gonuguntla Date: Wed, 8 Jan 2025 17:22:17 -0500 Subject: [PATCH 4/5] added yarn cache --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0263776d9..033346855 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ RUN bundle install --jobs 30 COPY package.json $APP_HOME/ # Install JS dependencies -RUN yarn install +RUN yarn cache clean && yarn install # Now copy the rest of the application COPY . $APP_HOME/ From 193a94058ee028f465f35a923a1c202c4d2e0e09 Mon Sep 17 00:00:00 2001 From: Deepika Gonuguntla Date: Wed, 8 Jan 2025 17:50:45 -0500 Subject: [PATCH 5/5] reverted test command --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0517b136c..3ca8c4575 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: run: | docker-compose build - # - name: Run tests - # run: | - # docker-compose up -d - # docker-compose run webapp sh -c 'RAILS_ENV=test bundle exec rails test' + - name: Run tests + run: | + docker-compose up -d + docker-compose run webapp sh -c 'RAILS_ENV=test bundle exec rails test'