Skip to content

Commit

Permalink
Update screwdriver.yaml (#136)
Browse files Browse the repository at this point in the history
* Update screwdriver.yaml

Add manylinux1 support and run functional tests against manylinux1, manylinux2010 and manylinux2014 packages

* Create 137.feature.md

* Update screwdriver.yaml

* Update index.rst

* Create changelog.md

* Update screwdriver.yaml

* Update screwdriver.yaml

Publish with the correct image
  • Loading branch information
dwighthubbard authored Dec 20, 2019
1 parent 86583c9 commit 28f7406
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 11 deletions.
1 change: 1 addition & 0 deletions changelog.d/137.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add build of manylinux1 compatible wheels to the CI/CD Pipeline
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Table of Contents
topic/command_line

topic/contributing
topic/changelog


Indices and tables
Expand Down
1 change: 1 addition & 0 deletions docs/source/topic/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

66 changes: 55 additions & 11 deletions screwdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: 4
shared:
environment:
CHANGELOG_FILENAME: docs/source/topic/changelog.md
PACKAGE_DIRECTORY: redislite

jobs:
Expand All @@ -22,22 +23,30 @@ jobs:
DOCUMENTATION_PUBLISH: False
requires: [~commit, ~pr]

package_sdist:
pkg_sdist:
template: python/package_python
environment:
PACKAGE_TYPES: sdist
PUBLISH: False
requires: [~commit, ~pr]

package_manylinux2010:
pkg_ml1_64:
template: python/package_python
image: manylinux1_64
environment:
PACKAGE_TYPES: wheel
PUBLISH: False
requires: [~commit, ~pr]

pkg_ml2010:
template: python/package_python
image: manylinux2010
environment:
PACKAGE_TYPES: wheel
PUBLISH: False
requires: [~commit, ~pr]

package_manylinux2014:
pkg_ml2014:
template: python/package_python
image: manylinux2014
environment:
Expand All @@ -55,39 +64,74 @@ jobs:
PACKAGE_TAG: False
PUBLISH: True
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
requires: [validate_test, validate_lint, validate_codestyle, package_sdist, validate_documentation, package_manylinux2010, package_manylinux2014, generate_version]
requires: [validate_test, validate_lint, validate_codestyle, validate_documentation, pkg_sdist, pkg_ml1_64, pkg_ml2010, pkg_ml2014, generate_version]

publish_test_pypi_ml1:
template: python/package_python
image: manylinux1_64
environment:
PACKAGE_TAG: False
PACKAGE_TYPES: wheel
PUBLISH: True
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
requires: [validate_test, validate_lint, validate_codestyle, validate_documentation, pkg_sdist, pkg_ml1_64, pkg_ml2010, pkg_ml2014, generate_version]

publish_test_pypi_manylinux2014:
publish_test_pypi_ml2014:
template: python/package_python
image: manylinux2014
environment:
PACKAGE_TAG: False
PACKAGE_TYPES: wheel
PUBLISH: True
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
requires: [validate_test, validate_lint, validate_codestyle, package_sdist, validate_documentation, package_manylinux2010, package_manylinux2014, generate_version]
requires: [validate_test, validate_lint, validate_codestyle, validate_documentation, pkg_sdist, pkg_ml1_64, pkg_ml2010, pkg_ml2014, generate_version]

verify_test_package:
verify_test_pkg:
template: python/validate_pypi_package
environment:
PYPI_INDEX_URL: https://test.pypi.org/simple
requires: [publish_test_pypi]

verify_test_pkg_ml1:
template: python/validate_pypi_package
image: manylinux1_64
environment:
PYPI_INDEX_URL: https://test.pypi.org/simple
requires: [publish_test_pypi_ml1]

verify_test_pkg_ml2014:
template: python/validate_pypi_package
image: manylinux2014
environment:
PYPI_INDEX_URL: https://test.pypi.org/simple
requires: [publish_test_pypi_ml2014]

publish_documentation:
template: python/documentation
requires: [verify_test_package]
requires: [verify_test_pkg, verify_test_pkg_ml1, verify_test_pkg_ml2014]

publish_pypi:
# This template runs in a manylinux2010 container and
# publishes manylinux2010 wheels
template: python/package_python
environment:
PUBLISH: True
requires: [verify_test_package]
requires: [verify_test_pkg, verify_test_pkg_ml1, verify_test_pkg_ml2014]

publish_pypi_manylinux2014:
publish_pypi_ml1_64:
template: python/package_python
image: manylinux1_64
environment:
PACKAGE_TAG: False
PACKAGE_TYPES: wheel
PUBLISH: True
requires: [verify_test_pkg, verify_test_pkg_ml1, verify_test_pkg_ml2014]

publish_pypi_ml2014:
template: python/package_python
image: manylinux2014
environment:
PACKAGE_TAG: False
PACKAGE_TYPES: wheel
PUBLISH: True
requires: [verify_test_package]
requires: [verify_test_pkg, verify_test_pkg_ml1, verify_test_pkg_ml2014]

0 comments on commit 28f7406

Please sign in to comment.