-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from mambaforge to miniforge (#847)
* switch from mambaforge to miniforge * change mambaforge to miniforge path
- Loading branch information
1 parent
3f4e989
commit b751087
Showing
30 changed files
with
114 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
export PATH="/root/mambaforge/bin:$PATH" | ||
source /root/mambaforge/etc/profile.d/conda.sh | ||
source /root/mambaforge/etc/profile.d/mamba.sh | ||
export PATH="/root/miniforge3/bin:$PATH" | ||
source /root/miniforge3/etc/profile.d/conda.sh | ||
source /root/miniforge3/etc/profile.d/mamba.sh | ||
mamba activate {{ otter_env_name }} | ||
python {{ autograder_dir }}/source/run_otter.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ENV PATH=/root/mambaforge/bin:$PATH | ||
ENV PATH=/root/miniforge3/bin:$PATH | ||
ADD __otter-grader /tmp/otter-grader | ||
RUN mamba run -n otter-env pip install /tmp/otter-grader | ||
RUN rm -rf /tmp/* |
6 changes: 3 additions & 3 deletions
6
test/test_assign/files/example-autograder-correct/run_autograder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
export PATH="/root/mambaforge/bin:$PATH" | ||
source /root/mambaforge/etc/profile.d/conda.sh | ||
source /root/mambaforge/etc/profile.d/mamba.sh | ||
export PATH="/root/miniforge3/bin:$PATH" | ||
source /root/miniforge3/etc/profile.d/conda.sh | ||
source /root/miniforge3/etc/profile.d/mamba.sh | ||
mamba activate otter-env | ||
python /autograder/source/run_otter.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
export PATH="/root/mambaforge/bin:$PATH" | ||
source /root/mambaforge/etc/profile.d/conda.sh | ||
source /root/mambaforge/etc/profile.d/mamba.sh | ||
export PATH="/root/miniforge3/bin:$PATH" | ||
source /root/miniforge3/etc/profile.d/conda.sh | ||
source /root/miniforge3/etc/profile.d/mamba.sh | ||
mamba activate otter-env | ||
python /autograder/source/run_otter.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
export PATH="/root/mambaforge/bin:$PATH" | ||
source /root/mambaforge/etc/profile.d/conda.sh | ||
source /root/mambaforge/etc/profile.d/mamba.sh | ||
export PATH="/root/miniforge3/bin:$PATH" | ||
source /root/miniforge3/etc/profile.d/conda.sh | ||
source /root/miniforge3/etc/profile.d/mamba.sh | ||
mamba activate otter-env | ||
python /autograder/source/run_otter.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
export PATH="/root/mambaforge/bin:$PATH" | ||
source /root/mambaforge/etc/profile.d/conda.sh | ||
source /root/mambaforge/etc/profile.d/mamba.sh | ||
export PATH="/root/miniforge3/bin:$PATH" | ||
source /root/miniforge3/etc/profile.d/conda.sh | ||
source /root/miniforge3/etc/profile.d/mamba.sh | ||
mamba activate otter-env | ||
python /autograder/source/run_otter.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
test/test_generate/files/autograder-custom-env/run_autograder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
export PATH="/root/mambaforge/bin:$PATH" | ||
source /root/mambaforge/etc/profile.d/conda.sh | ||
source /root/mambaforge/etc/profile.d/mamba.sh | ||
export PATH="/root/miniforge3/bin:$PATH" | ||
source /root/miniforge3/etc/profile.d/conda.sh | ||
source /root/miniforge3/etc/profile.d/mamba.sh | ||
mamba activate otter-env | ||
python /autograder/source/run_otter.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
export PATH="/root/mambaforge/bin:$PATH" | ||
source /root/mambaforge/etc/profile.d/conda.sh | ||
source /root/mambaforge/etc/profile.d/mamba.sh | ||
export PATH="/root/miniforge3/bin:$PATH" | ||
source /root/miniforge3/etc/profile.d/conda.sh | ||
source /root/miniforge3/etc/profile.d/mamba.sh | ||
mamba activate otter-env | ||
python /autograder/source/run_otter.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
test/test_generate/files/autograder-r-requirements-correct/run_autograder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
export PATH="/root/mambaforge/bin:$PATH" | ||
source /root/mambaforge/etc/profile.d/conda.sh | ||
source /root/mambaforge/etc/profile.d/mamba.sh | ||
export PATH="/root/miniforge3/bin:$PATH" | ||
source /root/miniforge3/etc/profile.d/conda.sh | ||
source /root/miniforge3/etc/profile.d/mamba.sh | ||
mamba activate otter-env | ||
python /autograder/source/run_otter.py |
Oops, something went wrong.