Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 787 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 787 Bytes

Swift on Tekton

Artifacts to build containerized Swift applications with Tekton.

Swift executables on Linux

Swift has supported Linux since version 2.2. Newer releases of Swift added the possibility to build Linux executables with the statically linked musl libc. By building Swift applications for Linux with a statically linked C library, the binary can be shipped in a raw Linux container with minimal footprint and no dependency.

Tekton CI

With the right builder image with a full toolchain, a Swift server application for Linux can be built with Tekton on Kubernetes cluster.

Tasks breakdown of a Pipeline with a PVC workspace shared by all Tasks would be: git-clone > compile project > Buildah with ADD compiled_binary_file_from_previous_task