Repository navigation
Conversation
The integration tests pull in switchblade, the Docker client and OpenTelemetry, which forced the Go version and the vendor directory of the buildpack itself (see cloudfoundry#1548). src/integration now has its own go.mod and go.sum, with the same versions as before. The root go.mod and vendor/ only keep what the buildpack and its unit tests use. scripts/integration.sh runs go test from src/integration, and the README and DEVELOPING.md say so.
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the change isolating integration-test dependencies in a separate Go module.
No open issues 🎉
What changed in this PR
This PR isolates integration-test dependencies in a separate Go module so their updates no longer raise the buildpack’s Go requirement or expand its vendored dependencies, addressing #1549.
Changes:
- Separates integration dependency management from the buildpack module.
- Removes test-only libraries and their supporting files from root
vendor/. - Updates developer documentation and direct test commands for the non-vendored integration module.
| File | Description |
|---|---|
vendor/golang.org/x/sys/windows/types_windows_arm64.go |
Removes vendored ARM64 Windows types. |
vendor/golang.org/x/sys/windows/types_windows_arm.go |
Removes vendored ARM Windows types. |
vendor/golang.org/x/sys/windows/types_windows_amd64.go |
Removes vendored AMD64 Windows types. |
vendor/golang.org/x/sys/windows/types_windows_386.go |
Removes vendored 386 Windows types. |
vendor/golang.org/x/sys/windows/str.go |
Removes Windows string helper. |
vendor/golang.org/x/sys/windows/race0.go |
Removes Windows non-race helpers. |
vendor/golang.org/x/sys/windows/race.go |
Removes Windows race helpers. |
vendor/golang.org/x/sys/windows/mksyscall.go |
Removes Windows syscall generation directive. |
vendor/golang.org/x/sys/windows/eventlog.go |
Removes Windows event-log bindings. |
vendor/golang.org/x/sys/windows/aliases.go |
Removes Windows syscall aliases. |
vendor/go.opentelemetry.io/otel/version.go |
Removes vendored telemetry version helper. |
vendor/go.opentelemetry.io/otel/trace/README.md |
Removes trace API documentation. |
vendor/go.opentelemetry.io/otel/trace/noop/README.md |
Removes no-op trace documentation. |
vendor/go.opentelemetry.io/otel/trace/nonrecording.go |
Removes non-recording span implementation. |
vendor/go.opentelemetry.io/otel/trace/internal/telemetry/doc.go |
Removes internal telemetry documentation. |
vendor/go.opentelemetry.io/otel/trace/embedded/README.md |
Removes embedded trace documentation. |
vendor/go.opentelemetry.io/otel/trace.go |
Removes global tracing API. |
vendor/go.opentelemetry.io/otel/semconv/v1.39.0/schema.go |
Removes semantic schema constant. |
vendor/go.opentelemetry.io/otel/semconv/v1.39.0/README.md |
Removes semantic conventions README. |
vendor/go.opentelemetry.io/otel/semconv/v1.39.0/exception.go |
Removes exception event constant. |
vendor/go.opentelemetry.io/otel/semconv/v1.39.0/doc.go |
Removes semantic conventions documentation. |
vendor/go.opentelemetry.io/otel/semconv/v1.37.0/schema.go |
Removes semantic schema constant. |
vendor/go.opentelemetry.io/otel/semconv/v1.37.0/README.md |
Removes semantic conventions README. |
vendor/go.opentelemetry.io/otel/semconv/v1.37.0/exception.go |
Removes exception event constant. |
vendor/go.opentelemetry.io/otel/semconv/v1.37.0/doc.go |
Removes semantic conventions documentation. |
vendor/go.opentelemetry.io/otel/semconv/v1.26.0/schema.go |
Removes semantic schema constant. |
vendor/go.opentelemetry.io/otel/semconv/v1.26.0/README.md |
Removes semantic conventions README. |
vendor/go.opentelemetry.io/otel/semconv/v1.26.0/exception.go |
Removes exception event constant. |
vendor/go.opentelemetry.io/otel/semconv/v1.26.0/doc.go |
Removes semantic conventions documentation. |
vendor/go.opentelemetry.io/otel/semconv/v1.20.0/schema.go |
Removes semantic schema constant. |
vendor/go.opentelemetry.io/otel/semconv/v1.20.0/README.md |
Removes semantic conventions README. |
vendor/go.opentelemetry.io/otel/semconv/v1.20.0/http.go |
Removes HTTP scheme attributes. |
vendor/go.opentelemetry.io/otel/semconv/v1.20.0/exception.go |
Removes exception event constant. |
vendor/go.opentelemetry.io/otel/semconv/v1.20.0/doc.go |
Removes semantic conventions documentation. |
vendor/go.opentelemetry.io/otel/requirements.txt |
Removes upstream tooling requirements. |
vendor/go.opentelemetry.io/otel/renovate.json |
Removes upstream dependency-update configuration. |
vendor/go.opentelemetry.io/otel/propagation/README.md |
Removes propagation README. |
vendor/go.opentelemetry.io/otel/propagation/doc.go |
Removes propagation package documentation. |
vendor/go.opentelemetry.io/otel/propagation.go |
Removes global propagation API. |
vendor/go.opentelemetry.io/otel/metric/README.md |
Removes metrics API documentation. |
vendor/go.opentelemetry.io/otel/metric/noop/README.md |
Removes no-op metrics documentation. |
vendor/go.opentelemetry.io/otel/metric/embedded/README.md |
Removes embedded metrics documentation. |
vendor/go.opentelemetry.io/otel/internal/global/handler.go |
Removes error-handler compatibility aliases. |
vendor/go.opentelemetry.io/otel/internal/baggage/baggage.go |
Removes internal baggage types. |
vendor/go.opentelemetry.io/otel/internal_logging.go |
Removes telemetry logger configuration. |
vendor/go.opentelemetry.io/otel/handler.go |
Removes global error handling. |
vendor/go.opentelemetry.io/otel/error_handler.go |
Removes error-handler interface. |
vendor/go.opentelemetry.io/otel/doc.go |
Removes telemetry package documentation. |
vendor/go.opentelemetry.io/otel/dependencies.Dockerfile |
Removes upstream tooling image definitions. |
vendor/go.opentelemetry.io/otel/codes/README.md |
Removes status-code README. |
vendor/go.opentelemetry.io/otel/codes/doc.go |
Removes status-code documentation. |
vendor/go.opentelemetry.io/otel/CODEOWNERS |
Removes upstream ownership metadata. |
vendor/go.opentelemetry.io/otel/baggage/README.md |
Removes baggage README. |
vendor/go.opentelemetry.io/otel/baggage/doc.go |
Removes baggage documentation. |
vendor/go.opentelemetry.io/otel/baggage/context.go |
Removes baggage context helpers. |
vendor/go.opentelemetry.io/otel/attribute/type_string.go |
Removes generated attribute type strings. |
vendor/go.opentelemetry.io/otel/attribute/README.md |
Removes attribute README. |
vendor/go.opentelemetry.io/otel/attribute/rawhelpers.go |
Removes attribute conversion helpers. |
vendor/go.opentelemetry.io/otel/attribute/doc.go |
Removes attribute documentation. |
vendor/go.opentelemetry.io/otel/.markdownlint.yaml |
Removes upstream Markdown lint configuration. |
vendor/go.opentelemetry.io/otel/.lycheeignore |
Removes upstream link-check exclusions. |
vendor/go.opentelemetry.io/otel/.gitignore |
Removes upstream ignore rules. |
vendor/go.opentelemetry.io/otel/.gitattributes |
Removes upstream Git attributes. |
vendor/go.opentelemetry.io/otel/.codespellrc |
Removes upstream spelling configuration. |
vendor/go.opentelemetry.io/otel/.codespellignore |
Removes upstream spelling exclusions. |
vendor/go.opentelemetry.io/otel/.clomonitor.yml |
Removes upstream project-monitor configuration. |
vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/version.go |
Removes HTTP instrumentation version helper. |
vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/start_time_context.go |
Removes instrumentation timing helpers. |
vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/gen.go |
Removes semantic helper generation directives. |
vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/request/gen.go |
Removes request-wrapper generation directives. |
vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/doc.go |
Removes HTTP instrumentation documentation. |
vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/common.go |
Removes HTTP instrumentation helpers. |
vendor/go.opentelemetry.io/auto/sdk/VERSIONING.md |
Removes upstream SDK versioning documentation. |
vendor/go.opentelemetry.io/auto/sdk/tracer_provider.go |
Removes automatic tracing provider. |
vendor/go.opentelemetry.io/auto/sdk/internal/telemetry/status.go |
Removes telemetry status types. |
vendor/go.opentelemetry.io/auto/sdk/internal/telemetry/doc.go |
Removes internal telemetry documentation. |
vendor/go.opentelemetry.io/auto/sdk/doc.go |
Removes automatic SDK documentation. |
vendor/go.opentelemetry.io/auto/sdk/CONTRIBUTING.md |
Removes upstream contribution guidance. |
vendor/github.com/ulikunitz/xz/SECURITY.md |
Removes upstream security documentation. |
vendor/github.com/ulikunitz/xz/none-check.go |
Removes XZ no-check implementation. |
vendor/github.com/ulikunitz/xz/make-docs |
Removes upstream documentation script. |
vendor/github.com/ulikunitz/xz/lzma/bytewriter.go |
Removes limited byte writer. |
vendor/github.com/ulikunitz/xz/lzma/breader.go |
Removes byte-reader adapter. |
vendor/github.com/ulikunitz/xz/LICENSE |
Removes license with vendored dependency. |
vendor/github.com/ulikunitz/xz/internal/hash/roller.go |
Removes rolling-hash interface and helper. |
vendor/github.com/ulikunitz/xz/internal/hash/doc.go |
Removes rolling-hash documentation. |
vendor/github.com/ulikunitz/xz/.gitignore |
Removes upstream ignore rules. |
vendor/github.com/teris-io/shortid/LICENSE |
Removes license with vendored dependency. |
vendor/github.com/teris-io/shortid/.travis.yml |
Removes upstream CI configuration. |
vendor/github.com/teris-io/shortid/.gitignore |
Removes upstream ignore rules. |
vendor/github.com/sclevine/spec/report/log.go |
Removes vendored test log reporter. |
vendor/github.com/sclevine/spec/.travis.yml |
Removes upstream CI configuration. |
vendor/github.com/sclevine/spec/.gitignore |
Removes upstream ignore rules. |
vendor/github.com/pkg/errors/Makefile |
Removes upstream development targets. |
vendor/github.com/pkg/errors/LICENSE |
Removes license with vendored dependency. |
vendor/github.com/pkg/errors/go113.go |
Removes error compatibility helpers. |
vendor/github.com/pkg/errors/appveyor.yml |
Removes upstream Windows CI configuration. |
vendor/github.com/pkg/errors/.travis.yml |
Removes upstream CI configuration. |
vendor/github.com/pkg/errors/.gitignore |
Removes upstream ignore rules. |
vendor/github.com/paketo-buildpacks/packit/v2/vacation/zipslip.go |
Removes archive path helpers. |
vendor/github.com/paketo-buildpacks/packit/v2/vacation/vacation.go |
Removes decompression package documentation. |
vendor/github.com/paketo-buildpacks/packit/v2/vacation/bzip2_archive.go |
Removes Bzip2 archive wrapper. |
vendor/github.com/paketo-buildpacks/packit/v2/pexec/doc.go |
Removes process-execution documentation. |
vendor/github.com/paketo-buildpacks/packit/v2/NOTICE |
Removes notice with vendored dependency. |
vendor/github.com/paketo-buildpacks/packit/v2/fs/move.go |
Removes filesystem move helper. |
vendor/github.com/paketo-buildpacks/packit/v2/fs/is_empty_dir.go |
Removes empty-directory helper. |
vendor/github.com/paketo-buildpacks/packit/v2/fs/exists.go |
Removes path-existence helper. |
vendor/github.com/paketo-buildpacks/packit/v2/fs/doc.go |
Removes filesystem package documentation. |
vendor/github.com/opencontainers/image-spec/specs-go/versioned.go |
Removes image schema version type. |
vendor/github.com/opencontainers/image-spec/specs-go/version.go |
Removes image specification version metadata. |
vendor/github.com/opencontainers/image-spec/specs-go/v1/layout.go |
Removes image layout definitions. |
vendor/github.com/opencontainers/go-digest/verifiers.go |
Removes digest verification helpers. |
vendor/github.com/opencontainers/go-digest/MAINTAINERS |
Removes upstream maintainer metadata. |
vendor/github.com/opencontainers/go-digest/digester.go |
Removes digest calculation interface. |
vendor/github.com/opencontainers/go-digest/.travis.yml |
Removes upstream CI configuration. |
vendor/github.com/opencontainers/go-digest/.pullapprove.yml |
Removes upstream review configuration. |
vendor/github.com/opencontainers/go-digest/.mailmap |
Removes upstream author mapping. |
vendor/github.com/Microsoft/go-winio/syscall.go |
Removes syscall generation directive. |
vendor/github.com/Microsoft/go-winio/pkg/guid/variant_string.go |
Removes generated GUID variant strings. |
vendor/github.com/Microsoft/go-winio/pkg/guid/guid_windows.go |
Removes Windows GUID type. |
vendor/github.com/Microsoft/go-winio/pkg/guid/guid_nonwindows.go |
Removes non-Windows GUID type. |
vendor/github.com/Microsoft/go-winio/LICENSE |
Removes license with vendored dependency. |
vendor/github.com/Microsoft/go-winio/internal/socket/rawaddr.go |
Removes raw socket address interface. |
vendor/github.com/Microsoft/go-winio/internal/fs/security.go |
Removes Windows impersonation constants. |
vendor/github.com/Microsoft/go-winio/internal/fs/doc.go |
Removes Windows filesystem documentation. |
vendor/github.com/Microsoft/go-winio/doc.go |
Removes Windows I/O documentation. |
vendor/github.com/Microsoft/go-winio/CODEOWNERS |
Removes upstream ownership metadata. |
vendor/github.com/Microsoft/go-winio/.gitignore |
Removes upstream ignore rules. |
vendor/github.com/Microsoft/go-winio/.gitattributes |
Removes upstream Git attributes. |
vendor/github.com/go-logr/stdr/README.md |
Removes logging adapter documentation. |
vendor/github.com/gabriel-vasile/mimetype/LICENSE |
Removes license with vendored dependency. |
vendor/github.com/gabriel-vasile/mimetype/internal/magic/database.go |
Removes database format signatures. |
vendor/github.com/gabriel-vasile/mimetype/CONTRIBUTING.md |
Removes upstream contribution guidance. |
vendor/github.com/gabriel-vasile/mimetype/.golangci.yml |
Removes upstream lint configuration. |
vendor/github.com/gabriel-vasile/mimetype/.gitattributes |
Removes upstream Git attributes. |
vendor/github.com/felixge/httpsnoop/Makefile |
Removes upstream development targets. |
vendor/github.com/felixge/httpsnoop/LICENSE.txt |
Removes license with vendored dependency. |
vendor/github.com/felixge/httpsnoop/docs.go |
Removes HTTP metrics documentation. |
vendor/github.com/felixge/httpsnoop/.gitignore |
Removes upstream ignore file. |
vendor/github.com/docker/go-units/README.md |
Removes measurement helper documentation. |
vendor/github.com/docker/go-units/duration.go |
Removes duration formatting helper. |
vendor/github.com/docker/go-units/circle.yml |
Removes upstream CI configuration. |
vendor/github.com/docker/go-connections/tlsconfig/certpool.go |
Removes certificate-pool compatibility wrapper. |
vendor/github.com/docker/go-connections/sockets/unix_socket_other.go |
Removes fallback socket backlog helper. |
vendor/github.com/docker/go-connections/sockets/unix_socket_linux.go |
Removes Linux socket backlog helper. |
vendor/github.com/docker/go-connections/sockets/unix_socket_bsd.go |
Removes BSD socket backlog helper. |
vendor/github.com/docker/go-connections/sockets/tcp_socket.go |
Removes TCP listener helper. |
vendor/github.com/docker/go-connections/sockets/sockets_windows.go |
Removes Windows pipe transport helper. |
vendor/github.com/docker/go-connections/sockets/sockets_unix.go |
Removes non-Windows pipe transport stub. |
vendor/github.com/docker/docker/NOTICE |
Removes notice with Docker dependency. |
vendor/github.com/docker/docker/client/volume_update.go |
Removes Docker volume-update client. |
vendor/github.com/docker/docker/client/volume_remove.go |
Removes Docker volume-removal client. |
vendor/github.com/docker/docker/client/volume_prune.go |
Removes Docker volume-pruning client. |
vendor/github.com/docker/docker/client/volume_list.go |
Removes Docker volume-listing client. |
vendor/github.com/docker/docker/client/volume_inspect.go |
Removes Docker volume-inspection client. |
vendor/github.com/docker/docker/client/volume_create.go |
Removes Docker volume-creation client. |
vendor/github.com/docker/docker/client/version.go |
Removes Docker server-version client. |
vendor/github.com/docker/docker/client/task_logs.go |
Removes Docker task-log client. |
vendor/github.com/docker/docker/client/task_list.go |
Removes Docker task-listing client. |
vendor/github.com/docker/docker/client/task_inspect.go |
Removes Docker task-inspection client. |
vendor/github.com/docker/docker/client/swarm_update.go |
Removes Docker swarm-update client. |
vendor/github.com/docker/docker/client/swarm_unlock.go |
Removes Docker swarm-unlock client. |
vendor/github.com/docker/docker/client/swarm_leave.go |
Removes Docker swarm-leave client. |
vendor/github.com/docker/docker/client/swarm_join.go |
Removes Docker swarm-join client. |
vendor/github.com/docker/docker/client/swarm_inspect.go |
Removes Docker swarm-inspection client. |
vendor/github.com/docker/docker/client/swarm_init.go |
Removes Docker swarm-initialization client. |
vendor/github.com/docker/docker/client/swarm_get_unlock_key.go |
Removes Docker swarm-key client. |
vendor/github.com/docker/docker/client/service_remove.go |
Removes Docker service-removal client. |
vendor/github.com/docker/docker/client/service_list.go |
Removes Docker service-listing client. |
vendor/github.com/docker/docker/client/service_inspect.go |
Removes Docker service-inspection client. |
vendor/github.com/docker/docker/client/secret_update.go |
Removes Docker secret-update client. |
vendor/github.com/docker/docker/client/secret_remove.go |
Removes Docker secret-removal client. |
vendor/github.com/docker/docker/client/secret_list.go |
Removes Docker secret-listing client. |
vendor/github.com/docker/docker/client/secret_inspect.go |
Removes Docker secret-inspection client. |
vendor/github.com/docker/docker/client/secret_create.go |
Removes Docker secret-creation client. |
vendor/github.com/docker/docker/client/README.md |
Removes Docker client documentation. |
vendor/github.com/docker/docker/client/plugin_upgrade.go |
Removes Docker plugin-upgrade client. |
vendor/github.com/docker/docker/client/plugin_set.go |
Removes Docker plugin-settings client. |
vendor/github.com/docker/docker/client/plugin_remove.go |
Removes Docker plugin-removal client. |
vendor/github.com/docker/docker/client/plugin_push.go |
Removes Docker plugin-push client. |
vendor/github.com/docker/docker/client/plugin_list.go |
Removes Docker plugin-listing client. |
vendor/github.com/docker/docker/client/plugin_inspect.go |
Removes Docker plugin-inspection client. |
vendor/github.com/docker/docker/client/plugin_enable.go |
Removes Docker plugin-enable client. |
vendor/github.com/docker/docker/client/plugin_disable.go |
Removes Docker plugin-disable client. |
vendor/github.com/docker/docker/client/plugin_create.go |
Removes Docker plugin-creation client. |
vendor/github.com/docker/docker/client/node_update.go |
Removes Docker node-update client. |
vendor/github.com/docker/docker/client/node_remove.go |
Removes Docker node-removal client. |
vendor/github.com/docker/docker/client/node_list.go |
Removes Docker node-listing client. |
vendor/github.com/docker/docker/client/node_inspect.go |
Removes Docker node-inspection client. |
vendor/github.com/docker/docker/client/network_remove.go |
Removes Docker network-removal client. |
vendor/github.com/docker/docker/client/network_prune.go |
Removes Docker network-pruning client. |
vendor/github.com/docker/docker/client/network_list.go |
Removes Docker network-listing client. |
vendor/github.com/docker/docker/client/network_disconnect.go |
Removes Docker network-disconnection client. |
vendor/github.com/docker/docker/client/network_create.go |
Removes Docker network-creation client. |
vendor/github.com/docker/docker/client/network_connect.go |
Removes Docker network-connection client. |
vendor/github.com/docker/docker/client/login.go |
Removes Docker registry-login client. |
vendor/github.com/docker/docker/client/info.go |
Removes Docker server-info client. |
vendor/github.com/docker/docker/client/image_tag.go |
Removes Docker image-tagging client. |
vendor/github.com/docker/docker/client/image_save.go |
Removes Docker image-save client. |
vendor/github.com/docker/docker/client/image_save_opts.go |
Removes Docker image-save options. |
vendor/github.com/docker/docker/client/image_remove.go |
Removes Docker image-removal client. |
vendor/github.com/docker/docker/client/image_prune.go |
Removes Docker image-pruning client. |
vendor/github.com/docker/docker/client/image_load_opts.go |
Removes Docker image-load options. |
vendor/github.com/docker/docker/client/image_import.go |
Removes Docker image-import client. |
vendor/github.com/docker/docker/client/image_history_opts.go |
Removes Docker image-history options. |
vendor/github.com/docker/docker/client/image_create.go |
Removes Docker image-creation client. |
vendor/github.com/docker/docker/client/distribution_inspect.go |
Removes Docker distribution-inspection client. |
vendor/github.com/docker/docker/client/disk_usage.go |
Removes Docker disk-usage client. |
vendor/github.com/docker/docker/client/container_update.go |
Removes Docker container-update client. |
vendor/github.com/docker/docker/client/container_unpause.go |
Removes Docker container-resume client. |
vendor/github.com/docker/docker/client/container_top.go |
Removes Docker container-process client. |
vendor/github.com/docker/docker/client/container_start.go |
Removes Docker container-start client. |
vendor/github.com/docker/docker/client/container_restart.go |
Removes Docker container-restart client. |
vendor/github.com/docker/docker/client/container_resize.go |
Removes Docker terminal-resize client. |
vendor/github.com/docker/docker/client/container_rename.go |
Removes Docker container-rename client. |
vendor/github.com/docker/docker/client/container_remove.go |
Removes Docker container-removal client. |
vendor/github.com/docker/docker/client/container_prune.go |
Removes Docker container-pruning client. |
vendor/github.com/docker/docker/client/container_pause.go |
Removes Docker container-pause client. |
vendor/github.com/docker/docker/client/container_kill.go |
Removes Docker container-kill client. |
vendor/github.com/docker/docker/client/container_export.go |
Removes Docker container-export client. |
vendor/github.com/docker/docker/client/container_diff.go |
Removes Docker filesystem-diff client. |
vendor/github.com/docker/docker/client/config_update.go |
Removes Docker configuration-update client. |
vendor/github.com/docker/docker/client/config_remove.go |
Removes Docker configuration-removal client. |
vendor/github.com/docker/docker/client/config_list.go |
Removes Docker configuration-listing client. |
vendor/github.com/docker/docker/client/config_inspect.go |
Removes Docker configuration-inspection client. |
vendor/github.com/docker/docker/client/config_create.go |
Removes Docker configuration-creation client. |
vendor/github.com/docker/docker/client/client_windows.go |
Removes Windows Docker transport helpers. |
vendor/github.com/docker/docker/client/client_unix.go |
Removes Unix Docker transport helpers. |
vendor/github.com/docker/docker/client/client_deprecated.go |
Removes deprecated Docker constructors. |
vendor/github.com/docker/docker/client/checkpoint.go |
Removes Docker checkpoint interface. |
vendor/github.com/docker/docker/client/checkpoint_list.go |
Removes Docker checkpoint-listing client. |
vendor/github.com/docker/docker/client/checkpoint_delete.go |
Removes Docker checkpoint-deletion client. |
vendor/github.com/docker/docker/client/checkpoint_create.go |
Removes Docker checkpoint-creation client. |
vendor/github.com/docker/docker/client/build_cancel.go |
Removes Docker build-cancellation client. |
vendor/github.com/docker/docker/api/types/volume/volume_update.go |
Removes volume-update request type. |
vendor/github.com/docker/docker/api/types/volume/options.go |
Removes volume options and pruning response. |
vendor/github.com/docker/docker/api/types/volume/list_response.go |
Removes volume-list response type. |
vendor/github.com/docker/docker/api/types/volume/disk_usage.go |
Removes volume disk-usage type. |
vendor/github.com/docker/docker/api/types/volume/create_options.go |
Removes volume-creation options. |
vendor/github.com/docker/docker/api/types/system/runtime.go |
Removes container runtime definitions. |
vendor/github.com/docker/docker/api/types/swarm/service_update_response.go |
Removes service-update response type. |
vendor/github.com/docker/docker/api/types/swarm/service_create_response.go |
Removes service-creation response type. |
vendor/github.com/docker/docker/api/types/swarm/runtime/runtime.go |
Removes plugin runtime definitions. |
vendor/github.com/docker/docker/api/types/swarm/runtime.go |
Removes swarm runtime definitions. |
vendor/github.com/docker/docker/api/types/swarm/common.go |
Removes shared swarm metadata types. |
vendor/github.com/docker/docker/api/types/strslice/strslice.go |
Removes flexible string-slice decoder. |
vendor/github.com/docker/docker/api/types/storage/driver_data.go |
Removes storage-driver metadata type. |
vendor/github.com/docker/docker/api/types/registry/authenticate.go |
Removes registry authentication response. |
vendor/github.com/docker/docker/api/types/plugin_mount.go |
Removes plugin mount type. |
vendor/github.com/docker/docker/api/types/plugin_interface_type.go |
Removes plugin interface type. |
vendor/github.com/docker/docker/api/types/plugin_env.go |
Removes plugin environment type. |
vendor/github.com/docker/docker/api/types/plugin_device.go |
Removes plugin device type. |
vendor/github.com/docker/docker/api/types/network/create_response.go |
Removes network-creation response. |
vendor/github.com/docker/docker/api/types/image/image_history.go |
Removes image-history response type. |
vendor/github.com/docker/docker/api/types/image/disk_usage.go |
Removes image disk-usage type. |
vendor/github.com/docker/docker/api/types/image/delete_response.go |
Removes image-deletion response. |
vendor/github.com/docker/docker/api/types/filters/errors.go |
Removes filter validation error type. |
vendor/github.com/docker/docker/api/types/error_response.go |
Removes Docker error response type. |
vendor/github.com/docker/docker/api/types/error_response_ext.go |
Removes Docker error response method. |
vendor/github.com/docker/docker/api/types/container/waitcondition.go |
Removes container wait conditions. |
vendor/github.com/docker/docker/api/types/container/wait_response.go |
Removes container wait response. |
vendor/github.com/docker/docker/api/types/container/wait_exit_error.go |
Removes container wait error type. |
vendor/github.com/docker/docker/api/types/container/update_response.go |
Removes container-update response. |
vendor/github.com/docker/docker/api/types/container/top_response.go |
Removes container-process response. |
vendor/github.com/docker/docker/api/types/container/port.go |
Removes container port type. |
vendor/github.com/docker/docker/api/types/container/hostconfig_windows.go |
Removes Windows network-mode helpers. |
vendor/github.com/docker/docker/api/types/container/hostconfig_unix.go |
Removes Unix network-mode helpers. |
vendor/github.com/docker/docker/api/types/container/filesystem_change.go |
Removes filesystem-change response type. |
vendor/github.com/docker/docker/api/types/container/errors.go |
Removes container parameter error type. |
vendor/github.com/docker/docker/api/types/container/disk_usage.go |
Removes container disk-usage type. |
vendor/github.com/docker/docker/api/types/container/create_response.go |
Removes container-creation response. |
vendor/github.com/docker/docker/api/types/container/create_request.go |
Removes container-creation request. |
vendor/github.com/docker/docker/api/types/container/commit.go |
Removes container-commit response alias. |
vendor/github.com/docker/docker/api/types/container/change_types.go |
Removes filesystem-change constants. |
vendor/github.com/docker/docker/api/types/container/change_type.go |
Removes filesystem-change type. |
vendor/github.com/docker/docker/api/types/common/id_response.go |
Removes shared identifier response. |
vendor/github.com/docker/docker/api/types/checkpoint/options.go |
Removes checkpoint operation options. |
vendor/github.com/docker/docker/api/types/checkpoint/list.go |
Removes checkpoint summary type. |
vendor/github.com/docker/docker/api/types/build/disk_usage.go |
Removes build-cache disk-usage type. |
vendor/github.com/docker/docker/api/types/blkiodev/blkio.go |
Removes block-I/O device types. |
vendor/github.com/docker/docker/api/swagger-gen.yaml |
Removes upstream API generation configuration. |
vendor/github.com/docker/docker/api/common.go |
Removes Docker API constants. |
vendor/github.com/distribution/reference/SECURITY.md |
Removes upstream security documentation. |
vendor/github.com/distribution/reference/Makefile |
Removes upstream development targets. |
vendor/github.com/distribution/reference/helpers.go |
Removes image-reference helpers. |
vendor/github.com/distribution/reference/CODE-OF-CONDUCT.md |
Removes upstream conduct documentation. |
vendor/github.com/distribution/reference/.golangci.yml |
Removes upstream lint configuration. |
vendor/github.com/distribution/reference/.gitignore |
Removes upstream ignore rules. |
vendor/github.com/distribution/reference/.gitattributes |
Removes upstream Git attributes. |
vendor/github.com/containerd/errdefs/README.md |
Removes container error documentation. |
vendor/github.com/containerd/errdefs/pkg/internal/cause/cause.go |
Removes unexpected-status error type. |
vendor/github.com/cloudfoundry/switchblade/source.go |
Removes test-source preparation helper. |
vendor/github.com/cloudfoundry/switchblade/random_name.go |
Removes test application name generator. |
vendor/github.com/cloudfoundry/switchblade/internal/docker/initialize.go |
Removes Docker test initialization. |
vendor/github.com/cloudfoundry/switchblade/internal/docker/deinitialize.go |
Removes Docker test cleanup. |
vendor/github.com/cloudfoundry/switchblade/internal/cloudfoundry/logs.go |
Removes Cloud Foundry test-log helper. |
vendor/github.com/cloudfoundry/switchblade/internal/cloudfoundry/executable.go |
Removes test executable interface. |
vendor/github.com/cloudfoundry/switchblade/internal/cloudfoundry/deinitialize.go |
Removes Cloud Foundry cleanup stub. |
vendor/github.com/cloudfoundry/switchblade/.gitignore |
Removes upstream ignore rules. |
vendor/github.com/cespare/xxhash/v2/xxhash_safe.go |
Removes safe hashing adapters. |
vendor/github.com/cespare/xxhash/v2/xxhash_asm.go |
Removes assembly hashing declarations. |
vendor/github.com/cespare/xxhash/v2/testall.sh |
Removes upstream test script. |
vendor/github.com/cespare/xxhash/v2/LICENSE.txt |
Removes license with vendored dependency. |
src/integration/README.md |
Documents separate module and non-vendored test commands. |
docs/DEVELOPING.md |
Clarifies that root vendoring excludes integration dependencies. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1549 (option 1).
src/integrationis now its own Go module. The integration tests pull in switchblade, the Docker client and OpenTelemetry, and until now a bump of those changedgo.modandvendor/of the buildpack itself, including the Go version (#1548 wantsgo 1.26.0, whilescripts/install_go.shinstalls Go 1.25.10).Changes:
src/integration/go.modandgo.sum, with the same versions as before (switchblade 0.10.0, gomega 1.42.0, spec 1.4.0). Theotlptracereplaceblock moved there, because only this module needs it.go.mod,go.sumandvendor/are tidied: about 700 vendored files and 33 lines ofgo.modare gone.scripts/integration.shpackages from the repo root, then runsgo testfromsrc/integrationwithout-mod vendor.src/integration/README.mdanddocs/DEVELOPING.mddescribe this.Checked:
go buildof the root module and the unit tests insrc/java/...pass on Go 1.25.4.go get go.opentelemetry.io/otel@v1.47.0insrc/integrationmoves only that module togo 1.26.0. The root stays atgo 1.25.4.vendor/is needed for staging from a git URL (bin/supplyandbin/finalizerungo build -mod=vendor). A packaged zip has novendor/,src/orgo.mod, becausescripts/build.shreplaces thebin/scripts with compiled binaries.scripts/integration.sh: passed (121 passed, 9 skipped, 0 failed in theintegration/<group>/<test>tests, the same test set as Concourse build 233).Question: should
src/integrationhave its ownvendor/too? This PR does not vendor it. That would add about 900 files (15 MB) and bring back the large bump diffs.scripts/integration.shalready runsgo mod download, so the tests need network access anyway. Vendoring would only make sense if the integration tests must run without network access. Is that the case?Question: should we add a
.github/dependabot.ymlfor the Go modules? There is none today, so the Go bumps (for example #1548) are Dependabot security updates for open alerts, and there are no routine version updates. After this PR the repo has two Go modules,/and/src/integration. I expect security updates to cover both, but I have not verified that Dependabot picks up the nestedgo.mod. Agomodentry for each directory would make it explicit. Other repos in the org do it differently:boshhas the nested modulesrc/bratswith its ownvendor/and adependabot.ymlwith onlygithub-actions,cf-deploymentlists only its/unitstest module, andcliputs allgomodbumps in one weekly group with a limit of 2 PRs. A group like that would stop one bump from touching everything. It would also add routine PRs that we do not get now. I did not add.github/dependabot.ymlin this PR.Not verified:
manifest_pathofsrc/integration/go.mod.go 1.26../scripts/integration.sh, so they should be unaffected.