xtruder / kubenix

Replaced by https://github.com/hall/kubenix
MIT License
300 stars 34 forks source link

chore: enhance nix-flake #27

Closed GTrunSec closed 3 years ago

GTrunSec commented 3 years ago

nix flake show output:

├───devShell
│   ├───aarch64-linux: development environment 'nix-shell'
│   ├───i686-linux: development environment 'nix-shell'
│   ├───x86_64-darwin: development environment 'nix-shell'
│   └───x86_64-linux: development environment 'nix-shell'
├───hydraJobs
│   ├───aarch64-linux
│   │   └───packages
│   ├───i686-linux
│   │   └───packages
│   ├───x86_64-darwin
│   │   └───packages
│   └───x86_64-linux
│       └───packages
├───nixosModules
│   ├───docker: NixOS module
│   ├───helm: NixOS module
│   ├───istio: NixOS module
│   ├───k8s: NixOS module
│   ├───legacy: NixOS module
│   ├───module: NixOS module
│   ├───submodule: NixOS module
│   ├───submodules: NixOS module
│   ├───test: NixOS module
│   └───testing: NixOS module
├───overlay: Nixpkgs overlay
└───packages
    ├───aarch64-linux
    ├───i686-linux
    ├───x86_64-darwin
    └───x86_64-linux
GTrunSec commented 3 years ago

testing error output:

nix-build release.nix -A test-results --show-trace

error: stack overflow (possible infinite recursion)

By the way, Does the test in a specific rev of nixpkgs?

blaggacao commented 3 years ago

Nice!

That appears to be a python black formatting error:

I might be suspecting it hits this code path:

WTF?

Ok stuff like this:

        $kube->waitUntilSucceeds("kubectl get node kube.my.xzy | grep -w Ready");

Might need to become stuff like this

kube.wait_until_succeeds("kubectl get node kube.my.xzy | grep -w Ready")

After that, there seems to be an overzealous linting going on: https://github.com/NixOS/nixpkgs/issues/121066

blaggacao commented 3 years ago

@GTrunSec #28 has one additional commit to fix the issue.