Skip to content

project-koku/koku-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

288 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Koku CI

Tekton pipelines and tasks for running builds and integration tests in Konflux.

The integration tests tasks are run inside koku-test-container which contains the programs referenced in each task.

Pipelines

pipeline-build

It's the main build pipeline for some of the repositories in Konflux. The repositories that reference this file are: koku, koku-daily, koku-report-emailer, nise-populator

basic_no_iqe

Only runs bonfire deploy.

Parameters

URL - Git repository containing the pipelines and tasks
REVISION - Branch of the repository
BONFIRE_IMAGE - Container image used for running tatks

APP_NAME - Name of the app-sre application folder
BONFIRE_COMPONENT_NAME - Name of the app-sre component
COMPONENT_NAME - Name of the app-sre ResourceTemplate for this component
COMPONENTS_W_RESOURCES - Components that should not have their resource request removed
COMPONENTS - Space separated list of components to deploy
DEPLOY_FRONTENDS - true or false
DEPLOY_TIMEOUT - fuzzy date value to wait before killing the deployment
EXTRA_DEPLOY_ARGS
SNAPSHOT

basic

  • Runs bonfire deploy then runs IQE tests
  • The IQE filter and marker are determined by the labels set on the PR
  • If the ok-to-skip-smokes label is set on a PR, IQE tests will not run
Parameters

URL - Git repository containing the pipelines and tasks
REVISION - Branch of the repository
BONFIRE_IMAGE - Container image used for running tatks

APP_NAME - Name of the app-sre application folder
BONFIRE_COMPONENT_NAME - Name of the app-sre component
COMPONENT_NAME - Name of the app-sre ResourceTemplate for this component
COMPONENTS_W_RESOURCES - Components that should not have their resource request removed
COMPONENTS - Space separated list of components to deploy
DEPLOY_FRONTENDS - true or false
DEPLOY_TIMEOUT - Time in seconds to wait before killing the deployment
EXTRA_DEPLOY_ARGS
IQE_CJI_TIMEOUT - fuzzy date value to wait before killing the deployment
IQE_ENV
IQE_FILTER_EXPRESSION
IQE_IBUTSU_SOURCE
IQE_MARKER_EXPRESSION
IQE_PARALLEL_ENABLED
IQE_PARALLEL_WORKER_COUNT
IQE_PLUGINS
IQE_REQUIREMENTS_PRIORITY
IQE_REQUIREMENTS
IQE_RP_ARGS
IQE_SELENIUM
IQE_TEST_IMPORTANCE
REF_ENV
SNAPSHOT

Tasks

reserve-namespace

Reserves a namespace in the ephemeral environment for testing.

deploy-application

Runs bonfile deploy to create the application for testing.

run-iqe-cji

Runs bonfire deploy-iqe-cji with filter and marker based on the labels applied to the pull request.

teardown

Uploads artifacts to S3 and release namespace.

Koku CI Management

The koku-ci-management/ directory contains tools to manage Koku CI, including the Scheduled Test Job that runs automatically.

Quick Start

cd koku-ci-management

# Login to Konflux cluster
make login

# Show current status
make status

# Trigger manual test job
make trigger

For more information, see the koku-ci-management README.

About

Maintain continous integration scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors