~troyanov/maas:zerologlint

Last commit made on 2023-06-02
Get this branch:
git clone -b zerologlint https://git.launchpad.net/~troyanov/maas
Only Anton Troyanov can upload to this branch. If you are Anton Troyanov please log in for upload directions.

Branch merges

Branch information

Name:
zerologlint
Repository:
lp:~troyanov/maas

Recent commits

a414805... by Anton Troyanov

ci(go): update golangci linter, enable zerologlint

e1091bf... by Anton Troyanov

chore: add build tags to machine-resources

Because `shared.Uname()` is available only on Linux
https://github.com/lxc/lxd/blob/master/shared/util_linux.go

60a5e0c... by Alexsander de Souza

normalize request path used as prometheus label

using the original requested path effectively tracks metrics per database object, not per endpoint as intended. Additionally it leads to huge number of histograms in the prometheus database, exceeding the 2GB limit after some time.

fixes LP#1996204

83b123e... by Tiago Pasqualini da Silva

Fix incorrect hostname from interface name

    MAAS currently creates a DNS record for each interface in a host
    by simply using its interface name. Whenever an interface has the
    '_' character, the code uses it anyway, which is currently breaking
    bind as this character is not allowed on domain names.
    This patch fixes that by verifying it and replacing the incorrect
    character.

    LP: #1807725

b4df776... by Peter Makowski

Update maas-ui to f4701a1d2
chore: remove enzyme MAASENG-1801 (#4954)

*Begone, foul Enzyme, lord of poor testing practices! Leave the developers in peace!*

cea4046... by Nick De Villiers

Update maas-ui to 5a1a4882a
test: Migrate 4 small MachineList tests to RTL MAASENG-1734 (#4949)

e37ab3a... by Jones Ogolo <email address hidden>

Update maas-ui to 8c6035b85
1746 migrate kvm header forms rtl (#4944)

Co-authored-by: Nick De Villiers <email address hidden>

519374b... by Nick De Villiers

Update maas-ui to 86904d920
test: Migrate 5 MachineHeaderForms tests to RTL MAASENG-1735 (#4950)

3679503... by Nick De Villiers

Update maas-ui to d2f4f55d0
test: Migrate 5 KVM components to RTL MAASENG-1739 (#4945)

Migrated the following files to RTL:
```
8.0K ./src/app/kvm/components/KVMConfigurationCard/KVMConfigurationCardFields/KVMConfigurationCardFields.test.tsx
8.0K ./src/app/kvm/components/KVMStorageCards/KVMStorageCards.test.tsx
8.0K ./src/app/kvm/components/LXDHostVMs/LXDHostVMs.test.tsx
8.0K ./src/app/kvm/components/LXDHostVMs/NumaResources/NumaResourcesCard/NumaResourcesCard.test.tsx
8.0K ./src/app/kvm/components/RAMColumn/RAMColumn.test.tsx
```

9b89035... by Nick De Villiers

Update maas-ui to 07441764c
test: Migrate 7 KVMHeaderForms to RTL MAASENG-1731 (#4947)

Migrated the following tests to RTL:
```
8.0K ./src/app/kvm/components/KVMHeaderForms/AddLxd/AddLxd.test.tsx
8.0K ./src/app/kvm/components/KVMHeaderForms/AddLxd/SelectProjectForm/SelectProjectForm.test.tsx
8.0K ./src/app/kvm/components/KVMHeaderForms/AddLxd/SelectProjectForm/SelectProjectFormFields/SelectProjectFormFields.test.tsx
8.0K ./src/app/kvm/components/KVMHeaderForms/AddVirsh/AddVirsh.test.tsx
8.0K ./src/app/kvm/components/KVMHeaderForms/ComposeForm/InterfacesTable/SubnetSelect/SubnetSelect.test.tsx
8.0K ./src/app/kvm/components/KVMHeaderForms/ComposeForm/StorageTable/PoolSelect/PoolSelect.test.tsx
8.0K ./src/app/kvm/components/KVMHeaderForms/KVMHeaderForms.test.tsx
```