jump_ci prepare_topsail

Prepares the jump host for running TOPSAIL: - clones TOPSAIL repository - builds TOPSAIL image in the remote host

Parameters

cluster

  • Name of the cluster to use

lock_owner

  • Name of the lock owner

pr_number

  • PR number to use for the test. If none, use the main branch.

repo_owner

  • Name of the Github repo owner

  • default value: openshift-psap

repo_name

  • Name of the TOPSAIL github repo

  • default value: topsail

git_ref

  • The ref (commit/branch) to use in the git repository. Use the PR’s /merge if not specify, or the main branch if no PR number is specified.

image_name

  • Name to use when building TOPSAIL image

  • default value: localhost/topsail

image_tag

  • Name to give to the tag, or computed if empty

dockerfile_name

  • Name/path of the Dockerfile to use to build the image

  • default value: build/Dockerfile

update_from_imagetag

  • If set, update the git tree from this image instead of building from scratch

  • default value: main

cleanup_old_pr_images

  • If disabled, don’t cleanup the old images

  • default value: True