-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement 'env' package to handle environment variables in cosi…
…gn (#2322) * Implement 'env' package to handle environment variables Signed-off-by: Marko Mudrinić <[email protected]> * Make 'cosign env' use the env package Signed-off-by: Marko Mudrinić <[email protected]> * Make packages use env instead os.Getenv/LookupEnv Signed-off-by: Marko Mudrinić <[email protected]> * Fix oci unit test Signed-off-by: Marko Mudrinić <[email protected]> * Fix E2E tests Signed-off-by: Marko Mudrinić <[email protected]> * Address review comments Signed-off-by: Marko Mudrinić <[email protected]> * Update docgen Signed-off-by: Marko Mudrinić <[email protected]> * Integrate forbidigo linter for os.Getenv/LookupEnv Signed-off-by: Marko Mudrinić <[email protected]> * Document all environment variables used by cosign Signed-off-by: Marko Mudrinić <[email protected]> * Address review comments - part 2 Signed-off-by: Marko Mudrinić <[email protected]> * Fix issue with tests conflicting with OS envs Signed-off-by: Marko Mudrinić <[email protected]> * Address review comments - part 3 Signed-off-by: Marko Mudrinić <[email protected]> * Fix gocritic lint errors Signed-off-by: Marko Mudrinić <[email protected]> Signed-off-by: Marko Mudrinić <[email protected]>
- Loading branch information
Showing
27 changed files
with
791 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.