Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
6a0053e9
"...text-generation-inference.git" did not exist on "00b8f36fba62e457ff143cce35564ac6704db860"
Unverified
Commit
6a0053e9
authored
Oct 15, 2020
by
moto
Committed by
GitHub
Oct 15, 2020
Browse files
Upload to "test" channel on release branch (#952) (#954)
parent
8e8c5277
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
.circleci/config.yml
.circleci/config.yml
+4
-4
.circleci/config.yml.in
.circleci/config.yml.in
+4
-4
No files found.
.circleci/config.yml
View file @
6a0053e9
...
@@ -34,7 +34,7 @@ commands:
...
@@ -34,7 +34,7 @@ commands:
command
:
|
command
:
|
our_upload_channel=nightly
our_upload_channel=nightly
# On tags upload to test instead
# On tags upload to test instead
if [[ -n "${CIRCLE_TAG}" ]]; then
if [[ -n "${CIRCLE_TAG}"
]] || [[ ${CIRCLE_BRANCH} =~ release/*
]]; then
our_upload_channel=test
our_upload_channel=test
fi
fi
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
...
@@ -301,7 +301,7 @@ jobs:
...
@@ -301,7 +301,7 @@ jobs:
command
:
|
command
:
|
set -x
set -x
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
pip install $(ls ~/workspace/torchaudio*.whl) -f https://download.pytorch.org/whl/
nightly/torch_nightly.html -f https://download.pytorch.org/whl/test/torch_test
.html
pip install $(ls ~/workspace/torchaudio*.whl) -f
"
https://download.pytorch.org/whl/
${UPLOAD_CHANNEL}/torch_${UPLOAD_CHANNEL}
.html
"
-
run
:
-
run
:
name
:
smoke test
name
:
smoke test
command
:
|
command
:
|
...
@@ -323,7 +323,7 @@ jobs:
...
@@ -323,7 +323,7 @@ jobs:
conda env remove -n python${PYTHON_VERSION} || true
conda env remove -n python${PYTHON_VERSION} || true
conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
conda activate python${PYTHON_VERSION}
conda activate python${PYTHON_VERSION}
conda install -v -y -c pytorch-
test -c pytorch-nightly
pytorch
conda install -v -y -c pytorch-
${UPLOAD_CHANNEL}
pytorch
conda install -v -y $(ls ~/workspace/torchaudio*.tar.bz2)
conda install -v -y $(ls ~/workspace/torchaudio*.tar.bz2)
-
run
:
-
run
:
name
:
smoke test
name
:
smoke test
...
@@ -347,7 +347,7 @@ jobs:
...
@@ -347,7 +347,7 @@ jobs:
conda env remove -n python${PYTHON_VERSION} || true
conda env remove -n python${PYTHON_VERSION} || true
conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
conda activate python${PYTHON_VERSION}
conda activate python${PYTHON_VERSION}
pip install $(ls ~/workspace/torchaudio*.whl) -f https://download.pytorch.org/whl/
nightly/torch_nightly.html -f https://download.pytorch.org/whl/test/torch_test
.html
pip install $(ls ~/workspace/torchaudio*.whl) -f
"
https://download.pytorch.org/whl/
${UPLOAD_CHANNEL}/torch_${UPLOAD_CHANNEL}
.html
"
-
run
:
-
run
:
name
:
smoke test
name
:
smoke test
command
:
|
command
:
|
...
...
.circleci/config.yml.in
View file @
6a0053e9
...
@@ -34,7 +34,7 @@ commands:
...
@@ -34,7 +34,7 @@ commands:
command: |
command: |
our_upload_channel=nightly
our_upload_channel=nightly
# On tags upload to test instead
# On tags upload to test instead
if [[ -n "${CIRCLE_TAG}" ]]; then
if [[ -n "${CIRCLE_TAG}"
]] || [[ ${CIRCLE_BRANCH} =~ release/*
]]; then
our_upload_channel=test
our_upload_channel=test
fi
fi
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
...
@@ -301,7 +301,7 @@ jobs:
...
@@ -301,7 +301,7 @@ jobs:
command: |
command: |
set -x
set -x
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
pip install $(ls ~/workspace/torchaudio*.whl) -f https://download.pytorch.org/whl/
nightly/torch_nightly.html -f https://download.pytorch.org/whl/test/torch_test
.html
pip install $(ls ~/workspace/torchaudio*.whl) -f
"
https://download.pytorch.org/whl/
${UPLOAD_CHANNEL}/torch_${UPLOAD_CHANNEL}
.html
"
- run:
- run:
name: smoke test
name: smoke test
command: |
command: |
...
@@ -323,7 +323,7 @@ jobs:
...
@@ -323,7 +323,7 @@ jobs:
conda env remove -n python${PYTHON_VERSION} || true
conda env remove -n python${PYTHON_VERSION} || true
conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
conda activate python${PYTHON_VERSION}
conda activate python${PYTHON_VERSION}
conda install -v -y -c pytorch-
test -c pytorch-nightly
pytorch
conda install -v -y -c pytorch-
${UPLOAD_CHANNEL}
pytorch
conda install -v -y $(ls ~/workspace/torchaudio*.tar.bz2)
conda install -v -y $(ls ~/workspace/torchaudio*.tar.bz2)
- run:
- run:
name: smoke test
name: smoke test
...
@@ -347,7 +347,7 @@ jobs:
...
@@ -347,7 +347,7 @@ jobs:
conda env remove -n python${PYTHON_VERSION} || true
conda env remove -n python${PYTHON_VERSION} || true
conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
conda activate python${PYTHON_VERSION}
conda activate python${PYTHON_VERSION}
pip install $(ls ~/workspace/torchaudio*.whl) -f https://download.pytorch.org/whl/
nightly/torch_nightly.html -f https://download.pytorch.org/whl/test/torch_test
.html
pip install $(ls ~/workspace/torchaudio*.whl) -f
"
https://download.pytorch.org/whl/
${UPLOAD_CHANNEL}/torch_${UPLOAD_CHANNEL}
.html
"
- run:
- run:
name: smoke test
name: smoke test
command: |
command: |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment