You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by bc...@apache.org on 2025/07/23 20:24:36 UTC

(beam-swift) branch main updated (f4c12bb -> a513f65)

This is an automated email from the ASF dual-hosted git repository.

bce pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/beam-swift.git


    from f4c12bb  Fix up worker id to work with latest version of Prism
     add 07a615a  Primitive container support. Initially this supports starting and executing a hermetic Prism container during testing.
     add 5abd5f9  Update apache header and make result discardable
     add a8244fb  Created the concept of TestContainers
     add e4afbfb  WIP debugging why Prism + 2 GBK doesn't work
     add 1aa6e11  Moving to simpler tests
     add 05decb4  Fixed up timestamp off-by-one error. Changed the way prism containers are started to eliminate the need for an override. Added some more unit tests for timestamps and got a completely self-contained gbk test going.
     add 6a059de  Address PR comments
     new a513f65  Adding first class container support to Beam Swift

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Package.resolved                                   |   112 +-
 Package.swift                                      |    60 +-
 .../ApacheBeam/Client/ApiServiceDescriptor.swift   |     9 +
 Sources/ApacheBeam/Coders/Coder.swift              |     2 +-
 Sources/ApacheBeam/Containers/Container.swift      |   159 +
 Sources/ApacheBeam/Containers/Podman/Client.swift  | 28889 ++++++++
 .../Podman/PodmanContainerRuntimeProvider.swift    |   215 +
 Sources/ApacheBeam/Containers/Podman/Types.swift   | 68028 +++++++++++++++++++
 Sources/ApacheBeam/Core/Pipeline/Pipeline.swift    |    21 +-
 .../ApacheBeam/Core/Pipeline/PipelineRunner.swift  |     9 +-
 .../Core/Pipeline/PipelineTransform.swift          |     4 +-
 Sources/ApacheBeam/Internal/Date+Timestamp.swift   |    11 +-
 Sources/ApacheBeam/Runners/PortableRunner.swift    |    54 +-
 .../Runtime/Bundle/BundleProcessor.swift           |     9 +-
 Sources/ApacheBeam/Runtime/Bundle/Sink.swift       |     6 +
 Sources/ApacheBeam/Runtime/Bundle/Source.swift     |     1 +
 .../Runtime/Metrics/MetricAccumulator.swift        |    17 +
 .../Runtime/Metrics/MetricReporter.swift           |     4 +
 .../Runtime/Metrics/MetricsRegistry.swift          |     2 +-
 Sources/ApacheBeam/Runtime/Worker/Worker.swift     |     8 +-
 .../ApacheBeam/Runtime/Worker/WorkerProvider.swift |    59 +-
 Sources/ApacheBeam/Transforms/Basic.swift          |     7 +-
 .../ApacheBeam/Transforms/BuiltIn+Windows.swift    |    10 +-
 Sources/ApacheBeam/Transforms/BuiltIn.swift        |     4 +-
 Sources/ApacheBeam/Transforms/Combining.swift      |     2 +-
 Sources/ApacheBeam/Transforms/Grouping.swift       |     4 +-
 Tests/ApacheBeamTests/Coders/CoderTests.swift      |    62 +-
 .../Containers/PrismContainer.swift                |    95 +
 .../Containers/TestContainers.swift                |    89 +
 Tests/ApacheBeamTests/Helpers/TestTransforms.swift |    29 +
 .../Pipeline/BasicTransformTests.swift             |    58 +
 .../Pipeline/CompositeIntegrationTests.swift       |    10 +-
 Tests/ApacheBeamTests/Pipeline/FileIOTests.swift   |    96 -
 .../Pipeline/IntegrationTests.swift                |     2 +-
 34 files changed, 97943 insertions(+), 204 deletions(-)
 create mode 100644 Sources/ApacheBeam/Containers/Container.swift
 create mode 100644 Sources/ApacheBeam/Containers/Podman/Client.swift
 create mode 100644 Sources/ApacheBeam/Containers/Podman/PodmanContainerRuntimeProvider.swift
 create mode 100644 Sources/ApacheBeam/Containers/Podman/Types.swift
 create mode 100644 Tests/ApacheBeamTests/Containers/PrismContainer.swift
 create mode 100644 Tests/ApacheBeamTests/Containers/TestContainers.swift
 create mode 100644 Tests/ApacheBeamTests/Helpers/TestTransforms.swift
 create mode 100644 Tests/ApacheBeamTests/Pipeline/BasicTransformTests.swift
 delete mode 100644 Tests/ApacheBeamTests/Pipeline/FileIOTests.swift


(beam-swift) 01/01: Adding first class container support to Beam Swift

Posted by bc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bce pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/beam-swift.git

commit a513f6576e7595a8b0af4a0c62b7e006f236a538
Merge: f4c12bb 6a059de
Author: Byron Ellis <by...@gmail.com>
AuthorDate: Wed Jul 23 13:24:32 2025 -0700

    Adding first class container support to Beam Swift
    
    Adds First Class Container Support for Beam Swift

 Package.resolved                                   |   112 +-
 Package.swift                                      |    60 +-
 .../ApacheBeam/Client/ApiServiceDescriptor.swift   |     9 +
 Sources/ApacheBeam/Coders/Coder.swift              |     2 +-
 Sources/ApacheBeam/Containers/Container.swift      |   159 +
 Sources/ApacheBeam/Containers/Podman/Client.swift  | 28889 ++++++++
 .../Podman/PodmanContainerRuntimeProvider.swift    |   215 +
 Sources/ApacheBeam/Containers/Podman/Types.swift   | 68028 +++++++++++++++++++
 Sources/ApacheBeam/Core/Pipeline/Pipeline.swift    |    21 +-
 .../ApacheBeam/Core/Pipeline/PipelineRunner.swift  |     9 +-
 .../Core/Pipeline/PipelineTransform.swift          |     4 +-
 Sources/ApacheBeam/Internal/Date+Timestamp.swift   |    11 +-
 Sources/ApacheBeam/Runners/PortableRunner.swift    |    54 +-
 .../Runtime/Bundle/BundleProcessor.swift           |     9 +-
 Sources/ApacheBeam/Runtime/Bundle/Sink.swift       |     6 +
 Sources/ApacheBeam/Runtime/Bundle/Source.swift     |     1 +
 .../Runtime/Metrics/MetricAccumulator.swift        |    17 +
 .../Runtime/Metrics/MetricReporter.swift           |     4 +
 .../Runtime/Metrics/MetricsRegistry.swift          |     2 +-
 Sources/ApacheBeam/Runtime/Worker/Worker.swift     |     8 +-
 .../ApacheBeam/Runtime/Worker/WorkerProvider.swift |    59 +-
 Sources/ApacheBeam/Transforms/Basic.swift          |     7 +-
 .../ApacheBeam/Transforms/BuiltIn+Windows.swift    |    10 +-
 Sources/ApacheBeam/Transforms/BuiltIn.swift        |     4 +-
 Sources/ApacheBeam/Transforms/Combining.swift      |     2 +-
 Sources/ApacheBeam/Transforms/Grouping.swift       |     4 +-
 Tests/ApacheBeamTests/Coders/CoderTests.swift      |    62 +-
 .../Containers/PrismContainer.swift                |    95 +
 .../Containers/TestContainers.swift                |    89 +
 Tests/ApacheBeamTests/Helpers/TestTransforms.swift |    29 +
 .../Pipeline/BasicTransformTests.swift             |    58 +
 .../Pipeline/CompositeIntegrationTests.swift       |    10 +-
 Tests/ApacheBeamTests/Pipeline/FileIOTests.swift   |    96 -
 .../Pipeline/IntegrationTests.swift                |     2 +-
 34 files changed, 97943 insertions(+), 204 deletions(-)