Skip to content

Commit

Permalink
fix: chown all the files for mamba under /opt/conda (#1961)
Browse files Browse the repository at this point in the history
fix: chown all the files for mamba under /opt/conda

Signed-off-by: Keming <[email protected]>
  • Loading branch information
kemingy authored Jan 26, 2025
1 parent 3b1d272 commit 307fdbd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ jobs:
if: github.repository == 'tensorchord/envd' && startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- build_func: build
Expand Down
2 changes: 1 addition & 1 deletion envd/api/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def shell(name: str = "bash"):
"""Interactive shell
Args:
name (str): shell name (i.e. `zsh`, `bash`)
name (str): shell name (i.e. `zsh`, `bash`, `fish`)
"""


Expand Down
3 changes: 2 additions & 1 deletion pkg/lang/ir/v1/conda.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ func (g generalGraph) compileCondaEnvironment(root llb.State) (llb.State, error)
func (g *generalGraph) installConda(root llb.State) llb.State {
if g.Dev {
// We only create envd user for dev env.
g.UserDirectories = append(g.UserDirectories, fmt.Sprintf("%s/envs/envd", condaRootPrefix))
// `micromamba` needs to modify the conda directory.
g.UserDirectories = append(g.UserDirectories, condaRootPrefix)
}
if g.CondaConfig.UseMicroMamba {
return g.installMicroMamba(root)
Expand Down

0 comments on commit 307fdbd

Please sign in to comment.