Skip to main content

Note

While using TrueFoundry python SDK type is not a required field in any of the imported classes
For image you can either give link to a pre-existing image via Image module, or give instructions on how to build the image via the Build class

Image

Description

Describes that we are using a pre-built image stored in a Docker Image registry

Schema

Properties

Build

Description

Describes how we build our code into a Docker image.

Schema

Properties

Build Spec

The modules below help define the build specification.

PythonBuild

Description

Describes that we are using python to build a container image with a specific python version and pip packages installed.

Schema

Properties

DockerFileBuild

Description

Describes that we are using a dockerfile to build our image

Schema

Properties

Build Source

The modules below help define the build specification.

LocalSource

Description

Describes that we are using code stored in a local developement environment to build our image

Schema

Properties

GitSource

Description

Describes that we are using code stored in a git repository to build our image

Schema

Properties

RemoteSource

Description

Describes that we are using code stored in a remote respository to build our image

Schema

Properties