-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
79 additions
and
64 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
basedir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" | ||
buildpipe_version="${BUILDKITE_PLUGIN_BUILDPIPE_VERSION:-0.7.0}" | ||
|
||
docker build $basedir -t buildpipe > /dev/null | ||
if [[ "$BUILDKITE_PLUGIN_BUILDPIPE_RUN_MODE" == "test" ]]; then | ||
python3 setup.py install | ||
else | ||
pip3 install buildpipe==$buildpipe_version | ||
fi | ||
|
||
docker run --rm --env-file <(env | grep BUILDKITE) buildpipe | ||
buildpipe |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,6 @@ | |
with open("README.md") as f_readme: | ||
readme = f_readme.read() | ||
|
||
with open("requirements.txt") as f: | ||
install_requires = f.read().splitlines() | ||
|
||
setup( | ||
name="buildpipe", | ||
description="Dynamically generate Buildkite pipelines", | ||
|
@@ -17,18 +14,18 @@ | |
use_scm_version=True, | ||
author="Kamil Sindi", | ||
author_email="[email protected]", | ||
url="https://github.com/jwplayer/buildpipe", | ||
url="https://github.com/jwplayer/buildpipe-buildkite-plugin", | ||
keywords="pipeline buildkite buildkite-plugin cicd".split(), | ||
license="MIT", | ||
install_requires=install_requires, | ||
setup_requires=["pytest-runner", "setuptools_scm",], | ||
tests_require=["pytest", "pytest-cov", "pytest-flake8",], | ||
install_requires=["ruamel.yaml>=0.16.10", "setuptools_scm"], | ||
setup_requires=["pytest-runner"], | ||
tests_require=["pytest", "pytest-cov", "pytest-flake8"], | ||
include_package_data=True, | ||
zip_safe=False, | ||
entry_points={"console_scripts": ["buildpipe=buildpipe.__main__:main"]}, | ||
classifiers=textwrap.dedent( | ||
""" | ||
Development Status :: 5 - Production/Stable | ||
Development Status :: 4 - Beta | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: MIT License | ||
Environment :: Console | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[tox] | ||
envlist = docs,flake8,py36,py37 | ||
envlist = docs,flake8,py36,py37,py38 | ||
skipsdist=True | ||
|
||
[testenv] | ||
|