Skip to content
Snippets Groups Projects
Commit 4cf2afd5 authored by Radoslav Bodó's avatar Radoslav Bodó
Browse files

general: yamllint to dev env

parent 7b953a6c
No related branches found
No related tags found
No related merge requests found
Pipeline #7687 passed
all: coverage lint
install:
apt-get -y install awscli python3-boto3 python3-pydantic python3-tabulate restic yamllint
apt-get -y install awscli python3-boto3 python3-pydantic python3-tabulate restic
install-dev:
apt-get -y install python3-venv snapd
apt-get -y install python3-venv snapd yamllint
python3 -m venv venv
venv/bin/pip install -U pip
venv/bin/pip install -r requirements.lock
......@@ -19,7 +19,7 @@ lint-py:
python3 -m pylint rwm.py tests scripts
lint-yaml:
yamllint --strict .
yamllint --strict . examples/*.conf
test:
# show stderr with "-o log_cli=true"
......
# rwm aws, storage
---
s3_endpoint_url: ""
s3_access_key: ""
s3_secret_key: ""
# rwm aws, restic, backup, backup_all
---
s3_endpoint_url: ""
s3_access_key: ""
s3_secret_key: ""
......
# rwm aws, restic, backup, backup_all
---
s3_endpoint_url: ""
s3_access_key: ""
s3_secret_key: ""
......@@ -12,8 +12,8 @@ backups:
filesdirs:
- "/"
excludes:
#- "*.cache"
#- "*.log"
# - "*.cache"
# - "*.log"
- "/dev/*"
- "/home/*/.cache/*"
- "/media/*"
......
# rwm aws, restic
---
s3_endpoint_url: ""
s3_access_key: ""
s3_secret_key: ""
......
......@@ -120,7 +120,7 @@ class RWMConfig(BaseModel):
Dictionary containing named backup configurations.
retention:
Dictionary containing retention policies for Restic repository.
Dictionary containing retention policies for Restic repository.
Keys and values corresponds to a `restic forget` command `--keep*` options without leading dashes.
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment