Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Release v0.36.0#257

Merged
SimonBarendse merged 39 commits intomasterfrom
release/v0.36.0
Mar 2, 2020
Merged

Release v0.36.0#257
SimonBarendse merged 39 commits intomasterfrom
release/v0.36.0

Conversation

@SimonBarendse
Copy link
Copy Markdown
Member

@SimonBarendse SimonBarendse commented Mar 2, 2020

Added

  • [BETA] env ls and env read subcommands to work with secret environment variables in the same way that the run command does.

The commands are hidden because they are still in beta. Future versions may break.

SimonBarendse and others added 30 commits February 21, 2020 12:57
The old name_template is deprecated in favor of new file_name_template
field.

See: https://goreleaser.com/deprecations/#nfpms-name-template
Allowed injecting readFile and os.Stat functions into run command.
Split up run command into sourceEnvironment and the actual execution
of the subcommand.
so that they return structs to delay fetching of secrets.
This way the shadowed secret references will not be evaluated.

Also updated templates to allow for checking whether or not they contain secrets.
This will be used in the trace command, for example.
It contains the logic of sourcing secrets to the command executed by the run commmand
This also fixes the order of precedence, which was briefly changed
some commits back.
@SimonBarendse SimonBarendse requested a review from florisvdg March 2, 2020 13:43
Copy link
Copy Markdown
Member

@florisvdg florisvdg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did a little edit on the release notes.

@SimonBarendse SimonBarendse merged commit 2391c1e into master Mar 2, 2020
@SimonBarendse SimonBarendse deleted the release/v0.36.0 branch March 2, 2020 13:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants