spiegel_podman/test/e2e
Joshua Arrevillaga 73f3e98947 Feat: send additional build contexts for remote builds
Fixed the --build-context flag to properly send files for remote builds. Previously
only the main context was sent over as a tar while additional contexts were passed as
local paths and this would cause builds to fail since the files wouldn't exist.

New changes modifies the Build API to use multipart HTTP requests allowing multiple
build contexts to be used. Each additional context is packaged and
transferred based on its type:
- Local Directories: Sent as tar archives
- Git Repositories: link sent to the server where its then cloned
- Container Images: Image reference sent to the server, it then pulls the image there
- URLs/archives: URL sent to the server, which handles the download

Fixes: #23433

Signed-off-by: Joshua Arrevillaga <2004jarrevillaga@gmail.com>
2025-07-23 11:34:38 -04:00
..
build prune: support clearing build cache using CleanCacheMount 2024-09-05 10:40:07 -07:00
cdi build(deps): bump github.com/container-orchestrated-devices/container-device-interface 2023-02-20 14:51:04 +01:00
config Read kube_generate_type from containers.conf 2023-04-11 09:15:05 -04:00
quadlet Quadlet - add support for the Policy key for .image files 2025-07-10 13:06:38 -04:00
sign e2e: reduce dependency on /tmp for e2e tests 2023-01-26 22:20:15 +09:00
testdata CI: e2e: use distinct ports, not just 5000 2024-02-27 04:30:26 -07:00
artifact_mount_test.go artifact mount: add new name option to specify filename 2025-06-14 12:25:21 +02:00
artifact_test.go Add ability to set layer media type for artifacts 2025-04-17 10:36:21 -05:00
attach_test.go Use PodmanExitCleanly in attach_test.go 2025-01-09 18:47:37 +01:00
build_test.go Feat: send additional build contexts for remote builds 2025-07-23 11:34:38 -04:00
buildx_inspect_test.go podman buildx inspect support 2025-06-03 11:07:08 -04:00
checkpoint_image_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
checkpoint_test.go update image_fix -> automation_images#407 2025-06-23 13:24:58 -04:00
cleanup_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
commit_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
common_test.go test/e2e: Use nullb0 for IO limit tests 2025-04-30 16:21:38 +02:00
config.go test/e2e: fix unused linter warning 2025-03-31 12:30:43 -07:00
config_amd64.go ci: rm allow-unused from nolintlint settings 2025-03-31 12:27:55 -07:00
config_arm64.go Fix directive //nolint:revive is unused for linter "revive" on ARM 2025-04-16 16:17:28 +02:00
config_ppc64le.go pasta udp tests: new bytecheck helper 2024-10-16 10:15:19 -06:00
config_test.go test/e2e: fix unused linter warning 2025-03-31 12:30:43 -07:00
container_clone_test.go Fix container clone with configured Healthcheck 2025-03-26 11:01:18 +01:00
container_create_volume_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
container_iface_name_test.go Bump VMs. ShellCheck is now built-in 2024-09-09 06:16:20 -06:00
container_inspect_test.go Add ExposedPorts to Inspect's ContainerConfig 2024-10-01 07:54:52 -04:00
containers_conf_test.go specgen/generate: Fix log tag priority 2025-05-30 01:37:21 +03:00
cp_test.go Fix a potential deadlock during podman cp 2025-03-14 10:37:59 -04:00
create_staticip_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
create_staticmac_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
create_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
diff_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
events_test.go Log network creation and removal events in Podman 2024-11-05 11:58:47 +00:00
exec_test.go Make exec support --cidfile. 2025-03-21 17:46:47 +01:00
exists_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
export_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
farm_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
generate_kube_test.go Fix QF1003: could use tagged switch" staticcheck warning 2025-03-31 12:27:55 -07:00
generate_spec_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
generate_systemd_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
healthcheck_run_test.go Fix: Ensure HealthCheck exec session terminates on timeout 2025-05-12 17:01:35 +02:00
history_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
image_scp_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
image_sign_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
images_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
import_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
info_test.go Add BuildOrigin field to podman info 2025-01-30 14:48:30 -05:00
init_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
inspect_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
kill_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
libpod_suite_remote_test.go Eliminate PodmanSystemdScope 2025-01-23 01:10:18 +01:00
libpod_suite_test.go Eliminate PodmanSystemdScope 2025-01-23 01:10:18 +01:00
load_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
login_logout_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
logs_test.go podman logs: allow options after argument 2025-03-28 10:39:35 +01:00
manifest_test.go Pass all of PodmanExecOptions to various [mM]akeOptions functions 2025-01-23 00:03:52 +01:00
mount_rootless_test.go Pass all of PodmanExecOptions to various [mM]akeOptions functions 2025-01-23 00:03:52 +01:00
mount_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
negative_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
network_connect_disconnect_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
network_create_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
network_test.go Set network ID if available during container inspect 2025-01-20 15:55:26 +01:00
pause_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
play_build_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
play_kube_test.go Clarifies error message when using an improperly formatted secret with kube 2025-07-10 12:19:28 -04:00
pod_clone_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_create_test.go test/e2e: use go net.Dial() ov nc 2025-03-13 19:44:14 +01:00
pod_infra_container_test.go bump go to 1.22 2024-09-03 15:14:15 +02:00
pod_initcontainers_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_inspect_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_kill_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_pause_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_pod_namespaces_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_prune_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_ps_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_restart_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_rm_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_start_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_stats_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
pod_stop_test.go Refactor graph traversal & use for pod stop 2025-02-06 18:28:12 -05:00
pod_top_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
port_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
prune_test.go Output headers for volume ls when empty 2025-04-21 17:07:57 -05:00
ps_test.go add filter for container command 2025-03-02 19:47:44 +02:00
pull_chunked_test.go Add tests for chunked pulls 2025-02-06 00:39:51 +01:00
pull_test.go Add tests for chunked pulls 2025-02-06 00:39:51 +01:00
push_test.go Add a test for forcing compression and v2s2 format 2024-11-29 12:40:49 +00:00
quadlet_test.go Quadlet - add support for the Policy key for .image files 2025-07-10 13:06:38 -04:00
rename_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
restart_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
rm_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
rmi_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_aardvark_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_apparmor_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_cgroup_parent_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_cleanup_test.go Pass all of PodmanExecOptions to various [mM]akeOptions functions 2025-01-23 00:03:52 +01:00
run_cpu_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_device_test.go test: fix race conditions in /dev/kmsg tests 2025-05-27 15:12:14 +02:00
run_dns_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_entrypoint_test.go oci: report empty exec path as ENOENT 2025-02-18 22:01:08 +01:00
run_env_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_exit_test.go oci: report empty exec path as ENOENT 2025-02-18 22:01:08 +01:00
run_memory_test.go bump go to 1.22 2024-09-03 15:14:15 +02:00
run_networking_test.go test/e2e: fix podman run check dns flake 2025-06-25 16:58:10 +02:00
run_ns_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_passwd_test.go libpod: --user works with --hostuser entries 2025-04-07 18:11:06 +02:00
run_privileged_test.go Switch to moby/sys/capability 2024-10-01 12:52:18 -07:00
run_restart_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_seccomp_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_security_labels_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_selinux_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_signal_test.go test/e2e: fix default signal exit code test 2024-10-15 15:17:50 +02:00
run_staticip_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
run_test.go Merge pull request #26209 from jankaluza/26190 2025-05-28 14:35:04 +00:00
run_transient_test.go Don't use all of tempdir as podman's --tmpdir 2025-02-05 22:52:46 +01:00
run_userns_test.go namespaces: allow configuring keep-id userns size 2025-01-08 10:08:29 +01:00
run_volume_test.go tmpfs: Add support for noatime mount option 2025-06-06 22:21:45 -04:00
run_working_dir_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
runlabel_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
save_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
search_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
secret_test.go Secret create - add ignore option to allow noop 2025-06-24 15:43:38 -04:00
start_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
stats_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
stop_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
system_connection_test.go New system connection add tests 2024-11-07 17:48:27 +01:00
system_df_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
system_dial_stdio_test.go test/system: remove system dial-stdio test 2024-12-17 17:04:17 +01:00
system_reset_test.go Output headers for volume ls when empty 2025-04-21 17:07:57 -05:00
systemd_activate_test.go Pass all of PodmanExecOptions to various [mM]akeOptions functions 2025-01-23 00:03:52 +01:00
systemd_test.go Merge pull request #23650 from Luap99/e2e-systemd-rm 2024-08-19 13:21:26 +00:00
tag_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
toolbox_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
top_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
tree_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
trust_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
unshare_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
untag_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
update_test.go test/e2e: podman update make env check stricter 2025-07-10 19:57:16 +02:00
version_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
volume_create_test.go Merge pull request #26434 from mheon/import_export 2025-06-25 19:48:14 +00:00
volume_exists_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
volume_inspect_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
volume_ls_test.go Output headers for volume ls when empty 2025-04-21 17:07:57 -05:00
volume_plugin_test.go golangci-lint: make windows linting happy 2024-08-19 11:41:29 +02:00
volume_prune_test.go Output headers for volume ls when empty 2025-04-21 17:07:57 -05:00
volume_rm_test.go Fix SQLite volume lookup queries matching too liberally 2025-05-28 13:10:10 -04:00
wait_test.go wait: fix handling of multiple conditions with exited 2024-09-17 17:35:17 +02:00