Skip to content

Commit 898c033

Browse files
authored
Merge pull request #61 from home-assistant/dev
Release 0.30
2 parents 81e1227 + 33e5f94 commit 898c033

File tree

4 files changed

+7
-15
lines changed

4 files changed

+7
-15
lines changed

hassio/addons/validate.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
from ..const import (
55
ATTR_NAME, ATTR_VERSION, ATTR_SLUG, ATTR_DESCRIPTON, ATTR_STARTUP,
66
ATTR_BOOT, ATTR_MAP, ATTR_OPTIONS, ATTR_PORTS, STARTUP_ONCE, STARTUP_AFTER,
7-
STARTUP_BEFORE, BOOT_AUTO, BOOT_MANUAL, ATTR_SCHEMA, ATTR_IMAGE,
8-
ATTR_URL, ATTR_MAINTAINER, ATTR_ARCH, ATTR_DEVICES, ATTR_ENVIRONMENT,
9-
ARCH_ARMHF, ARCH_AARCH64, ARCH_AMD64, ARCH_I386)
7+
STARTUP_BEFORE, BOOT_AUTO, BOOT_MANUAL, ATTR_SCHEMA, ATTR_IMAGE, ATTR_URL,
8+
ATTR_MAINTAINER, ATTR_ARCH, ATTR_DEVICES, ATTR_ENVIRONMENT, ARCH_ARMHF,
9+
ARCH_AARCH64, ARCH_AMD64, ARCH_I386)
1010

1111

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

1414
V_STR = 'str'
1515
V_INT = 'int'

hassio/const.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Const file for HassIO."""
22
from pathlib import Path
33

4-
HASSIO_VERSION = '0.29'
4+
HASSIO_VERSION = '0.30'
55

66
URL_HASSIO_VERSION = ('https://raw.githubusercontent.com/home-assistant/'
77
'hassio/master/version.json')
@@ -93,7 +93,6 @@
9393
MAP_ADDONS = 'addons'
9494
MAP_BACKUP = 'backup'
9595
MAP_SHARE = 'share'
96-
MAP_MNT = 'mnt'
9796

9897
ARCH_ARMHF = 'armhf'
9998
ARCH_AARCH64 = 'aarch64'

hassio/dock/addon.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
from . import DockerBase
99
from .util import dockerfile_template
1010
from ..const import (
11-
META_ADDON, MAP_CONFIG, MAP_SSL, MAP_ADDONS, MAP_BACKUP, MAP_SHARE,
12-
MAP_MNT)
11+
META_ADDON, MAP_CONFIG, MAP_SSL, MAP_ADDONS, MAP_BACKUP, MAP_SHARE)
1312

1413
_LOGGER = logging.getLogger(__name__)
1514

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

72-
if MAP_MNT in addon_mapping:
73-
volumes.update({
74-
'/mnt': {
75-
'bind': '/mnt', 'mode': addon_mapping[MAP_MNT]
76-
}})
77-
7871
return volumes
7972

8073
def _run(self):

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"hassio": "0.29",
2+
"hassio": "0.30",
33
"homeassistant": "0.44.2",
44
"resinos": "0.7",
55
"resinhup": "0.1",

0 commit comments

Comments
 (0)