Skip to content

Commit

Permalink
Merge pull request #41 from ikifar2012/dev
Browse files Browse the repository at this point in the history
2022.5.0
  • Loading branch information
ikifar2012 authored May 13, 2022
2 parents ebe5a5d + 5f89bd0 commit 9022c69
Show file tree
Hide file tree
Showing 12 changed files with 428 additions and 350 deletions.
54 changes: 30 additions & 24 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
{
"name": "Example devcontainer for add-on repositories",
"image": "ghcr.io/home-assistant/devcontainer:addons",
"appPort": ["7123:8123", "7357:4357"],
"postStartCommand": "bash devcontainer_bootstrap",
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
"containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
},
"extensions": ["timonwong.shellcheck", "esbenp.prettier-vscode"],
"mounts": [ "type=volume,target=/var/lib/docker" ],
"settings": {
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
}
},
"terminal.integrated.defaultProfile.linux": "zsh",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true
}
}
{
"name": "Remote Backup Addon",
"image": "ghcr.io/home-assistant/devcontainer:addons",
"appPort": ["7123:8123", "7357:4357"],
"postStartCommand": "bash devcontainer_bootstrap",
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
"containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
},
"extensions": [
"timonwong.shellcheck",
"esbenp.prettier-vscode",
"GitHub.copilot",
"GitHub.vscode-pull-request-github",
"bierner.markdown-preview-github-styles"
],
"mounts": [ "type=volume,target=/var/lib/docker" ],
"settings": {
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
}
},
"terminal.integrated.defaultProfile.linux": "zsh",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true
}
}
32 changes: 16 additions & 16 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
60 changes: 31 additions & 29 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
name: "Publish"

on:
workflow_dispatch:
branches:
- master
release:
types: [published]

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Publish
uses: home-assistant/builder@master
with:
args: |
--all \
--target remote-backup \
--docker-user ${{ secrets.DOCKERHUB_USERNAME }} \
--docker-password ${{ secrets.DOCKERHUB_TOKEN }}
name: "Publish"

on:
workflow_dispatch:
branches:
- master
release:
types: [published]

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Publish
uses: home-assistant/builder@master
secrets:
- CAS_API_KEY: ${{ secrets.CAS_API_KEY }}
with:
args: |
--all \
--target remote-backup \
--docker-user ${{ secrets.DOCKERHUB_USERNAME }} \
--docker-password ${{ secrets.DOCKERHUB_TOKEN }}
36 changes: 18 additions & 18 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: "Test"

on: [push, pull_request]

jobs:
build:
name: Test build
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Test build
uses: home-assistant/builder@master
with:
args: |
--test \
--all \
--target remote-backup \
name: "Test"

on: [push, pull_request]

jobs:
build:
name: Test build
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Test build
uses: home-assistant/builder@master
with:
args: |
--test \
--all \
--target remote-backup \
--docker-hub ikifar
38 changes: 19 additions & 19 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Start Home Assistant",
"type": "shell",
"command": "supervisor_run",
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
]
}
{
"version": "2.0.0",
"tasks": [
{
"label": "Start Home Assistant",
"type": "shell",
"command": "supervisor_run",
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
]
}

36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# Remote Backup
This add-on is a fork of the work of [carstenschroeder] which was originally created by [overkill32]
# Installation
This add-on can be added via my [Home Assistant Add-on repository](https://github.com/ikifar2012/ha-addons):

[![Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.](https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg)](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fikifar2012%2Fha-addons)

# [Documentation](https://addons.mathesonsteplock.ca/docs/addons/remote-backup/basic-config)

# Support Me
[![Buy me a coffee][buymeacoffee-logo]][buymeacoffee]

[buymeacoffee-logo]: https://cdn.buymeacoffee.com/buttons/default-black.png
[buymeacoffee]: https://www.buymeacoffee.com/mathesonstep
[overkill32]: https://github.com/overkill32/hassio-remote-backup
[carstenschroeder]: https://github.com/carstenschroeder/hassio-addons
[here]: https://www.home-assistant.io/hassio/installing_third_party_addons/
# Remote Backup

This add-on is a fork of the work of [carstenschroeder] which was originally created by [overkill32]

# Installation

This add-on can be added via my [Home Assistant Add-on repository](https://github.com/ikifar2012/ha-addons):

[![Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.](https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg)](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fikifar2012%2Fha-addons)

# [Documentation](https://addons.mathesonsteplock.ca/docs/addons/remote-backup/basic-config)

# Support Me

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/mathesonsteplock)

[overkill32]: https://github.com/overkill32/hassio-remote-backup
[carstenschroeder]: https://github.com/carstenschroeder/hassio-addons
[here]: https://www.home-assistant.io/hassio/installing_third_party_addons/
Loading

0 comments on commit 9022c69

Please sign in to comment.