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
e0f261f3
Commit
e0f261f3
authored
Jan 02, 2020
by
Karl Ostmo
Committed by
Vincent QB
Jan 02, 2020
Browse files
Apply 'nightly' branch filter to binary uploads (#385)
Remove suspect logic.
parent
42ffaf62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
.circleci/config.yml
.circleci/config.yml
+18
-0
.circleci/regenerate.py
.circleci/regenerate.py
+1
-4
No files found.
.circleci/config.yml
View file @
e0f261f3
...
...
@@ -324,6 +324,9 @@ workflows:
python_version
:
'
3.5'
-
binary_wheel_upload
:
context
:
org-member
filters
:
branches
:
only
:
nightly
name
:
nightly_binary_linux_wheel_py3.5_upload
requires
:
-
nightly_binary_linux_wheel_py3.5
...
...
@@ -343,6 +346,9 @@ workflows:
python_version
:
'
3.6'
-
binary_wheel_upload
:
context
:
org-member
filters
:
branches
:
only
:
nightly
name
:
nightly_binary_linux_wheel_py3.6_upload
requires
:
-
nightly_binary_linux_wheel_py3.6
...
...
@@ -362,6 +368,9 @@ workflows:
python_version
:
'
3.7'
-
binary_wheel_upload
:
context
:
org-member
filters
:
branches
:
only
:
nightly
name
:
nightly_binary_linux_wheel_py3.7_upload
requires
:
-
nightly_binary_linux_wheel_py3.7
...
...
@@ -466,6 +475,9 @@ workflows:
python_version
:
'
3.5'
-
binary_conda_upload
:
context
:
org-member
filters
:
branches
:
only
:
nightly
name
:
nightly_binary_linux_conda_py3.5_upload
requires
:
-
nightly_binary_linux_conda_py3.5
...
...
@@ -485,6 +497,9 @@ workflows:
python_version
:
'
3.6'
-
binary_conda_upload
:
context
:
org-member
filters
:
branches
:
only
:
nightly
name
:
nightly_binary_linux_conda_py3.6_upload
requires
:
-
nightly_binary_linux_conda_py3.6
...
...
@@ -504,6 +519,9 @@ workflows:
python_version
:
'
3.7'
-
binary_conda_upload
:
context
:
org-member
filters
:
branches
:
only
:
nightly
name
:
nightly_binary_linux_conda_py3.7_upload
requires
:
-
nightly_binary_linux_conda_py3.7
...
...
.circleci/regenerate.py
View file @
e0f261f3
...
...
@@ -47,10 +47,7 @@ def workflow_pair(btype, os_type, python_version, unicode, filter_branch, prefix
is_py3_linux
=
os_type
==
'linux'
and
not
python_version
.
startswith
(
"2."
)
# XXX This logic is suspect...
upload_job_filter_branch
=
not
is_py3_linux
and
filter_branch
w
.
append
(
generate_upload_workflow
(
base_workflow_name
,
upload_job_filter_branch
,
btype
))
w
.
append
(
generate_upload_workflow
(
base_workflow_name
,
filter_branch
,
btype
))
if
filter_branch
==
'nightly'
and
is_py3_linux
:
pydistro
=
'pip'
if
btype
==
'wheel'
else
'conda'
...
...
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