forked from janus-idp/backstage-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): improve local development experience (janus-idp#2299)
* fix(cli): improve example configuration display This change changes the CLI package-dynamic-plugins command to take advantage of some dynamic plugin projects that have followed the convention of maintaining a app-config.janus-idp.yaml in the root of the plugin source directory. When this file is present, it will be read in as the command processes dynamic plugins in the monorepo and then included in the example dynamic-plugins.yaml configuration printed out when the command successfully completes. This change also adjusts the control flow where this is printed out to ensure it's after successful completion of the container image. Signed-off-by: Stan Lewis <gashcrumb@gmail.com> * feat(cli): add flag to specify output directory This change adds an --export-to flag to the package-dynamic-plugins CLI command. This flag will skip the container build step, and instead copy the staged dynamic plugin assets to the specified output directory. The addition of this flag makes the --tag argument optional, and only required if --export-to is not specified. Signed-off-by: Stan Lewis <gashcrumb@gmail.com> --------- Signed-off-by: Stan Lewis <gashcrumb@gmail.com>
- Loading branch information
Showing
6 changed files
with
1,477 additions
and
1,293 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
"@janus-idp/cli": patch | ||
--- | ||
|
||
fix(cli): Improve example configuration display | ||
|
||
This change changes the CLI package-dynamic-plugins command to take | ||
advantage of some dynamic plugin projects that have followed the | ||
convention of maintaining a app-config.janus-idp.yaml in the root of the | ||
plugin source directory. When this file is present, it will be read in | ||
as the command processes dynamic plugins in the monorepo and then | ||
included in the example dynamic-plugins.yaml configuration printed out | ||
when the command successfully completes. This change also adjusts the | ||
control flow where this is printed out to ensure it's after successful | ||
completion of the container image. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@janus-idp/cli": minor | ||
--- | ||
|
||
feat(cli) add flag to specify output directory | ||
|
||
This change adds an --export-to flag to the package-dynamic-plugins CLI command. This flag will skip the container build step, and instead copy the staged dynamic plugin assets to the specified output directory. The addition of this flag makes the --tag argument optional, and only required if --export-to is not specified. |
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
Oops, something went wrong.