Overview
A Datazone project is a Git repository containing your data pipelines, actions, apps, knowledge objects, flows, and endpoints. All project components are defined in a centralconfig.yml file.
Project Structure
my-project
config.yml
pipelines
hello_world.py
data_processing.py
actions
apps
objects
flows
studio
utils.py
- Each project must have a
config.ymlfile - Each pipeline should have a unique alias and be defined in separate files
- Aliases must be unique within
pipelines, withinstudio_appsand withincontainers - Unknown keys are rejected on deploy rather than ignored, so a typo fails loudly
- You can organize your code with utility files for shared logic
Configuration File
Theconfig.yml file defines all project resources:
config.yml
Configuration Reference
Project Fields
List of serverless action functions. Actions can be triggered by endpoints or used by AI agents.Learn more in the Actions documentation.
List of Knowledge Object definitions — versioned business entities with a CRUD API.Removing an entry deletes the object and schedules cleanup of its data. Learn more in the Knowledge Objects documentation.
List of Studio Apps — React applications built and served by Datazone.Learn more in the Studio Apps documentation.
List of Containers — long-running services built from a Every field is described in the Containers documentation.
Dockerfile or run from an image.Pipeline Configuration
Compute instance size for pipeline execution.Available sizes:
XSMALL- 2 vCPU, 8 GB RAMSMALL- 4 vCPU, 16 GB RAMMEDIUM- 8 vCPU, 32 GB RAMLARGE- 16 vCPU, 64 GB RAMXLARGE- 32 vCPU, 128 GB RAM (Enterprise only)
Spark deployment mode for distributed processing.Options:
local- Runs on a single machine (default)client- Driver runs in the same process, executors run separatelycluster- Both driver and executors run in separate processes (Enterprise only)
Number of Spark executors for parallel processing. Only applies when
deploy_mode is client or cluster.Additional Spark configuration properties. Pass any custom Spark configuration key-value pairs.
Aliases of pipelines in this project that run before this one. Each upstream pipeline runs in full first. Every alias must be defined in Learn more in Pipelines as Upstreams.
config.yml, and the dependencies cannot form a cycle.Python Dependency Fields
Action Configuration
Relative path to the action Python file containing an Each file should contain one action function. Learn more in the Actions documentation.
@action decorated function.App Configuration
Studio App Configuration
Relative path to the app directory — the folder holding The entry is created for you when you add a Studio App, and removing it deletes the app and its directory. Each app is built per branch; see the Studio Apps documentation.
package.json.Knowledge Object Configuration
Relative path to the object definition YAML file. One file may hold several objects, separated by Learn more in the Knowledge Objects documentation.
---.Flow Configuration
Endpoint Configuration
Project Roles
A project has three roles: maintainer, contributor and reader. Organisation admins get them when they create the project with Create project roles ticked. Assign them to users like any other role.- Maintainers can change everything in the project, including
main, and merge pull requests into it. - Contributors work on branches. Their changes reach
mainthrough a pull request a maintainer merges. - Readers can only view the project.
Branches
Merging Branches
To bring one branch into another without opening a pull request, open the branch selector on the Code page and choose Merge Branches. Pick a Source Branch and a Target Branch (the target defaults tomain).
Before you merge, the dialog previews the changed files the merge would bring in, compared with where the two branches split. Merge stays disabled until there is something to merge.
- You need read access to the source branch and write access to the target branch. The dialog warns you when you cannot write to the target.
- The merge creates a merge commit. If the branches conflict, the merge fails and nothing is pushed.