~fandanbango/charm-juju-backup-all:omit-models

Last commit made on 2022-08-30
Get this branch:
git clone -b omit-models https://git.launchpad.net/~fandanbango/charm-juju-backup-all
Only Facundo Ciccioli can upload to this branch. If you are Facundo Ciccioli please log in for upload directions.

Branch merges

Branch information

Name:
omit-models
Repository:
lp:~fandanbango/charm-juju-backup-all

Recent commits

25a132a... by Facundo Ciccioli

Adjust tests for the omitting models' feature

In the way, fix the cronjob command, which was passing a CSV as the only
--omit-models parameter, but that was not having the intended effect on
the auto_backup.py script.

358593b... by Ksawery DziekoƄski

Allow for model omission in controller-wide backups

Related: LP#1980215

89a0899... by Facundo Ciccioli

Disable DEBUG logging

6bec7d0... by Facundo Ciccioli

Make linter happy

faccc55... by Facundo Ciccioli

Make linter work again

7a26576... by Facundo Ciccioli

Complete perform_backup test and create update_crontab's

0b07b23... by Facundo Ciccioli

Fix the asyncio issue

Applying Robert Gildein's fix to the asyncio issue, his words:

I could reproduce this only on 3.8.10 Python, on 3.10.4 is not there.

To fix this you need to use model = mock.MagicMock() instead of
model = mock.Mock(). Why? Not sure, libjuju required

   websockets<8.0,>=7.0; python_version < "3.9"

and if I install version 10.3 the issue disappears.

IMO it's ok to ignore that issue.

4e195d3... by Facundo Ciccioli

[WIP] Add unit test for JujuBackupAllHelper.perform_backup()

NOTE: Tests as they are are failing due to some asyncio issue. Skipping
the test_perform_backup test makes them pass.

9640489... by Sudeep Bhandari

Specified architecture: amd64

Reviewed-on: https://code.launchpad.net/~sudeephb/charm-juju-backup-all/+git/charm-juju-backup-all/+merge/428532
Reviewed-by: Eric Chen <email address hidden>

e9880d9... by Sudeep Bhandari

explicitly specified arch: amd64