Skip to content
Snippets Groups Projects
Unverified Commit dbb19b9f authored by Coulton Theuer's avatar Coulton Theuer Committed by GitHub
Browse files

BLD: Update Gitpod to use docker installation flow and pip/meson for setup (#54046)

* Update Dockerfile with new Conda version

* Update .gitpod.yml with meson build instructions

* Update .gitpod.yml with new Dockerfile

* Remove lines that cause errors in .gitpod.yml

* add precommit hook back

* Update gitpod.yml to use docker installation flow

* Remove outdated plugin configs

* remove trailing whitespace

* Update .gitpod.yml to remove conda activation (using docker flow)

* fix esbonio language server not installed error

* Add pip/meson build to command to fix issues with gitpod prebuild

* remove esbonio

* enable prebuilds to quickly access pull requests

* add statement to close terminal

* Remove extra pip/meson command

* add comma

* add back duplicate command to fix prebuild

* remove prebuilds for branches/forks

* remove pull request prebuild option

* Update gitpod comments

* update letter
parent 41dfcccf
No related branches found
No related tags found
No related merge requests found
......@@ -3,19 +3,20 @@
# https://www.gitpod.io/docs/config-start-tasks/#configuring-the-terminal
# -------------------------------------------------------------------------
# assuming we use dockerhub: name of the docker user, docker image, tag, e.g. https://hub.docker.com/r/pandas/pandas-gitpod/tags
image: pandas/pandas-gitpod:latest
# images for gitpod pandas are in https://hub.docker.com/r/pandas/pandas-gitpod/tags
# we're using the Dockerfile in the base of the repo
image:
file: Dockerfile
tasks:
- name: Prepare development environment
init: |
mkdir -p .vscode
cp gitpod/settings.json .vscode/settings.json
conda activate pandas-dev
git pull --unshallow # need to force this else the prebuild fails
git fetch --tags
python setup.py build_ext --inplace -j 4
echo "🛠 Completed rebuilding Pandas!! 🛠 "
python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true
pre-commit install
command: |
python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true
echo "✨ Pre-build complete! You can close this terminal ✨ "
# --------------------------------------------------------
......@@ -37,7 +38,7 @@ vscode:
# avoid adding too many. they each open a pop-up window
# --------------------------------------------------------
# using prebuilds for the container
# Using prebuilds for the container
# With this configuration the prebuild will happen on push to main
github:
prebuilds:
......
......@@ -27,7 +27,7 @@
# OS/ARCH: linux/amd64
FROM gitpod/workspace-base:latest
ARG MAMBAFORGE_VERSION="22.9.0-1"
ARG MAMBAFORGE_VERSION="23.1.0-3"
ARG CONDA_ENV=pandas-dev
ARG PANDAS_HOME="/home/pandas"
......
{
"restructuredtext.updateOnTextChanged": "true",
"restructuredtext.updateDelay": 300,
"esbonio.server.pythonPath": "/usr/local/bin/python",
"restructuredtext.linter.disabledLinters": ["doc8","rst-lint", "rstcheck"],
"python.defaultInterpreterPath": "/home/gitpod/mambaforge3/envs/pandas-dev/bin/python"
"python.defaultInterpreterPath": "/usr/local/bin/python"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment