Skip to content

Install conda package from workspace #803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
- store_artifacts:
path: /opt/conda/conda-bld/linux-64
- persist_to_workspace:
root: /opt/conda/conda-bld/linux-64
root: /opt/conda
paths:
- "*"
- "conda-bld/*"

binary_windows_wheel:
<<: *binary_common
Expand Down Expand Up @@ -120,9 +120,9 @@ jobs:
- store_artifacts:
path: C:/tools/miniconda3/conda-bld/win-64
- persist_to_workspace:
root: C:/tools/miniconda3/conda-bld/win-64
root: C:/tools/miniconda3
paths:
- "*"
- "conda-bld/*"

binary_macos_wheel:
<<: *binary_common
Expand Down Expand Up @@ -165,9 +165,9 @@ jobs:
- store_artifacts:
path: /Users/distiller/miniconda3/conda-bld/osx-64
- persist_to_workspace:
root: /Users/distiller/miniconda3/conda-bld/osx-64
root: /Users/distiller/miniconda3
paths:
- "*"
- "conda-bld/*"

# Requires org-member context
binary_conda_upload:
Expand All @@ -181,7 +181,7 @@ jobs:
# Prevent credential from leaking
conda install -yq anaconda-client
set -x
anaconda -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/workspace/*.tar.bz2 -u pytorch-nightly --label main --no-progress --force
anaconda -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/workspace/conda-bld/*/*.tar.bz2 -u pytorch-nightly --label main --no-progress --force

# Requires org-member context
binary_wheel_upload:
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
set -x
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
conda install -v -y -c pytorch-nightly pytorch
conda install -v -y $(ls ~/workspace/torchtext*.tar.bz2)
conda install -v -y -c file://$HOME/workspace/conda-bld torchtext
- run:
name: smoke test
command: |
Expand Down
16 changes: 8 additions & 8 deletions .circleci/config.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
- store_artifacts:
path: /opt/conda/conda-bld/linux-64
- persist_to_workspace:
root: /opt/conda/conda-bld/linux-64
root: /opt/conda
paths:
- "*"
- "conda-bld/*"

binary_windows_wheel:
<<: *binary_common
Expand Down Expand Up @@ -120,9 +120,9 @@ jobs:
- store_artifacts:
path: C:/tools/miniconda3/conda-bld/win-64
- persist_to_workspace:
root: C:/tools/miniconda3/conda-bld/win-64
root: C:/tools/miniconda3
paths:
- "*"
- "conda-bld/*"

binary_macos_wheel:
<<: *binary_common
Expand Down Expand Up @@ -165,9 +165,9 @@ jobs:
- store_artifacts:
path: /Users/distiller/miniconda3/conda-bld/osx-64
- persist_to_workspace:
root: /Users/distiller/miniconda3/conda-bld/osx-64
root: /Users/distiller/miniconda3
paths:
- "*"
- "conda-bld/*"

# Requires org-member context
binary_conda_upload:
Expand All @@ -181,7 +181,7 @@ jobs:
# Prevent credential from leaking
conda install -yq anaconda-client
set -x
anaconda -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/workspace/*.tar.bz2 -u pytorch-nightly --label main --no-progress --force
anaconda -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/workspace/conda-bld/*/*.tar.bz2 -u pytorch-nightly --label main --no-progress --force

# Requires org-member context
binary_wheel_upload:
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
set -x
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
conda install -v -y -c pytorch-nightly pytorch
conda install -v -y $(ls ~/workspace/torchtext*.tar.bz2)
conda install -v -y -c file://$HOME/workspace/conda-bld torchtext
- run:
name: smoke test
command: |
Expand Down