From 1b1726262b048ee9d56b3e079bb72c9dedf5fb17 Mon Sep 17 00:00:00 2001 From: Omar Kassem Date: Thu, 19 Sep 2024 12:35:18 +0300 Subject: [PATCH 1/3] Update dashboard CD workflow docs update the staging url add note to trigger the work flow manually if any changes happen to the dependencies --- docs/workflows.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/workflows.md b/docs/workflows.md index 33ba572913..6f64b7cf02 100644 --- a/docs/workflows.md +++ b/docs/workflows.md @@ -43,7 +43,8 @@ VERSION = "release tag or the first 7 chars of commit hash" ### [CD](/.github/workflows/playground_cd.yml) -On **Push** to development branch: It will do a clean install of node dependencies, cache/restore them, build the source code and deploy to staging server by Copying the artifacts using ssh to `play.dev.grid.tf`. +On **Push** to development branch: It will do a clean install of node dependencies, cache/restore them, build the source code and deploy to staging server by Copying the artifacts using ssh to `staging.dashboard.dev.grid.tf`. +> **NOTE**: If any changes are made to the dashboard's dependencies, this workflow must be manually triggered to apply the updates to the dashboard. ## Stats From e7043cc1083bce6e369b37f18cc7b95c87a3ac9d Mon Sep 17 00:00:00 2001 From: Omar Kassem Date: Thu, 19 Sep 2024 18:21:48 +0300 Subject: [PATCH 2/3] Update docs/workflows.md Co-authored-by: Amira <56790126+amiraabouhadid@users.noreply.github.com> --- docs/workflows.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/workflows.md b/docs/workflows.md index 6f64b7cf02..0453dd80d7 100644 --- a/docs/workflows.md +++ b/docs/workflows.md @@ -43,7 +43,13 @@ VERSION = "release tag or the first 7 chars of commit hash" ### [CD](/.github/workflows/playground_cd.yml) -On **Push** to development branch: It will do a clean install of node dependencies, cache/restore them, build the source code and deploy to staging server by Copying the artifacts using ssh to `staging.dashboard.dev.grid.tf`. +On **Push** to the development branch, this workflow will do the following: +- clean install of node dependencies +- cache/restore dependencies +- build source code +- copy artifacts to `staging.dashboard.dev.grid.tf` using SSH +- deploy to the staging server + > **NOTE**: If any changes are made to the dashboard's dependencies, this workflow must be manually triggered to apply the updates to the dashboard. ## Stats From 547b38270a5326241a832692cb1a2c346ec86132 Mon Sep 17 00:00:00 2001 From: Omar Kassem Date: Thu, 19 Sep 2024 18:33:15 +0300 Subject: [PATCH 3/3] Update workflows.md --- docs/workflows.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/workflows.md b/docs/workflows.md index 0453dd80d7..1b48ef5724 100644 --- a/docs/workflows.md +++ b/docs/workflows.md @@ -44,6 +44,7 @@ VERSION = "release tag or the first 7 chars of commit hash" ### [CD](/.github/workflows/playground_cd.yml) On **Push** to the development branch, this workflow will do the following: + - clean install of node dependencies - cache/restore dependencies - build source code