Commit e0f261f3 authored by Karl Ostmo's avatar Karl Ostmo Committed by Vincent QB
Browse files

Apply 'nightly' branch filter to binary uploads (#385)

Remove suspect logic.
parent 42ffaf62
...@@ -324,6 +324,9 @@ workflows: ...@@ -324,6 +324,9 @@ workflows:
python_version: '3.5' python_version: '3.5'
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
filters:
branches:
only: nightly
name: nightly_binary_linux_wheel_py3.5_upload name: nightly_binary_linux_wheel_py3.5_upload
requires: requires:
- nightly_binary_linux_wheel_py3.5 - nightly_binary_linux_wheel_py3.5
...@@ -343,6 +346,9 @@ workflows: ...@@ -343,6 +346,9 @@ workflows:
python_version: '3.6' python_version: '3.6'
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
filters:
branches:
only: nightly
name: nightly_binary_linux_wheel_py3.6_upload name: nightly_binary_linux_wheel_py3.6_upload
requires: requires:
- nightly_binary_linux_wheel_py3.6 - nightly_binary_linux_wheel_py3.6
...@@ -362,6 +368,9 @@ workflows: ...@@ -362,6 +368,9 @@ workflows:
python_version: '3.7' python_version: '3.7'
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
filters:
branches:
only: nightly
name: nightly_binary_linux_wheel_py3.7_upload name: nightly_binary_linux_wheel_py3.7_upload
requires: requires:
- nightly_binary_linux_wheel_py3.7 - nightly_binary_linux_wheel_py3.7
...@@ -466,6 +475,9 @@ workflows: ...@@ -466,6 +475,9 @@ workflows:
python_version: '3.5' python_version: '3.5'
- binary_conda_upload: - binary_conda_upload:
context: org-member context: org-member
filters:
branches:
only: nightly
name: nightly_binary_linux_conda_py3.5_upload name: nightly_binary_linux_conda_py3.5_upload
requires: requires:
- nightly_binary_linux_conda_py3.5 - nightly_binary_linux_conda_py3.5
...@@ -485,6 +497,9 @@ workflows: ...@@ -485,6 +497,9 @@ workflows:
python_version: '3.6' python_version: '3.6'
- binary_conda_upload: - binary_conda_upload:
context: org-member context: org-member
filters:
branches:
only: nightly
name: nightly_binary_linux_conda_py3.6_upload name: nightly_binary_linux_conda_py3.6_upload
requires: requires:
- nightly_binary_linux_conda_py3.6 - nightly_binary_linux_conda_py3.6
...@@ -504,6 +519,9 @@ workflows: ...@@ -504,6 +519,9 @@ workflows:
python_version: '3.7' python_version: '3.7'
- binary_conda_upload: - binary_conda_upload:
context: org-member context: org-member
filters:
branches:
only: nightly
name: nightly_binary_linux_conda_py3.7_upload name: nightly_binary_linux_conda_py3.7_upload
requires: requires:
- nightly_binary_linux_conda_py3.7 - nightly_binary_linux_conda_py3.7
......
...@@ -47,10 +47,7 @@ def workflow_pair(btype, os_type, python_version, unicode, filter_branch, prefix ...@@ -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.") is_py3_linux = os_type == 'linux' and not python_version.startswith("2.")
# XXX This logic is suspect... w.append(generate_upload_workflow(base_workflow_name, filter_branch, btype))
upload_job_filter_branch = not is_py3_linux and filter_branch
w.append(generate_upload_workflow(base_workflow_name, upload_job_filter_branch, btype))
if filter_branch == 'nightly' and is_py3_linux: if filter_branch == 'nightly' and is_py3_linux:
pydistro = 'pip' if btype == 'wheel' else 'conda' pydistro = 'pip' if btype == 'wheel' else 'conda'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment