From a203f06b584dac0b36a4dbb264de075c67fa7d5b Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Wed, 18 Oct 2023 15:59:06 +0600 Subject: [PATCH 01/12] EVEREST-107 Fixing the pipeline --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 418dca36..36e520b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ name: Build and push dev-latest image on: + pull_request: workflow_dispatch: inputs: tag: @@ -53,6 +54,7 @@ jobs: bit snap bit artifacts percona.apps/everest --out-dir build mkdir ${GITHUB_WORKSPACE}/front + ls -R build/ cp -rf build/percona.apps_everest/artifacts/apps/react-common-js/everest/public/* ${GITHUB_WORKSPACE}/front/ - name: Check out Everest Backend From 6b32831d41d2b2ca45e685854933d379b20f104e Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Wed, 18 Oct 2023 16:13:00 +0600 Subject: [PATCH 02/12] EVEREST-107 Fixing the pipeline --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 36e520b6..baac7b73 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: bit snap bit artifacts percona.apps/everest --out-dir build mkdir ${GITHUB_WORKSPACE}/front - ls -R build/ + ls -R . cp -rf build/percona.apps_everest/artifacts/apps/react-common-js/everest/public/* ${GITHUB_WORKSPACE}/front/ - name: Check out Everest Backend From f906cbe96e877f6810cfe07f3ccbf3f1b0f76a86 Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Wed, 18 Oct 2023 17:16:10 +0600 Subject: [PATCH 03/12] EVEREST-107 Fixing the pipeline --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index baac7b73..b0ecb58c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: cd ${GITHUB_WORKSPACE}/percona-everest-frontend bit install --recurring-install bit snap - bit artifacts percona.apps/everest --out-dir build + bit artifacts percona.apps/everest --out-dir ${GITHUB_WORKSPACE}/percona-everest-frontend/build mkdir ${GITHUB_WORKSPACE}/front ls -R . cp -rf build/percona.apps_everest/artifacts/apps/react-common-js/everest/public/* ${GITHUB_WORKSPACE}/front/ From fbc488bdadaac5321da41add0cf072884a557ddb Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Wed, 18 Oct 2023 19:16:44 +0600 Subject: [PATCH 04/12] EVEREST-107 Fixing the pipeline --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0ecb58c..b4a8f9af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: run: npm i -g @teambit/bvm - name: Install latest Bit version - run: bvm install 1.0.0 + run: bvm install 1.1.0 - name: Add bvm bin folder to path run: echo "$HOME/bin" >> $GITHUB_PATH From 11295fdd195a9dda73cadf7a87bc7a3f9b16af72 Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Thu, 19 Oct 2023 15:23:44 +0600 Subject: [PATCH 05/12] EVEREST-107 Fixing the pipeline --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99a53e8d..81ed28b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,7 @@ jobs: - name: Configure git for private modules env: ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }} + NODE_OPTIONS: "—-max_old_space_size=4096" run: git config --global url."https://percona-platform-robot:${ROBOT_TOKEN}@github.com".insteadOf "https://github.com" - name: Check out frontend repo From 702748f1ba31718f1ed029ad16f3d2d8c9b58798 Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Thu, 19 Oct 2023 15:54:00 +0600 Subject: [PATCH 06/12] EVEREST-107 Fixing the pipeline --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81ed28b2..c2482916 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,9 +46,12 @@ jobs: - name: Set up bit config env: BIT_TOKEN: ${{ secrets.BIT_TOKEN }} + NODE_OPTIONS: "—-max_old_space_size=4096" run: bit config set user.token $BIT_TOKEN - name: Build Everest Frontend app + env: + NODE_OPTIONS: "—-max_old_space_size=4096" run: | cd ${GITHUB_WORKSPACE}/percona-everest-frontend bit install --recurring-install From 7947a7390434fad435c5f6747bb9ef613a074109 Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Thu, 19 Oct 2023 16:10:49 +0600 Subject: [PATCH 07/12] EVEREST-107 Fixing the pipeline --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2482916..41cc748d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,8 @@ on: - main jobs: + env: + NODE_OPTIONS: "—-max_old_space_size=4096" build: runs-on: ubuntu-latest steps: @@ -50,8 +52,6 @@ jobs: run: bit config set user.token $BIT_TOKEN - name: Build Everest Frontend app - env: - NODE_OPTIONS: "—-max_old_space_size=4096" run: | cd ${GITHUB_WORKSPACE}/percona-everest-frontend bit install --recurring-install From 7879ded3d55d6926736f257291110551a2dbd069 Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Thu, 19 Oct 2023 19:00:24 +0600 Subject: [PATCH 08/12] EVEREST-107 Fixing the pipeline --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41cc748d..7f4e0aeb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,9 +12,9 @@ on: - main jobs: - env: - NODE_OPTIONS: "—-max_old_space_size=4096" build: + env: + NODE_OPTIONS: "—-max_old_space_size=4096" runs-on: ubuntu-latest steps: - name: Configure git for private modules From 1848891953bc2459aaa315a0c93abd8c75f83a80 Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Fri, 20 Oct 2023 14:25:37 +0600 Subject: [PATCH 09/12] EVEREST-107 Fixing the pipeline --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7f4e0aeb..ef4ab595 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,16 +11,16 @@ on: branches: - main +env: + NODE_OPTIONS: "—-max_old_space_size=4096" + jobs: build: - env: - NODE_OPTIONS: "—-max_old_space_size=4096" runs-on: ubuntu-latest steps: - name: Configure git for private modules env: ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }} - NODE_OPTIONS: "—-max_old_space_size=4096" run: git config --global url."https://percona-platform-robot:${ROBOT_TOKEN}@github.com".insteadOf "https://github.com" - name: Check out frontend repo @@ -48,7 +48,6 @@ jobs: - name: Set up bit config env: BIT_TOKEN: ${{ secrets.BIT_TOKEN }} - NODE_OPTIONS: "—-max_old_space_size=4096" run: bit config set user.token $BIT_TOKEN - name: Build Everest Frontend app From ca11b99e655d3dc19dcd911ec2b656c94d3477c8 Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Fri, 20 Oct 2023 14:42:49 +0600 Subject: [PATCH 10/12] EVEREST-107 Fixing the pipeline --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef4ab595..a5df5d42 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ on: - main env: - NODE_OPTIONS: "—-max_old_space_size=4096" + NODE_OPTIONS: "--max_old_space_size=4096" jobs: build: From 8bedf9ce2433e90cc026d5524855b43fe9afaf38 Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Fri, 20 Oct 2023 15:19:15 +0600 Subject: [PATCH 11/12] EVEREST-107 Fixed pipelines --- .github/workflows/rc_rebuild.yml | 3 +++ .github/workflows/release.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/rc_rebuild.yml b/.github/workflows/rc_rebuild.yml index c775fb1b..ab8bab9c 100644 --- a/.github/workflows/rc_rebuild.yml +++ b/.github/workflows/rc_rebuild.yml @@ -9,6 +9,9 @@ on: types: - completed +env: + NODE_OPTIONS: "--max_old_space_size=4096" + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 48cd25a1..9504ae79 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,9 @@ on: description: The release tag in v*.*.* format required: true +env: + NODE_OPTIONS: "--max_old_space_size=4096" + jobs: build: runs-on: ubuntu-latest From a9d0596e0d1597e485f7420bdfb8ad9e9c0b2f51 Mon Sep 17 00:00:00 2001 From: Andrew Minkin Date: Fri, 20 Oct 2023 15:36:17 +0600 Subject: [PATCH 12/12] EVEREST-107 Fixed pipelines --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a5df5d42..dfc27192 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,6 @@ name: Build and push dev-latest image on: - pull_request: workflow_dispatch: inputs: tag: