Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to local via remote execution #12

Open
seawerst opened this issue Nov 14, 2023 · 3 comments
Open

Publish to local via remote execution #12

seawerst opened this issue Nov 14, 2023 · 3 comments

Comments

@seawerst
Copy link

Since you add the remote host in publishdockerTask/v3, even if the docker is local (empty or .) you use the Invoke-Command with a New-PSSession. This command will fail if the VM/server is not configure perfectly to allow remoting. And in a lock down environment, it's not the case.

Does using the V2.22, even if it's still using the old commands (ie Get-NavContainerAppInfo) will work with a full dependency app graph? This version is a lot different then the 9.4.0

@kine
Copy link
Owner

kine commented Mar 5, 2024

I will check the current version of the task and I will try to remove the usage of Invoke-command where it is not necessary (when the computer is local).

As you wrote, the v2 and v9 is too different and I cannot say how it will work now.

What I understand from your text is, that you have high security environment where remoting is not allowed on VM level (only remoting into the containers).

@seawerst
Copy link
Author

seawerst commented Mar 5, 2024

Thanks, let me know if you would like me to test your branch.

@kine
Copy link
Owner

kine commented Mar 7, 2024

I have published new version of the extension with version 10 of the task. I have added one parameter for Unified nuget naming (not interesting for you yet), but I tried to remove the New-PSSession and usage of the pssession if it is local agent.

You will need to use it together with NVRAppDevOps module v2.8.0 which I have just published.

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

No branches or pull requests

2 participants