Skip to content

Commit

Permalink
v1.2.1 Merge
Browse files Browse the repository at this point in the history
v1.2.1 Merge
  • Loading branch information
dirtycajunrice authored Feb 14, 2019
2 parents d8f6989 + 3af13e9 commit 24ecb87
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
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

0 comments on commit 24ecb87

Please sign in to comment.