Skip to content

Commit

Permalink
Merge pull request #61 from home-assistant/dev
Browse files Browse the repository at this point in the history
Release 0.30
  • Loading branch information
pvizeli authored May 18, 2017
2 parents 81e1227 + 33e5f94 commit 898c033
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
8 changes: 4 additions & 4 deletions hassio/addons/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
from ..const import (
ATTR_NAME, ATTR_VERSION, ATTR_SLUG, ATTR_DESCRIPTON, ATTR_STARTUP,
ATTR_BOOT, ATTR_MAP, ATTR_OPTIONS, ATTR_PORTS, STARTUP_ONCE, STARTUP_AFTER,
STARTUP_BEFORE, BOOT_AUTO, BOOT_MANUAL, ATTR_SCHEMA, ATTR_IMAGE,
ATTR_URL, ATTR_MAINTAINER, ATTR_ARCH, ATTR_DEVICES, ATTR_ENVIRONMENT,
ARCH_ARMHF, ARCH_AARCH64, ARCH_AMD64, ARCH_I386)
STARTUP_BEFORE, BOOT_AUTO, BOOT_MANUAL, ATTR_SCHEMA, ATTR_IMAGE, ATTR_URL,
ATTR_MAINTAINER, ATTR_ARCH, ATTR_DEVICES, ATTR_ENVIRONMENT, ARCH_ARMHF,
ARCH_AARCH64, ARCH_AMD64, ARCH_I386)


MAP_VOLUME = r"^(config|ssl|addons|backup|share|mnt)(?::(rw|:ro))?$"
MAP_VOLUME = r"^(config|ssl|addons|backup|share)(?::(rw|:ro))?$"

V_STR = 'str'
V_INT = 'int'
Expand Down
3 changes: 1 addition & 2 deletions hassio/const.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Const file for HassIO."""
from pathlib import Path

HASSIO_VERSION = '0.29'
HASSIO_VERSION = '0.30'

URL_HASSIO_VERSION = ('https://raw.githubusercontent.com/home-assistant/'
'hassio/master/version.json')
Expand Down Expand Up @@ -93,7 +93,6 @@
MAP_ADDONS = 'addons'
MAP_BACKUP = 'backup'
MAP_SHARE = 'share'
MAP_MNT = 'mnt'

ARCH_ARMHF = 'armhf'
ARCH_AARCH64 = 'aarch64'
Expand Down
9 changes: 1 addition & 8 deletions hassio/dock/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
from . import DockerBase
from .util import dockerfile_template
from ..const import (
META_ADDON, MAP_CONFIG, MAP_SSL, MAP_ADDONS, MAP_BACKUP, MAP_SHARE,
MAP_MNT)
META_ADDON, MAP_CONFIG, MAP_SSL, MAP_ADDONS, MAP_BACKUP, MAP_SHARE)

_LOGGER = logging.getLogger(__name__)

Expand Down Expand Up @@ -69,12 +68,6 @@ def volumes(self):
'bind': '/share', 'mode': addon_mapping[MAP_SHARE]
}})

if MAP_MNT in addon_mapping:
volumes.update({
'/mnt': {
'bind': '/mnt', 'mode': addon_mapping[MAP_MNT]
}})

return volumes

def _run(self):
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hassio": "0.29",
"hassio": "0.30",
"homeassistant": "0.44.2",
"resinos": "0.7",
"resinhup": "0.1",
Expand Down

0 comments on commit 898c033

Please sign in to comment.