Skip to content

Latest commit

 

History

History

operators_iib_trigger

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

operators_iib_trigger

A process which runs every 24 hours and checks for operator(s) new index images (IIB). If a new index image is released, a job will be triggered. Index image can be written to:

  • AWS S3 bucket: persistent data.
  • Local directory: managed by the user. User responsible that the file is there with the relevant data.
  • Local tmp directory: non-persistent, re-created every run.

Supported platforms

  • openshift ci
  • jenkins

Configuration

  • The config file is read from CI_IIB_JOBS_TRIGGER_CONFIG environment variable on every cycle.
  • Create a yaml file example and update the relevant fields.
  • S3 configuration:
    • aws_access_key_id
    • aws_secret_access_key
    • aws_region
    • s3_bucket_operators_latest_iib_path - path to S3 bucket and filename
  • To use a local file, set:
    • local_operators_latest_iib_filepath
  • S3 and local file are mutually exclusive
  • If none are provided, a tmp file will be created in /tmp
  • Export CI_IIB_JOBS_TRIGGER_CONFIG environment variable which points to the configuration yaml file
export CI_IIB_JOBS_TRIGGER_CONFIG="<path to yaml file>"