From 0c933b838151be13ddd3f80588d759e3623a9288 Mon Sep 17 00:00:00 2001 From: Seyed Alireza Damghani Date: Thu, 3 Jun 2021 22:00:19 -0300 Subject: [PATCH 1/4] [Infra]: origin remote of gitpod is changed to main vtr repo Signed-off-by: Seyed Alireza Damghani --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 040eb8fdf6b..f28823264df 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Verilog to Routing (VTR) -[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/Loksu/vtr-verilog-to-routing) +[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/verilog-to-routing/vtr-verilog-to-routing.git) [![Build Status](https://github.com/verilog-to-routing/vtr-verilog-to-routing/workflows/Test/badge.svg)](https://github.com/verilog-to-routing/vtr-verilog-to-routing/actions?query=workflow%3ATest) [![Documentation Status](https://readthedocs.org/projects/vtr/badge/?version=latest)](http://docs.verilogtorouting.org/en/latest/) ## Introduction From 39db02063c7f9b3b85a9d40b2fb3073900857286 Mon Sep 17 00:00:00 2001 From: Seyed Alireza Damghani Date: Fri, 4 Jun 2021 00:32:16 -0300 Subject: [PATCH 2/4] [Infra]: removing tasks from gitpod docker file (avoid warnings at starting point) Signed-off-by: Seyed Alireza Damghani --- .gitpod.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 7a15128a921..6ef81d0fed1 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,8 +1,5 @@ image: file: .gitpod.Dockerfile -tasks: -- command: pyenv global 3.7.4 && - chmod +x envconfig.sh vscode: extensions: From 56bd41b9d8fccef330fb347a8c168b087d8f8012 Mon Sep 17 00:00:00 2001 From: Seyed Alireza Damghani Date: Fri, 4 Jun 2021 00:33:18 -0300 Subject: [PATCH 3/4] [Infra]: - Adding /bin/bash as the doceker entry point - Adding VTR_ROOT env and set as docekr working directory Signed-off-by: Seyed Alireza Damghani --- .gitpod.Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 21cd9885e8e..b738f995a69 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -1,6 +1,8 @@ FROM gitpod/workspace-full:latest +# get the permission USER root + # Install util tools. RUN apt-get update \ && apt-get install -y \ @@ -31,9 +33,14 @@ RUN apt-get update \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* +# set out workspace +ENV VTR_ROOT=/workspace/vtr-verilog-to-routing +WORKDIR ${VTR_ROOT} + +CMD [ "/bin/bash" ] # Give back control USER root # Cleaning -RUN apt-get clean +RUN apt-get clean \ No newline at end of file From db522c5d5c016004b0fca2779ae11cc3a5dbd217 Mon Sep 17 00:00:00 2001 From: Seyed Alireza Damghani Date: Tue, 8 Jun 2021 15:54:54 -0300 Subject: [PATCH 4/4] [Infra]: Adding pre-built for all branches and PR/MR for GitPod Signed-off-by: Seyed Alireza Damghani --- .gitpod.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitpod.yml b/.gitpod.yml index 6ef81d0fed1..201f7d79c01 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,6 +1,21 @@ image: file: .gitpod.Dockerfile +github: + prebuilds: + # enable for the master/default branch (defaults to true) + master: true + # enable for all branches in this repo (defaults to false) + branches: true + # enable for pull requests coming from this repo (defaults to true) + pullRequests: true + # enable for pull requests coming from forks (defaults to false) + pullRequestsFromForks: true + # add a "Review in Gitpod" check to pull requests (defaults to true) + addCheck: true + # add a label once the prebuild is ready to pull requests (defaults to false) + addLabel: prebuilt-in-gitpod + vscode: extensions: - ms-vscode.cmake-tools@1.2.3:qLtqI3aUcEBX9EpuK0ZCyw==