Skip to content

Commit

Permalink
Trac #34270: .gitpod.yml: Do not hardcode the workspace name as saget…
Browse files Browse the repository at this point in the history
…rac-mirror

For example https://gitpod.io/#https://github.com/sagemath/sage, which
appears as a link in our manuals, for instance,

- find the link "going to Gitpod" in
https://113a817a9b18c078a108e31522579eab1afac19c--sagemath-
tobias.netlify.app/developer/index.html

does not work because the workspace directory is `/workspace/sage`, not
`/workspace/sagetrac-mirror`

URL: https://trac.sagemath.org/34270
Reported by: mkoeppe
Ticket author(s): Matthias Koeppe
Reviewer(s): Kwankyu Lee
  • Loading branch information
Release Manager committed Aug 27, 2022
2 parents 5b7fc7e + eb839d4 commit 696bf78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ tasks:
# Create conda environment
./bootstrap-conda
mamba env create --file src/environment-dev.yml --prefix venv
conda config --append envs_dirs /workspace/sagetrac-mirror
conda activate /workspace/sagetrac-mirror/venv
conda config --append envs_dirs $(pwd)
conda activate $(pwd)/venv
# Build sage
./bootstrap
Expand All @@ -20,8 +20,8 @@ tasks:
command: |
# Activate conda environment
conda config --append envs_dirs /workspace/sagetrac-mirror
conda activate /workspace/sagetrac-mirror/venv
conda config --append envs_dirs $(pwd)
conda activate $(pwd)/venv
# RestructuredText extension recommends python extension, although we have already installed it
## So disable the recommendation dialog
Expand Down

0 comments on commit 696bf78

Please sign in to comment.