Skip to content

Add parameter --target-env to installCatalog action#407

Merged
devkeydet merged 4 commits into
mainfrom
devkeydet/install-catalog-target-env
Jun 17, 2024
Merged

Add parameter --target-env to installCatalog action#407
devkeydet merged 4 commits into
mainfrom
devkeydet/install-catalog-target-env

Conversation

@devkeydet

Copy link
Copy Markdown
Contributor

pac 1.32.2 now has --target-env to deploy from catalog to target. This addresses a bug in pac. --target-url is deprecated. Quick fix is to do what's in this PR. But, should we create a new parameter in InstallCatalogParameters?

@devkeydet devkeydet marked this pull request as draft May 10, 2024 12:16
@devkeydet

Copy link
Copy Markdown
Contributor Author

We're using public nuget feed now, so set to draft since we need to wait until latest release of pac is on the public feed.

@swapnilbhalgat

Copy link
Copy Markdown
Contributor

I think we should not remove --target-url for now, just add --target-env parameter. Once we have conveyed to our users that --target-url is deprecated and will be removed, we can remove it. Removing --target-url might break existing workflows.
We can pass both values --target-url and --target-env using pushInput() and let CLI handle it.

Yes, we need to add new parameter targetEnvironment in InstallCatalogParameters

@devkeydet

Copy link
Copy Markdown
Contributor Author

@swapnilbhalgat I incorporated the PR feedback. Thanks!

@devkeydet devkeydet requested a review from swapnilbhalgat June 7, 2024 13:31
@devkeydet devkeydet marked this pull request as ready for review June 7, 2024 13:31
@devkeydet devkeydet changed the title Update parameter --target-url to --target-env in installCatalog action Add parameter --target-env to installCatalog action Jun 8, 2024
@devkeydet devkeydet requested a review from petrochuk June 17, 2024 12:51
@devkeydet devkeydet merged commit 53fc154 into main Jun 17, 2024
@devkeydet devkeydet deleted the devkeydet/install-catalog-target-env branch June 17, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants