From e484705aa2352a700d91ac36485cf9c39b8a792c Mon Sep 17 00:00:00 2001 From: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:03:31 +0530 Subject: [PATCH] CI : fix build cache (#37712) ## Description fix build cache Fixes #`Issue Number` _or_ Fixes `Issue URL` ## Automation /ok-to-test tags="" ### :mag: Cypress test results ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No ## Summary by CodeRabbit - **New Features** - Enhanced client build workflow with a new input parameter for branch specification. - Added support for PostgreSQL builds in the server build workflow. - **Improvements** - Improved caching mechanisms for both client and server builds to optimize build times. - Enhanced test execution logic to provide detailed reports on failed tests. - **Bug Fixes** - Streamlined conditions for running builds and tests based on previous execution states. --- .github/workflows/client-build.yml | 1 + .github/workflows/server-build.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/client-build.yml b/.github/workflows/client-build.yml index e247382c9b..c88d0afb61 100644 --- a/.github/workflows/client-build.yml +++ b/.github/workflows/client-build.yml @@ -206,6 +206,7 @@ jobs: git config --global user.name "$gituser" git clone https://$cachetoken@github.com/appsmithorg/cibuildcache.git git lfs install + git lfs migrate import --everything if [ "$reponame" = "appsmith" ]; then export repodir="CE"; fi if [ "$reponame" = "appsmith-ee" ]; then export repodir="EE"; fi cd cibuildcache/$repodir/release/client diff --git a/.github/workflows/server-build.yml b/.github/workflows/server-build.yml index 68c4397383..51ef455936 100644 --- a/.github/workflows/server-build.yml +++ b/.github/workflows/server-build.yml @@ -338,6 +338,7 @@ jobs: git config --global user.name "$gituser" git clone https://$cachetoken@github.com/appsmithorg/cibuildcache.git git lfs install + git lfs migrate import --everything if [ "$reponame" = "appsmith" ]; then export repodir="CE"; fi if [ "$reponame" = "appsmith-ee" ]; then export repodir="EE"; fi cd cibuildcache/$repodir/release/server