Skip to content

Commit

Permalink
Merge pull request coreos#887 from marmijo/remove-kola-azure-snooze
Browse files Browse the repository at this point in the history
utils: remove snooze on kola-azure tests for rawhide
  • Loading branch information
marmijo committed Jul 11, 2023
2 parents 39e6fac + feb0ffa commit a46e9f2
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions utils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -480,20 +480,14 @@ def run_cloud_tests(pipecfg, stream, version, cosa, basearch, commit) {
//testruns['Kola:Kubernetes'] = { build job: 'kola-kubernetes', wait: false, parameters: params }
}

// Snooze kola-azure tests on rawhide stream for a month while we wait on a fix
// for: https://github.com/coreos/fedora-coreos-tracker/issues/1515
def now = Calendar.instance
def month = now.get(Calendar.MONTH)
if (stream != "rawhide" || (month != Calendar.JUNE && month != Calendar.JULY)) {
// Kick off the Kola Azure job if we have an artifact, credentials, and testing is enabled.
if (shwrapCapture("cosa meta --build=${version} --get-value images.azure") != "None" &&
cloud_testing_enabled_for_arch(pipecfg, 'azure', basearch) &&
utils.credentialsExist([file(variable: 'AZURE_KOLA_TESTS_CONFIG_AUTH',
credentialsId: 'azure-kola-tests-config-auth'),
file(variable: 'AZURE_KOLA_TESTS_CONFIG_PROFILE',
credentialsId: 'azure-kola-tests-config-profile')])) {
testruns['Kola:Azure'] = { build job: 'kola-azure', wait: false, parameters: params }
}
// Kick off the Kola Azure job if we have an artifact, credentials, and testing is enabled.
if (shwrapCapture("cosa meta --build=${version} --get-value images.azure") != "None" &&
cloud_testing_enabled_for_arch(pipecfg, 'azure', basearch) &&
utils.credentialsExist([file(variable: 'AZURE_KOLA_TESTS_CONFIG_AUTH',
credentialsId: 'azure-kola-tests-config-auth'),
file(variable: 'AZURE_KOLA_TESTS_CONFIG_PROFILE',
credentialsId: 'azure-kola-tests-config-profile')])) {
testruns['Kola:Azure'] = { build job: 'kola-azure', wait: false, parameters: params }
}

// Kick off the Kola GCP job if we have an uploaded image, credentials, and testing is enabled.
Expand Down

0 comments on commit a46e9f2

Please sign in to comment.