Simulate enterprise proxy
Hi Feodor,
for some of our tools we would like to simulate an enterprise proxy when running tests.
Do you have any suggestions how we could accomplish that on AppVeyor?
I got it working locally like this:
https://github.com/mapbox/mason/wiki/Windows:-Simulate-an-enterpris...
Now I'm trying to achieve the same on AppVeyor:
https://github.com/BergWerkGIS/proxy-tests/blob/9d2b77a64d41a4cdfd0...
But the output stops at powershell Set-NetFirewallProfile
-DefaultOutboundAction Block
:
https://ci.appveyor.com/project/BergWerkGIS/proxy-tests/build/1.0.1...
I suppose that locking down all outbound traffic except for
privoxy.exe
is responsible for that and that you need
a special port to show progress in the console?
Right?
Regards,
willy
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 11 Dec, 2014 07:18 PM
Yeah, that's probably the reason :)
Build workers use outbound SignalR connection to AppVeyor service at https://ci.appveyor.com
I guess you should leave 443 port opened for TCP. Alternatively, you could allow all outbound traffic to build agent executable, because running tests would spawn a new process anyway.
2 Posted by Wilhelm Berg on 11 Dec, 2014 08:18 PM
I would prefer to not leave 443 open.
Just to make sure, that our tools don't make any direct connections.
What would be the path and filename of the build agent executable?
Support Staff 3 Posted by Feodor Fitsner on 11 Dec, 2014 08:22 PM
C:\Program Files\AppVeyor\BuildAgent\Appveyor.BuildAgent.Interactive.exe
- interactive runner on new environmentC:\Program Files\AppVeyor\BuildAgent\Appveyor.BuildAgent.Service.exe
- service runner on Azure4 Posted by Wilhelm Berg on 11 Dec, 2014 08:35 PM
Thanks!
Console updates even after
-DefaultOutboundAction Block
.Support Staff 5 Posted by Feodor Fitsner on 11 Dec, 2014 08:52 PM
Nice! Great it worked for you!
-Feodor
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:50 AM.