forked from openshift-helm-charts/development
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Encode chart_entry to base64 (openshift-helm-charts#297)
This commit gets rid of the json.loads() call as the argparse type for chart_entry in update-index. Instead we now encode the index entry to base64 in chart-repo-manager before adding it to the GITHUB_OUTPUT and decode it in update-index back to a dict. This allows the use of double quotes when passing the "--chart-entry" argument to update-index, which enables the possibility for variable evaluation. This paves the way for using environment variables instead of using step's output directly. Signed-off-by: Matthias Goerens <mgoerens@redhat.com>
- Loading branch information
Showing
3 changed files
with
43 additions
and
5 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
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