Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.2.1 Merge #213

Merged
merged 6 commits into from
Feb 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# Change Log

## [1.2.0](https://github.com/pyouroboros/ouroboros/tree/1.2.0) (2019-02-13)
## [1.2.1](https://github.com/pyouroboros/ouroboros/tree/1.2.1) (2019-02-13)
[Full Changelog](https://github.com/pyouroboros/ouroboros/compare/1.2.0...1.2.1)

**Fixed bugs:**

- Broken when no :tag specified [\#210](https://github.com/pyouroboros/ouroboros/issues/210)

**Other Pull Requests**

- v1.2.1 Merge [\#213](https://github.com/pyouroboros/ouroboros/pull/213) ([DirtyCajunRice](https://github.com/DirtyCajunRice))
- v1.2.1 to develop [\#212](https://github.com/pyouroboros/ouroboros/pull/212) ([DirtyCajunRice](https://github.com/DirtyCajunRice))
- fixes \#210 [\#211](https://github.com/pyouroboros/ouroboros/pull/211) ([DirtyCajunRice](https://github.com/DirtyCajunRice))
- version bump to 1.2.1 + develop branch + twine fix + … [\#209](https://github.com/pyouroboros/ouroboros/pull/209) ([DirtyCajunRice](https://github.com/DirtyCajunRice))

## [1.2.0](https://github.com/pyouroboros/ouroboros/tree/1.2.0) (2019-02-14)
[Full Changelog](https://github.com/pyouroboros/ouroboros/compare/1.1.2...1.2.0)

**Implemented enhancements:**
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pipeline {
steps {
sh """
python3 -m venv venv && venv/bin/pip install twine
venv/bin/python setup.py sdist && venv/bin/python -m twine --skip-existing -u ${PYPI_CREDS_USR} -p ${PYPI_CREDS_PSW} upload dist/*
venv/bin/python setup.py sdist && venv/bin/python -m twine upload --skip-existing -u ${PYPI_CREDS_USR} -p ${PYPI_CREDS_PSW} dist/*
git tag ${TAG}
git push --tags
"""
Expand Down
2 changes: 1 addition & 1 deletion pyouroboros/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VERSION = "1.2.0"
VERSION = "1.2.1"
BRANCH = "master"
3 changes: 2 additions & 1 deletion pyouroboros/dockerclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ def pull(self, current_tag):
if not tag:
self.logger.error('Missing tag. Skipping...')
raise ConnectionError
elif ':' not in tag:
tag = f'{tag}:latest'
self.logger.debug('Checking tag: %s', tag)
try:
if self.config.dry_run:
Expand Down Expand Up @@ -236,7 +238,6 @@ def socket_check(self):
latest_image = self.pull(current_tag)
except ConnectionError:
continue

if current_image.id != latest_image.id:
updateable.append((container, current_image, latest_image))
else:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def readme():
setup(
name='ouroboros-cli',
version=VERSION,
maintainer='circa10a',
description='Automatically update running docker containers',
long_description=readme(),
long_description_content_type='text/markdown',
Expand Down