-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop populating resourceName in git-init image
The git-init image writes a git commit SHA and URL to a pod's termination message. Prior to this commit, if these values came from the output of a PipelineResource, it would also write the name of that PipelineResource to the pod's termination message. Since PipelineResources have been removed, the environment variable TEKTON_RESOURCE_NAME is never populated, and the PipelineResource name is never written to termination messages. This commit removes the check for this environment variable and stops writing this value to the termination message. The termination message will still be parseable by other code. Removing this functionality will make it easier to migrate to v1, by allowing us to remove fields not relevant to our v1 API. Refactoring/renaming PipelineResourceResult will happen in a separate commit.
- Loading branch information
Showing
4 changed files
with
19 additions
and
15 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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