CKI tools

All the command line tools and microservices used by the CKI project

cki.cki_tools.amqp_bridge

AMQP Bridge

cki_tools.autoscaler

Autoscaler to scale replicas up and down

cki_tools.aws

Helpers for AWS

cki.beaker_tools.broken_machines

Beaker broken machines updater

cki_deployment_acme.sh

Update SSL certificates via dns-01 ACME challenges on Route 53, and deploy them via OpenShift routes and SSH

cki_deployment_clean_docker_images.sh

Remove old docker images on the runners

cki_deployment_codeowners_mr.sh

Create MRs of changed CODEOWNERs configuration

cki_deployment_git_s3_sync.sh

Sync a git repository to an S3 bucket

cki_deployment_grafana_backup.sh

Backup a Grafana instance

cki_deployment_grafana_mr.sh

Create MRs of changed data in Grafana instances

cki_deployment_osp_backup.sh

Backup an OpenStack instance by creating snapshots.

cki_deployment_pgsql_backup.sh

Backup a PostgreSQL database to an S3 bucket.

cki_deployment_pgsql_restore.sh

Restore a PostgreSQL database from an S3 bucket

cki_tools_git_cache_updater.sh

Update a cache of tar files containing git repositories in S3

cki_tools_kernel_config_updater.sh

Get newest Fedora Rawhide kernel configuration files to use for upstream kernel builds

cki_tools_sync_polarion_id_mr.sh

Create MRs for updated Polarion IDs

cki_tools_update_ystream_composes_mr.sh

Create MRs for updated ystream composes

cki.cki_tools.cleaning_tools

Check for unused artifacts in the AWS storage

cki_tools.credential_manager

Manage CKI service account secrets across services

cki_tools.datawarehouse_kcidb_forwarder

Forward KCIDB data upstream into KernelCI database

cki_tools.datawarehouse_submitter

Submit KCIDB data to DataWarehouse

cki_tools.gating_reporter

Webhook responsible for UMB message sending related to OSCI gating

cki.kcidb.get_test_summary

Summarizes status from tests within a KCIDB file

cki.cki_tools.gitlab_ci_bot

CKI CI bot to trigger pipelines from merge requests

cki.deployment_tools.gitlab_codeowners_config

Maintain a CODEOWNERS file

cki.deployment_tools.gitlab_runner_config

Ensure a managed and reproducible gitlab-runner setup

cki.cki_tools.gitlab_sso_login

Login to GitLab via a SAML provider, and optionally run a smoke test

cki_tools.gitlab_yaml_shellcheck

Runs shellcheck on the shell code in the different jobs for a GitLab CI/CD pipeline gitlab-ci.yml

cki_tools.gitrepo_trigger

Trigger CKI pipelines for kernels from git repos

cki_tools.grafana

Tool to backup and restore Grafana data

cki.cki_tools.datawarehouse.issue_maintenance

Get a list of DataWarehouse issues requiring attention

cki_tools.koji_trigger

Trigger CKI pipelines for kernels from Koji/Brew

cki_tools.message_trigger

Trigger GitLab pipelines from webhook messages

cki_tools.monitoring_event_exporter

Kubernetes event exporter

cki.cki_tools.orphan_hunter

Delete Pods spawned by gitlab-runner of already finished jobs

cki.cki_tools.orphan_hunter_ec2

Terminate orphaned EC2 instances

cki_tools.pipeline_data_gen_tree_doc

Generate documentation about onboarded kernel trees defined on pipeline-data

cki_tools.pipeline_herder

Retrigger failed GitLab jobs that seem to be caused by infrastructure failures

cki.deployment_tools.render

Render text files via Jinja2

cki.cki_tools.repo_manager

Checkout all active CKI projects to a local directory

cki.cki_tools.retrigger

Trigger canary pipelines based on production pipelines

cki.deployment_tools.secrets

Access CKI secrets

cki.cki_tools.select_kpet_tree

Determine kpet tree from RHEL tree family and kernel NVR

cki.cki_tools.service_metrics

Service metrics exposed via Prometheus

cki_tools.slack_bot

Slack bot hooked up to print pipeline status and notifications

cki.cki_tools.sync_files

Sync files to S3 bucket

cki_tools.sync_polarion_id

Sync the Polarion ID from test TMT metadata to kpet-db

cki_tools.tmt_generate_test_plans_doc

Generate documentation from tmt plans

cki.triager

Tag known build and test failures in DataWarehouse

cki_tools.umb_messenger

Webhook responsible for UMB message sending to trigger external testing

cki_tools.update_ystream_composes

Manage the y-stream composes for trees in kpet-db

cki.cki_tools.webhook_receiver

Webhook receiver for GitLab, Sentry and Jira