-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
Example NixOps State Backends #1264
Example NixOps State Backends #1264
Commits on Jul 7, 2021
-
This support was half-baked and needs rethinking.
Configuration menu - View commit details
-
Copy full SHA for 61d39d7 - Browse repository at this point
Copy the full SHA 61d39d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a8289b - Browse repository at this point
Copy the full SHA 6a8289bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9426b0 - Browse repository at this point
Copy the full SHA e9426b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2292ee3 - Browse repository at this point
Copy the full SHA 2292ee3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29388ae - Browse repository at this point
Copy the full SHA 29388aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba716a4 - Browse repository at this point
Copy the full SHA ba716a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ee765d - Browse repository at this point
Copy the full SHA 3ee765dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5515e92 - Browse repository at this point
Copy the full SHA 5515e92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 952beb7 - Browse repository at this point
Copy the full SHA 952beb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81717db - Browse repository at this point
Copy the full SHA 81717dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb64023 - Browse repository at this point
Copy the full SHA bb64023View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41f658a - Browse repository at this point
Copy the full SHA 41f658aView commit details -
eval network: use ImmutableValidatedObject for good errors
Parse the result of evaluating the network's `network` argument as a typed mapping. Extend this validation to the Storage params.
Configuration menu - View commit details
-
Copy full SHA for 8a59a58 - Browse repository at this point
Copy the full SHA 8a59a58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97c4a41 - Browse repository at this point
Copy the full SHA 97c4a41View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3c0fa5 - Browse repository at this point
Copy the full SHA b3c0fa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfa6ffc - Browse repository at this point
Copy the full SHA bfa6ffcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2335f2 - Browse repository at this point
Copy the full SHA c2335f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a59a3e - Browse repository at this point
Copy the full SHA 9a59a3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f45fcf9 - Browse repository at this point
Copy the full SHA f45fcf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b45714 - Browse repository at this point
Copy the full SHA 1b45714View commit details -
storage backends: strengthen typecheck, making T invariant
Before, a single storage backend could use a different T at every call site. Not anymore, the T's must be aligned. Co-authored-by: Adam Höse <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ff99b5 - Browse repository at this point
Copy the full SHA 2ff99b5View commit details -
storage backends: simplify options() type: just handle kwargs, return…
… options type The return type of Callable[..., T] and Type[T] were mixed up and confusing mypy. Co-authored-by: Adam Höse <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e8aa36 - Browse repository at this point
Copy the full SHA 1e8aa36View commit details -
Configuration menu - View commit details
-
Copy full SHA for d85ba2c - Browse repository at this point
Copy the full SHA d85ba2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76ff3a3 - Browse repository at this point
Copy the full SHA 76ff3a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7202a10 - Browse repository at this point
Copy the full SHA 7202a10View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad87a56 - Browse repository at this point
Copy the full SHA ad87a56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98ea4cc - Browse repository at this point
Copy the full SHA 98ea4ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 310bada - Browse repository at this point
Copy the full SHA 310badaView commit details -
ImmutableValidatedObject: support validating Unions with nested Immut…
…ableValidatedObject Co-authored-by: Adam Höse <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 524a2d5 - Browse repository at this point
Copy the full SHA 524a2d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1304da4 - Browse repository at this point
Copy the full SHA 1304da4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3f6d4d - Browse repository at this point
Copy the full SHA f3f6d4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f1d687 - Browse repository at this point
Copy the full SHA 0f1d687View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2e25f1 - Browse repository at this point
Copy the full SHA a2e25f1View commit details -
Split argument parser into it's own file
Just to make things more manageable
Configuration menu - View commit details
-
Copy full SHA for 87b64d8 - Browse repository at this point
Copy the full SHA 87b64d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a389d39 - Browse repository at this point
Copy the full SHA a389d39View commit details -
Memory storage: Run modify_deployment() when creating internal state
Otherwise `nixops info` & friends will think the deployment is not created and no machines show up.
Configuration menu - View commit details
-
Copy full SHA for e385752 - Browse repository at this point
Copy the full SHA e385752View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2543248 - Browse repository at this point
Copy the full SHA 2543248View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7d6219 - Browse repository at this point
Copy the full SHA f7d6219View commit details -
Remove the positional nix_exprs argument from modify commands
This is is conflicting with `--network` that _needs_ to be available for all subcommands.
Configuration menu - View commit details
-
Copy full SHA for 0a68459 - Browse repository at this point
Copy the full SHA 0a68459View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2120542 - Browse repository at this point
Copy the full SHA 2120542View commit details -
locks/storage plugins: access via Manager, eliminate global vars
Author: Adam Höse
Configuration menu - View commit details
-
Copy full SHA for bc25d83 - Browse repository at this point
Copy the full SHA bc25d83View commit details -
Add command to unlock the deployment lock
In case a lock is acquired but nevere released.
Configuration menu - View commit details
-
Copy full SHA for d754007 - Browse repository at this point
Copy the full SHA d754007View commit details -
Use git to find project root in development shell
`builtins.toString ./.` resolves to a store path when using flakes. We want the mutable paths as environment variables, not the store paths.
Configuration menu - View commit details
-
Copy full SHA for 08d9d81 - Browse repository at this point
Copy the full SHA 08d9d81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 737e8bd - Browse repository at this point
Copy the full SHA 737e8bdView commit details -
This will simplify eval and was of questionable value.
Configuration menu - View commit details
-
Copy full SHA for e64611e - Browse repository at this point
Copy the full SHA e64611eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ae8d5d - Browse repository at this point
Copy the full SHA 4ae8d5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cd5184 - Browse repository at this point
Copy the full SHA 7cd5184View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3df656c - Browse repository at this point
Copy the full SHA 3df656cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80bb68f - Browse repository at this point
Copy the full SHA 80bb68fView commit details -
But only in the nix expression evaluation, not the python code.
Configuration menu - View commit details
-
Copy full SHA for db696e2 - Browse repository at this point
Copy the full SHA db696e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f54070 - Browse repository at this point
Copy the full SHA 5f54070View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26ad1c6 - Browse repository at this point
Copy the full SHA 26ad1c6View commit details -
Use evaluation module for machine evaluation
And offload realisation to nix-store -r
Configuration menu - View commit details
-
Copy full SHA for 9451aae - Browse repository at this point
Copy the full SHA 9451aaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92f5fd5 - Browse repository at this point
Copy the full SHA 92f5fd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5379e0c - Browse repository at this point
Copy the full SHA 5379e0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33ada85 - Browse repository at this point
Copy the full SHA 33ada85View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccfa30f - Browse repository at this point
Copy the full SHA ccfa30fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80049f1 - Browse repository at this point
Copy the full SHA 80049f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4873c3 - Browse repository at this point
Copy the full SHA e4873c3View commit details -
Otherwise nixops core plugins can't be found from other plugin repos.
Configuration menu - View commit details
-
Copy full SHA for 2cad90d - Browse repository at this point
Copy the full SHA 2cad90dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47cf418 - Browse repository at this point
Copy the full SHA 47cf418View commit details -
Configuration menu - View commit details
-
Copy full SHA for b05052e - Browse repository at this point
Copy the full SHA b05052eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b879324 - Browse repository at this point
Copy the full SHA b879324View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8256550 - Browse repository at this point
Copy the full SHA 8256550View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9687d74 - Browse repository at this point
Copy the full SHA 9687d74View commit details -
Configuration menu - View commit details
-
Copy full SHA for a92ebfe - Browse repository at this point
Copy the full SHA a92ebfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3bad1c - Browse repository at this point
Copy the full SHA b3bad1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ce24cf - Browse repository at this point
Copy the full SHA 7ce24cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e48422a - Browse repository at this point
Copy the full SHA e48422aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9feab77 - Browse repository at this point
Copy the full SHA 9feab77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bcdee4 - Browse repository at this point
Copy the full SHA 6bcdee4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c83259 - Browse repository at this point
Copy the full SHA 0c83259View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f542a0 - Browse repository at this point
Copy the full SHA 5f542a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d81a21 - Browse repository at this point
Copy the full SHA 7d81a21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ea1728 - Browse repository at this point
Copy the full SHA 4ea1728View commit details -
Rename
network.nix
tonixops.nix
`nixops.nix` is a much more obvious name and really indicates what tooling is supposed to be used to build/deploy by just eyeballing a directory layout. We also don't want to occupy generic words possibly already used in some deployments.
Configuration menu - View commit details
-
Copy full SHA for bc31429 - Browse repository at this point
Copy the full SHA bc31429View commit details -
Configuration menu - View commit details
-
Copy full SHA for d87cf56 - Browse repository at this point
Copy the full SHA d87cf56View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2b79b4 - Browse repository at this point
Copy the full SHA b2b79b4View commit details -
Fix output of migration error message to not include internal paramet…
…ers such as is_flake
Configuration menu - View commit details
-
Copy full SHA for e14c835 - Browse repository at this point
Copy the full SHA e14c835View commit details -
Remove TODO from migration error message output
This will soon contain a reference to readthedocs.
Configuration menu - View commit details
-
Copy full SHA for 3f7d77a - Browse repository at this point
Copy the full SHA 3f7d77aView commit details