Skip to content

Commit

Permalink
Merge pull request #248 from mksanger/remove_conda_from_setup
Browse files Browse the repository at this point in the history
Remove references to conda from the archive creation script
  • Loading branch information
kjsanger committed Apr 30, 2024
2 parents 58ac5b0 + 2db196d commit 50d94a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Update valet_archive_create script to remove reference to conda
- Update CI to use ubuntu latest
- Update github actions test workflow baton to 4.0.0

Expand Down
8 changes: 1 addition & 7 deletions scripts/valet_archive_create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
set -e

# BEGIN ENVIRONMENT
CONDA_ROOT=${CONDA_ROOT:-$HOME/miniconda}
CONDA_ENV=${CONDA_ENV:-valet}

HOSTNAME=${HOSTNAME:-$(hostname)}
INSTRUMENT_MODEL=${INSTRUMENT_MODEL:-promethion}

Expand All @@ -45,12 +42,9 @@ LOG_FILE=${LOG_FILE:-"$HOME/valet.log"}
TMPDIR=${TMPDIR:-"$SAFE_ROOT/tmp"}
# END ENVIRONMENT

source "$CONDA_ROOT/etc/profile.d/conda.sh"

set -x

conda activate "$CONDA_ENV" && \
TMPDIR="$TMPDIR" nice valet archive create \
TMPDIR="$TMPDIR" nice valet archive create \
--root "$DATA_ROOT" \
--archive-root "$ARCHIVE_ROOT" \
--exclude "$SAFE_ROOT" \
Expand Down

0 comments on commit 50d94a2

Please sign in to comment.