You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test validates that the upload-artifact action properly honors http_proxy and https_proxy environment variables.
How it works
Environment Setup: Runs in an Ubuntu container with a Squid proxy service container
Traffic Blocking: Uses iptables to block all direct HTTP/HTTPS traffic (ports 80/443), allowing only traffic through the proxy
Verification: Confirms direct HTTPS requests fail while proxy requests succeed
Test Execution: Uploads a timestamped test artifact file
Key point
If the action ignores the proxy configuration and attempts direct connections, the upload will fail due to iptables blocking. Success indicates the action correctly routes traffic through the configured proxy.
Proxy Integration Test for upload-artifact
This test validates that the
upload-artifactaction properly honorshttp_proxyandhttps_proxyenvironment variables.How it works
iptablesto block all direct HTTP/HTTPS traffic (ports 80/443), allowing only traffic through the proxyKey point
If the action ignores the proxy configuration and attempts direct connections, the upload will fail due to iptables blocking. Success indicates the action correctly routes traffic through the configured proxy.