dependencies.mk

deps-update

Synopsis: make deps-update

Hooks: deps-pre-update, deps-post-update

Variables:

Variable

Description

SKART_DEPS_FILE

<skart dependency information file (.toml)> (default skart.toml)

SKART_WAIT

<seconds to wait for pending/running pipelines> (default 5)

SKART_REQUERY

<seconds to re-query state while waiting> (default 120)

Update pyproject.toml using ska-rt and then update poetry.lock. ska-rt: https://gitlab.com/ska-telescope/ska-rt

deps-update-release

Synopsis: make deps-update-release

Hooks: deps-pre-update-release, deps-post-update-release

Variables:

Variable

Description

SKART_DEPS_FILE

<skart dependency information file (.toml)> (default skart.toml)

SKART_WAIT

<seconds to wait for pending/running pipelines> (default 5)

SKART_REQUERY

<seconds to re-query state while waiting> (default 120)

Update pyproject.toml using ska-rt and then update poetry.lock. ska-rt is used in “release” mode, it will update the packages listed in skart.toml with the given “release” specifications. ska-rt: https://gitlab.com/ska-telescope/ska-rt

deps-update-devel

Synopsis: make deps-update-devel

Hooks: deps-pre-update-devel, deps-post-update-devel

Variables:

Variable

Description

BRANCH_NAME

<name of build branch. Will be created or checked out.> (mandatory)

SKART_WAIT

<seconds to wait for pending/running pipelines> (default 120)

SKART_REQUERY

<seconds to re-query state while waiting> (default 5)

PROJECT_NAME

<name of project to be released> (mandatory)

PROJECT_PATH

<project path relative to https://gitlab.com/> (mandatory)

ARTEFACT_TYPE

<type of released artefact: python or oci> (mandatory)

Updates pyproject.toml with development versions using skart and then updates poetry.lock. The updated branch is pushed to gitlab and this function will wait for a pipeline build according to –wait and –requery parameters

deps-patch-release

Synopsis: make deps-patch-release

Hooks: deps-pre-patch-release, deps-post-patch-release

Variables:

Variable

Description

SKART_DEPS_FILE

<skart dependency information file (.toml)> (default skart.toml)

SKART_WAIT

<seconds to wait for pending/running pipelines> (default 5)

SKART_REQUERY

<seconds to re-query state while waiting> (default 120)

PROJECT_NAME

<name of project to be released> (mandatory)

PROJECT_PATH

<project path relative to https://gitlab.com/> (mandatory)

ARTEFACT_TYPE

<type of released artefact: python or oci> (mandatory)

AUTO_RELEASE

<if true, no user input is needed for creating the tag> (default true)

Updates pyproject.toml and update poetry.lock using depsUpdate “release”. Then check if there are difference on the git repository. Bumps the patch release version by incrementing the current semver patch level. Creates a git tag automatically for the current calculated $VERSION. Pushes outstanding changes to git including tags.