spiegel_podman/pkg/machine
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
..
apple machine: enable nested virt on libkrun by default 2025-06-26 09:53:06 -04:00
applehv update golangci-lint to v1.62.0 2024-11-11 14:21:17 +01:00
compression remove github.com/crc-org/crc/v2 dependency 2025-03-31 14:39:51 +02:00
connection Update connection on removal 2024-09-24 15:46:02 -04:00
define pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
e2e Feat: send additional build contexts for remote builds 2025-07-23 11:34:38 -04:00
env pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
hyperv Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02:00
ignition pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
libkrun update golangci-lint to v1.62.0 2024-11-11 14:21:17 +01:00
lock pkg/machine: make checkExclusiveActiveVM race free 2024-03-14 11:13:08 +01:00
ocipull pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
os Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02:00
ports Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
provider Move detection of libkrun and intel 2025-01-29 13:26:45 -06:00
proxyenv Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02:00
qemu pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
shim fix wsl install workflow on machine init command 2025-06-04 14:26:48 +02:00
sockets pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
stdpull Clean machine pull cache 2024-04-26 12:31:42 -04:00
vmconfigs pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
wsl Enforce wsl.exe UTF-8 encoded output 2025-07-02 20:18:52 +00:00
cleanup.go Clean up gvproxy if machine start fails 2024-02-27 13:33:43 -06:00
config.go pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
config_test.go Switch all calls of assert.Nil to assert.NoError 2025-01-15 07:08:27 -05:00
gvproxy.go Ignore ERROR_SHARING_VIOLATION error on windows 2024-08-06 14:09:36 -05:00
gvproxy_unix.go Update module github.com/shirou/gopsutil to v4 2024-09-03 18:20:12 +02:00
gvproxy_windows.go Ignore ERROR_SHARING_VIOLATION error on windows 2024-08-06 14:09:36 -05:00
keys.go pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
machine_common.go pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
machine_unix.go pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go pkg/machine: fix various linter warnings 2025-03-31 12:27:55 -07:00
machine_windows_test.go Update CI to run Windows unit tests 2025-03-16 13:40:16 +00:00
qemuprovider.go podman5 machine reconfig 1 2024-02-07 08:17:43 -06:00
ssh.go Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02:00
ssh_unix.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
ssh_windows.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
update.go Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02:00
volumes.go machine/linux: Support virtiofs mounts (retain 9p default) 2024-06-07 10:03:06 -04:00