Ubuntu 22.04 and Python 3.10 preparation Change-Id: I57a4ee39c101bdab610a6964de58eaa2653d37a3 Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com> Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Reformat files according to new black validation Change-Id: Ifebf4e97ae22b0131d0e84c58a18468b454ee6a7 Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
Unit tests improvements - From now on, black must pass. Jenkins will give a -1 if it doesn't - Ignore E203 because it is not pep8 compliant, and conflicts with black https://github.com/psf/black/issues/315#issuecomment-395457972 - Black fixes and minor fix in unit test - Fix devops-stages/stage-test.sh: jenkins was not giving a -1 when tox was failing Change-Id: Ic7318dcb6d4006a271607cd064a1f36d0936b7b9 Signed-off-by: David Garcia <david.garcia@canonical.com>
Fix Bug 1575 This fixes the race condtion when k8s cluster responding too fast Change-Id: I3f9e18c7bba942689e4b056ead60349fdb72c795 Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
Reformat N2VC to standardized format Change-Id: I7bfc2236cd5f059dc1b659e9fb746fef619124b8 Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix flake8 minor issues Change-Id: I1348e9807b8071a1cbf50b97144069a5b6709def Signed-off-by: David Garcia <david.garcia@canonical.com>
Enable lint, flake8 and unit tests Cleans up non pep compliant code. Adds a simple unit test. Formats according to black. Tox automatically runs lint, flake8 and unit test suite with coverage. To run each individually, execute: tox -e pylint tox -e black tox -e flake8 tox -e cover Note that these are all run for each patch via Jenkins. The full tox suite should be run locally before any commit to ensure it will not fail in Jenkins. Change-Id: I2f87abe3d5086d6d65ac33a27780c498fc7b1cd3 Signed-off-by: beierlm <mark.beierl@canonical.com>
Fix native charms for feature 7928 Change-Id: Iba37a42152b2674c80bd887b2761827ffa19e4a8 Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>
K8s generic connector Change-Id: I7c7879d556783785f5510dcf0e63d8f6dda43d2c Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>