From 86f908744407da8c9190567001626fcd84cd4fbf Mon Sep 17 00:00:00 2001 From: Kartik Soneji Date: Thu, 23 Jul 2020 19:52:09 +0530 Subject: [PATCH] feat(gitpod): Add env variables to .bashrc so they can be accessed globally (#39296) * feat(gitpod): Add env variables to .profile so they can be accessed globally. --- .gitpod.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitpod.yml b/.gitpod.yml index 9d0a37cbd5..6deebf26f4 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -12,6 +12,14 @@ ports: onOpen: ignore tasks: +- before: | + echo ' + export COOKIE_DOMAIN=gitpod.io + export HOME_LOCATION=$(gp url 8000) + export API_LOCATION=$(gp url 3000) + ' >> ~/.bashrc; + exit; + - name: db # starting mongo in background, so it doesn't block prebuilds before: >