-
Notifications
You must be signed in to change notification settings - Fork 15
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
patches/kernelci-pipeline: use dotted key syntax in TOML settings #92
Conversation
Update patch used to add TOML settings file for staging to use dotted key syntax. Signed-off-by: Jeny Sadadia <[email protected]>
I think there's a file outside of git now with credentials on the server, worth double-checking. If that's the case then we should just remove this one and look into other ways of managing the settings file on staging. |
Can you elaborate on what kind of credentials? I tried to check on staging server but couldn't find anything like that. |
The |
OK I think we can close this PR and just remove the patch that adds this file instead as we can't keep it the actual one under source control with "secrets" such as LAVA API tokens. We can't really keep it here with git-crypt either as it would make it impossible for users without a GPG key to update the patch series. We could just add the TOML file with git-crypt in kernelci-pipeline though rather than a patch here. I think the best approach is still to manage it separately e.g. with Ansible. It's more of a sysadmin issue at this point (Cc @nuclearcat @VinceHillier). |
FYI I've updated the |
OK. Thanks. |
Also this reminds me we should probably be getting the API token from the TOML file rather than the environment with |
I've updated |
Yes, eventually we can move all the env variables to TOML. |
Oh, actually I think we should remove the |
As per the discussion above, we should remove |
Update patch used to add TOML settings file for staging to use dotted key syntax.