Skip to content

Commit

Permalink
Merge branch 'release-v0.3.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
fedejaure committed Feb 2, 2022
2 parents c79f227 + 304238a commit 70e606b
Show file tree
Hide file tree
Showing 27 changed files with 674 additions and 457 deletions.
6 changes: 4 additions & 2 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
exclude_paths:
- .github/
- roles/
- .roles/
- .collections/
- .cache/
- ../../../.cache/ansible-lint/
- ~/.cache/ansible-lint/
- ~/.cache/ansible-compat/
skip_list:
- '106'
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[bumpversion]
commit = True
tag = False
current_version = 0.2.1
current_version = 0.3.0

[bumpversion:file(title):CHANGELOG.md]
search = {#}{#} [Unreleased]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2.4.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit-autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
name: autoupdate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0
with:
ref: develop

- name: Set up Python 3.7
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v2.3.1
with:
python-version: 3.7

Expand All @@ -28,7 +28,7 @@ jobs:
- name: Run pre-commit
run: pre-commit run --all-files

- uses: peter-evans/create-pull-request@v3.10.0
- uses: peter-evans/create-pull-request@v3.12.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: chore-update-pre-commit-hooks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Create Github Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0

- name: Get version from tag
id: tag_name
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0

- name: Set up Python 3.9
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v2.3.1
with:
python-version: 3.9

Expand All @@ -33,13 +33,14 @@ jobs:
matrix:
distro:
- debian10
- debian11
fail-fast: false

steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.4.0

- name: Set up Python 3.9
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v2.3.1
with:
python-version: 3.9

Expand All @@ -53,10 +54,10 @@ jobs:

- name: Install playbooks requirements
shell: bash
run: pipenv run ansible-galaxy install -r requirements.yml
run: pipenv run inv galaxy-install

- name: Run Molecule tests.
run: pipenv run molecule test
- name: Run Molecule tests
run: pipenv run inv tests
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,5 @@ dmypy.json
# Ansible
/config.yml
inventory
roles/*.*
.roles/**
.collections/**
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.0.0
rev: v4.1.0
hooks:
- id: check-toml
- id: check-yaml
Expand All @@ -10,11 +10,11 @@ repos:
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.1
rev: v1.26.3
hooks:
- id: yamllint
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v5.0.12
rev: v5.3.2
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
28 changes: 25 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,44 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.0] - 2022-02-02
### Changed
- Upgrade Otacon mdns-beacon version to `0.6.1`.
- Otacon `tecnativa/docker-socket-proxy` to `0.1.1`.
- Otacon `netdata/netdata` to `v1.33.0`.
- Otacon `pihole/pihole` to `2022.01.1`.
- Otacon `traefik/whoami` to `v1.7.1`.
- Otacon `nginxproxy/nginx-proxy` to `0.10.0`.
- Tasks `docker-compose.yml` by `services.yml`.
- Restart services only if they are modified.

### Added
- Invoke task playbook `skip-tag` option.
- Invoke task playbook `list-tags` option.
- Debian 11 "bullseye" support.
- Raspbian swap config.

### Fixed
- Set wifi country.
- Use collections.

## [0.2.1] - 2021-07-14
### Changed
- updated deps.
- Updated deps.

## [0.2.0] - 2021-04-11
### Changed
- Refactor tasks modules.

### Added
- molecule tests.
- Molecule tests.

## [0.1.0] - 2021-03-29
### Added
- First `otacon` release.

[Unreleased]: https://github.com/fedejaure/raspberry-pi-playbook/compare/v0.2.1...develop
[Unreleased]: https://github.com/fedejaure/raspberry-pi-playbook/compare/v0.3.0...develop
[0.3.0]: https://github.com/fedejaure/raspberry-pi-playbook/compare/v0.2.1...v0.3.0
[0.2.1]: https://github.com/fedejaure/raspberry-pi-playbook/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/fedejaure/raspberry-pi-playbook/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/fedejaure/raspberry-pi-playbook/compare/releases/tag/v0.1.0
10 changes: 5 additions & 5 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
pre-commit = "~=2.13.0"
pre-commit = "~=2.17.0"
invoke = "~=1.6.0"
bump2version = "~=1.0.1"
yamllint = "~=1.26.1"
ansible-lint = "~=5.0.12"
molecule = {extras = ["docker", "lint"],version = "~=3.3.4"}
yamllint = "~=1.26.3"
ansible-lint = "~=5.3.2"
molecule = {extras = ["docker", "lint"],version = "~=3.5.2"}

[packages]
ansible = "~=4.2.0"
ansible = "~=5.3.0"

[requires]
python_version = "3.9"
Loading

0 comments on commit 70e606b

Please sign in to comment.