Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to linuxnew64 packages. #14

Merged
merged 1 commit into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 4.0.0 (2024-01-01)

- INCOMPATIBLE: Switch default upstream binaries to linuxnew64. They don't work on CentOS 7 and other
old systems. One can still adjust `borgbackup_upstream_url`/`borgbackup_upstream_checksum` accordingly.
- Updated default borg version to 1.2.7.

## 3.0.6 (2024-01-01)

- Disable SSH passwort authentication to prevent hanging if the ssh keyfile is not found.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The role allows installation via the OS package manager (default) as well as dir
```
borgbackup_install_method: system|upstream
```
If upstream is chosen, one needs to specify version and checksum (defaults to version `1.1.15`):
If upstream is chosen, one needs to specify version and checksum (defaults to version `1.2.7`):
```
borgbackup_upstream_version: 1.1.15
borgbackup_upstream_checksum: sha256:7848d1788b5d7f2ae99a599a87992cab4f01584fe5eb393819fceaecf076433b
Expand Down
6 changes: 3 additions & 3 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ borgbackup_install_method: system
# system package to install, there should be no need to change this
borgbackup_system_package_name: borgbackup

borgbackup_upstream_version: 1.1.15
borgbackup_upstream_checksum: sha256:9e87a2b19a6d1034abedf3265bbf5f063238246fc56e6087b6ec4a21f29b4239
borgbackup_upstream_url: https://github.com/borgbackup/borg/releases/download/{{ borgbackup_upstream_version }}/borg-linux64
borgbackup_upstream_version: 1.2.7
borgbackup_upstream_checksum: sha256:d8d3313ebaf48ba135001b7f230b494259f112e56adf0d5f952af999742e1190
borgbackup_upstream_url: https://github.com/borgbackup/borg/releases/download/{{ borgbackup_upstream_version }}/borg-linuxnew64

borgbackup_user: borg
borgbackup_home: "{% if borgbackup_user == 'root' %}/root/borg{% else %}/home/{{ borgbackup_user }}{% endif %}"
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/tests/test_backup_upstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def test_upstream_borg_installed(host):
cmd = host.run("/usr/local/bin/borg --version")
# Show the error output if it is not possible to start borg
assert cmd.stderr.strip() == ""
assert cmd.stdout.strip() == "borg 1.1.15"
assert cmd.stdout.strip() == "borg 1.2.7"


def test_backup(host):
Expand Down
Loading