From 7b4af1e1dd8d6eb9ffa4ca7e082b812f17e67e5f Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 19:50:52 +0330 Subject: [PATCH 01/17] Update .gitpod.yml --- .gitpod.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 2a157b8..2829463 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -16,8 +16,6 @@ caches: # https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order # https://www.gitpod.io/docs/configure/projects/prebuilds tasks: - - name: Setup kubectl - command: bash $GITPOD_REPO_ROOT/scripts/setup_kubectl_gitpod.sh - name: Setup Self-Signed Certificate command: bash $GITPOD_REPO_ROOT/scripts/self_signed_certificate_gitpod.sh - name: Init Docker-Compose From f1ddd67fdfc543b865156b0fa8d71bae619e48f6 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 19:52:28 +0330 Subject: [PATCH 02/17] Update .gitpod.yml --- .gitpod.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 2829463..065c7d8 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -16,8 +16,8 @@ caches: # https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order # https://www.gitpod.io/docs/configure/projects/prebuilds tasks: - - name: Setup Self-Signed Certificate - command: bash $GITPOD_REPO_ROOT/scripts/self_signed_certificate_gitpod.sh + - name: Setup Kubectl + command: bash $GITPOD_REPO_ROOT/scripts/setup_kubectl_gitpod.sh - name: Init Docker-Compose init: | docker-compose pull From 76e1d3ecca033d93a415df33b53b1a48775943c7 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 19:55:01 +0330 Subject: [PATCH 03/17] Update .gitpod.yml --- .gitpod.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 065c7d8..e5f0679 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -6,7 +6,7 @@ # https://www.gitpod.io/docs/configure/workspaces/ports image: - file: gitpod/workspace-dotnet + file: .gitpod.Dockerfile caches: dotnet: @@ -16,8 +16,10 @@ caches: # https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order # https://www.gitpod.io/docs/configure/projects/prebuilds tasks: - - name: Setup Kubectl + - name: Setup kubectl command: bash $GITPOD_REPO_ROOT/scripts/setup_kubectl_gitpod.sh + - name: Setup Self-Signed + command: bash $GITPOD_REPO_ROOT/scripts/self_signed_certificate_gitpod.sh - name: Init Docker-Compose init: | docker-compose pull From 0b5eea10326a2929b9ac4197efec8560ee66add5 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 19:55:50 +0330 Subject: [PATCH 04/17] Create gitpod.Dockerfile --- gitpod.Dockerfile | 1 + 1 file changed, 1 insertion(+) create mode 100644 gitpod.Dockerfile diff --git a/gitpod.Dockerfile b/gitpod.Dockerfile new file mode 100644 index 0000000..9c1e96b --- /dev/null +++ b/gitpod.Dockerfile @@ -0,0 +1 @@ +FROM gitpod/workspace-dotnet:latest From 7a3062a566eb2179e906e69d7fdda57d4e5fd24a Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 19:57:19 +0330 Subject: [PATCH 05/17] Update .gitpod.yml --- .gitpod.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index e5f0679..c247e31 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -16,10 +16,6 @@ caches: # https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order # https://www.gitpod.io/docs/configure/projects/prebuilds tasks: - - name: Setup kubectl - command: bash $GITPOD_REPO_ROOT/scripts/setup_kubectl_gitpod.sh - - name: Setup Self-Signed - command: bash $GITPOD_REPO_ROOT/scripts/self_signed_certificate_gitpod.sh - name: Init Docker-Compose init: | docker-compose pull From 102e8e6db1fc025b681be544af57999fe3115f9d Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 19:58:19 +0330 Subject: [PATCH 06/17] Update .gitpod.yml --- .gitpod.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index c247e31..ffa1bde 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -8,11 +8,6 @@ image: file: .gitpod.Dockerfile -caches: - dotnet: - paths: - - /usr/local/bin/docker-compose - # https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order # https://www.gitpod.io/docs/configure/projects/prebuilds tasks: From aca62a9a572172c413d450f1c07ebb50d332d61a Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:05:49 +0330 Subject: [PATCH 07/17] Update .gitpod.yml --- .gitpod.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index ffa1bde..c10a1e1 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -8,19 +8,22 @@ image: file: .gitpod.Dockerfile +vscode: + extensions: + - ms-azuretools.vscode-docker + - muhammad-sammy.csharp + # https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order -# https://www.gitpod.io/docs/configure/projects/prebuilds + tasks: - name: Init Docker-Compose + # https://www.gitpod.io/docs/configure/projects/prebuilds + # We load docker on pre-build for increasing speed init: | docker-compose pull docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d - name: Restore & Build init: | + dotnet dev-certs https dotnet restore - dotnet build - -vscode: - extensions: - - ms-azuretools.vscode-docker - - muhammad-sammy.csharp + dotnet build From 9ac75425ac445acccb08c35fe7c05fcae0c2585d Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:09:11 +0330 Subject: [PATCH 08/17] Update .gitpod.yml --- .gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index c10a1e1..bd301e7 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -6,7 +6,7 @@ # https://www.gitpod.io/docs/configure/workspaces/ports image: - file: .gitpod.Dockerfile + file: gitpod/workspace-dotnet vscode: extensions: From b35f2326c765db8aca99d50a5c3e8b1f2622530a Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:11:49 +0330 Subject: [PATCH 09/17] Update .gitpod.yml --- .gitpod.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index bd301e7..5a5adc1 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -4,19 +4,12 @@ # https://www.gitpod.io/docs/references/gitpod-yml # https://www.gitpod.io/docs/configure # https://www.gitpod.io/docs/configure/workspaces/ports - + image: - file: gitpod/workspace-dotnet - -vscode: - extensions: - - ms-azuretools.vscode-docker - - muhammad-sammy.csharp - -# https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order + file: .gitpod.Dockerfile tasks: - - name: Init Docker-Compose + - name: Init Docker-Compose # https://www.gitpod.io/docs/configure/projects/prebuilds # We load docker on pre-build for increasing speed init: | @@ -24,6 +17,12 @@ tasks: docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d - name: Restore & Build init: | - dotnet dev-certs https + dotnet dev-certs https dotnet restore - dotnet build + dotnet build + - name: Run + command: dotnet run + +vscode: + extensions: + - muhammad-sammy.csharp From fcaea68615ee6b2692547604e9af5763116fe483 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:12:38 +0330 Subject: [PATCH 10/17] Update and rename gitpod.Dockerfile to .gitpod.Dockerfile --- gitpod.Dockerfile => .gitpod.Dockerfile | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename gitpod.Dockerfile => .gitpod.Dockerfile (100%) diff --git a/gitpod.Dockerfile b/.gitpod.Dockerfile similarity index 100% rename from gitpod.Dockerfile rename to .gitpod.Dockerfile From 33dbdfcf20c54f4365f176a0cd404d42e4d1353a Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:13:41 +0330 Subject: [PATCH 11/17] Update .gitpod.yml --- .gitpod.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 5a5adc1..ed7af2f 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -9,12 +9,6 @@ image: file: .gitpod.Dockerfile tasks: - - name: Init Docker-Compose - # https://www.gitpod.io/docs/configure/projects/prebuilds - # We load docker on pre-build for increasing speed - init: | - docker-compose pull - docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d - name: Restore & Build init: | dotnet dev-certs https From d2b34c105481306b4dd75fd3d893f4a3aaa7db78 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:18:16 +0330 Subject: [PATCH 12/17] Update .gitpod.yml --- .gitpod.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitpod.yml b/.gitpod.yml index ed7af2f..073c7b5 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -9,6 +9,12 @@ image: file: .gitpod.Dockerfile tasks: + - name: Init Docker-Compose + # https://www.gitpod.io/docs/configure/projects/prebuilds + # We load docker on pre-build for increasing speed + init: | + docker-compose pull + docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d - name: Restore & Build init: | dotnet dev-certs https From fde19e0d39abf8b36f4f488d48c9cd6827d794b1 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:18:36 +0330 Subject: [PATCH 13/17] Update .gitpod.yml --- .gitpod.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 073c7b5..2ecc945 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -20,9 +20,7 @@ tasks: dotnet dev-certs https dotnet restore dotnet build - - name: Run - command: dotnet run - + vscode: extensions: - muhammad-sammy.csharp From 6434f7bf5bb1b7e51e4134e572bbfb074492cb30 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:20:12 +0330 Subject: [PATCH 14/17] Update .gitpod.yml --- .gitpod.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 2ecc945..d65b9f7 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -7,7 +7,11 @@ image: file: .gitpod.Dockerfile - + +caches: + dotnet: + paths: + - /usr/local/bin/docker-compose tasks: - name: Init Docker-Compose # https://www.gitpod.io/docs/configure/projects/prebuilds From ad9b793b92304a8c6196b65f0efab27ce1af6105 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:21:27 +0330 Subject: [PATCH 15/17] Update .gitpod.yml --- .gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index d65b9f7..9239b18 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -11,7 +11,7 @@ image: caches: dotnet: paths: - - /usr/local/bin/docker-compose + - /usr/local/bin/infrastracture tasks: - name: Init Docker-Compose # https://www.gitpod.io/docs/configure/projects/prebuilds From 1e376fd768942ad9344a7bba7cfe2850222b3d60 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:27:30 +0330 Subject: [PATCH 16/17] Update .gitpod.yml --- .gitpod.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 9239b18..139b9e9 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -8,10 +8,6 @@ image: file: .gitpod.Dockerfile -caches: - dotnet: - paths: - - /usr/local/bin/infrastracture tasks: - name: Init Docker-Compose # https://www.gitpod.io/docs/configure/projects/prebuilds From 09af763473f800c506c95f867b2389c984c51847 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:34:02 +0330 Subject: [PATCH 17/17] Update .gitpod.yml --- .gitpod.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitpod.yml b/.gitpod.yml index 139b9e9..ce86f86 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -15,6 +15,8 @@ tasks: init: | docker-compose pull docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d + - name: Setup kubectl + command: bash $GITPOD_REPO_ROOT/scripts/setup_kubectl_gitpod.sh - name: Restore & Build init: | dotnet dev-certs https