Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Tag for 2.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
alfpark committed Nov 23, 2016
1 parent fe0403d commit 8577232
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Change Log

## [Unreleased]

## [2.0.0] - 2016-11-23
### Added
- Support for any Internet accessible container registry, including
[Azure Container Registry](https://azure.microsoft.com/en-us/services/container-registry/).
Expand Down Expand Up @@ -251,7 +253,8 @@ transfer is disabled
#### Added
- Initial release

[Unreleased]: https://github.com/Azure/batch-shipyard/compare/2.0.0rc3...HEAD
[Unreleased]: https://github.com/Azure/batch-shipyard/compare/2.0.0...HEAD
[2.0.0]: https://github.com/Azure/batch-shipyard/compare/2.0.0rc3...2.0.0
[2.0.0rc3]: https://github.com/Azure/batch-shipyard/compare/2.0.0rc2...2.0.0rc3
[2.0.0rc2]: https://github.com/Azure/batch-shipyard/compare/2.0.0rc1...2.0.0rc2
[2.0.0rc1]: https://github.com/Azure/batch-shipyard/compare/1.1.0...2.0.0rc1
Expand Down
17 changes: 12 additions & 5 deletions convoy/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1428,18 +1428,25 @@ def list_tasks(batch_client, config, jobid=None):
task.execution_info.
scheduling_error.message)
else:
ei = (' start_time={} end_time={} '
if (task.execution_info.end_time is not None and
task.execution_info.start_time is not None):
duration = (task.execution_info.end_time -
task.execution_info.start_time)
else:
duration = 'n/a'
ei = (' start_time={} end_time={} duration={} '
'exit_code={}').format(
task.execution_info.start_time,
task.execution_info.end_time,
duration,
task.execution_info.exit_code)
else:
ei = ''
logger.info(
'job_id={} task_id={} [display_name={} state={} '
'pool_id={} node_id={}{}]'.format(
job_id, task.id, task.display_name, task.state,
task.node_info.pool_id, task.node_info.node_id, ei))
'job_id={} task_id={} [state={} pool_id={} '
'node_id={}{}]'.format(
job_id, task.id, task.state, task.node_info.pool_id,
task.node_info.node_id, ei))
i += 1
except batchmodels.batch_error.BatchErrorException as ex:
if 'The specified job does not exist' in ex.message.value:
Expand Down
2 changes: 1 addition & 1 deletion convoy/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.

__version__ = '2.0.0rc3'
__version__ = '2.0.0'
2 changes: 1 addition & 1 deletion docs/01-batch-shipyard-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To install required software:
cd batch-shipyard
# Install for Python2
./install.sh
# Or if you prefer Python3
# Or to install for Python3 (recommended)
./install.sh -3
```
Please ensure that you are not invoking the install script as root. `sudo`
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ blobxfer==0.12.0
click==6.6
future==0.16.0
pathlib2==2.1.0; python_version < '3.5'
scandir==1.3; python_version < '3.5'
scandir==1.4; python_version < '3.5'

0 comments on commit 8577232

Please sign in to comment.