Skip to content

Commit

Permalink
switch smokes over to Glue
Browse files Browse the repository at this point in the history
  • Loading branch information
maskarb committed Jan 22, 2025
1 parent fb81de0 commit e3e7aca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pipeline {

IQE_PLUGINS="cost_management"
BUILD_URL="https://ci.ext.devshift.net/job/koku-pipeline-pr-check-main/${BUILD_NUMBER}/"
IQE_ENV_VARS="JOB_NAME=koku-ci-jenkins,BUILD_NUMBER=${BUILD_NUMBER},BUILD_URL=${BUILD_URL}"
IQE_ENV_VARS="JOB_NAME=koku-ci-jenkins,BUILD_NUMBER=${BUILD_NUMBER},BUILD_URL=${BUILD_URL},SCHEMA_SUFFIX=_${IMAGE_TAG}"
IQE_PARALLEL_ENABLED="false"

GITHUB_API_ROOT='https://api.github.com/repos/project-koku/koku'
Expand Down
3 changes: 3 additions & 0 deletions ci/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ function run_smoke_tests_stage() {
--set-parameter koku/DBM_IMAGE_TAG=${IMAGE_TAG} \
--set-parameter koku/DBM_INVOCATION=${DBM_INVOCATION} \
--set-parameter koku/IMAGE=${IMAGE} \
--set-parameter koku/SCHEMA_SUFFIX=_${IMAGE_TAG} \
--set-parameter trino/HIVE_PROPERTIES_FILE=glue.properties \
--set-parameter trino/GLUE_PROPERTIES_FILE=hive.properties \
--no-single-replicas \
--source=appsre \
--timeout 600
Expand Down
5 changes: 4 additions & 1 deletion smoke_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ IQE_MARKER_EXPRESSION="cost_smoke"
IQE_FILTER_EXPRESSION=""
IQE_CJI_TIMEOUT="5h"
IQE_PARALLEL_ENABLED="false"
IQE_ENV_VARS="JOB_NAME=${JOB_NAME},BUILD_NUMBER=${BUILD_NUMBER}"
IQE_ENV_VARS="JOB_NAME=${JOB_NAME},BUILD_NUMBER=${BUILD_NUMBER},SCHEMA_SUFFIX=_${IMAGE_TAG}"

# Get bonfire helper scripts
CICD_URL="https://raw.githubusercontent.com/RedHatInsights/cicd-tools/main"
Expand Down Expand Up @@ -42,6 +42,9 @@ bonfire deploy \
--optional-deps-method hybrid \
--no-single-replicas \
--set-parameter rbac/MIN_REPLICAS=1 \
--set-parameter koku/SCHEMA_SUFFIX=_${IMAGE_TAG} \
--set-parameter trino/HIVE_PROPERTIES_FILE=glue.properties \
--set-parameter trino/GLUE_PROPERTIES_FILE=hive.properties \
${COMPONENTS_ARG} \
${COMPONENTS_RESOURCES_ARG} \
${EXTRA_DEPLOY_ARGS}
Expand Down

0 comments on commit e3e7aca

Please sign in to comment.