From c5f67caf9f098737dfec3e19ba39ce878ed5d13f Mon Sep 17 00:00:00 2001 From: Vladimir Portnov Date: Mon, 16 Sep 2024 16:47:32 +0800 Subject: [PATCH] test collapsed inputs --- .github/ci_templates/e2e_tests.yml | 2 +- .github/scripts/js/ci.js | 97 +++++++++++-------- .../dispatch-slash-command.yml | 4 +- .github/workflow_templates/e2e.multi.yml | 8 +- .github/workflows/dispatch-slash-command.yml | 4 +- .github/workflows/e2e-abort-aws.yml | 12 +-- .github/workflows/e2e-abort-azure.yml | 12 +-- .github/workflows/e2e-abort-eks.yml | 12 +-- .github/workflows/e2e-abort-gcp.yml | 12 +-- .github/workflows/e2e-abort-openstack.yml | 12 +-- .github/workflows/e2e-abort-static.yml | 12 +-- .github/workflows/e2e-abort-vcd.yml | 12 +-- .github/workflows/e2e-abort-vsphere.yml | 12 +-- .github/workflows/e2e-abort-yandex-cloud.yml | 12 +-- .github/workflows/e2e-aws.yml | 8 +- .github/workflows/e2e-azure.yml | 8 +- .github/workflows/e2e-eks.yml | 8 +- .github/workflows/e2e-gcp.yml | 8 +- .github/workflows/e2e-openstack.yml | 8 +- .github/workflows/e2e-static.yml | 8 +- .github/workflows/e2e-vcd.yml | 8 +- .github/workflows/e2e-vsphere.yml | 8 +- .github/workflows/e2e-yandex-cloud.yml | 8 +- 23 files changed, 144 insertions(+), 151 deletions(-) diff --git a/.github/ci_templates/e2e_tests.yml b/.github/ci_templates/e2e_tests.yml index 42e437d90d..702a483bd4 100644 --- a/.github/ci_templates/e2e_tests.yml +++ b/.github/ci_templates/e2e_tests.yml @@ -625,7 +625,7 @@ check_e2e_labels: # {!{ $ctx.jobID }!}: name: "{!{ $ctx.jobName }!}" - if: ${{ github.event.inputs.cri == '{!{ $ctx.cri }!}' && github.event.inputs.k8s_version == '{!{ $ctx.kubernetesVersion }!}' && github.event.inputs.layout == '{!{ $ctx.layout }!}' }} + if: ${{ fromJson(inputs.test_config).cri == '{!{ $ctx.cri }!}' && github.event.inputs.k8s_version == '{!{ $ctx.kubernetesVersion }!}' && github.event.inputs.layout == '{!{ $ctx.layout }!}' }} env: PROVIDER: {!{ $ctx.providerName }!} CRI: {!{ $ctx.criName }!} diff --git a/.github/scripts/js/ci.js b/.github/scripts/js/ci.js index 321eef0f4f..e454f953bd 100644 --- a/.github/scripts/js/ci.js +++ b/.github/scripts/js/ci.js @@ -54,7 +54,7 @@ const { const { buildFailedE2eTestAdditionalInfo } = require("./e2e/cleanup"); -const {tryParseAbortE2eCluster} = require("./e2e/slash_workflow_command"); +const { tryParseAbortE2eCluster } = require("./e2e/slash_workflow_command"); /** * Update a comment in "release" issue or pull request when workflow is started. @@ -196,7 +196,7 @@ module.exports.updateCommentOnFinish = async ({ } else if (statusConfig.includes(',separate')) { statusReport = renderJobStatusSeparate(status, name, startedAt); } else if (statusConfig.includes(',final')) { - const addInfo = buildFailedE2eTestAdditionalInfo({needsContext, core, context}); + const addInfo = buildFailedE2eTestAdditionalInfo({ needsContext, core, context }); core.debug(`Additional info: ${addInfo}`); statusReport = renderWorkflowStatusFinal(status, name, ref, build_url, startedAt, addInfo); } @@ -257,7 +257,7 @@ module.exports.updateCommentOnFinish = async ({ core.info(`Status for workflow report is ${status}`); - const addInfo = buildFailedE2eTestAdditionalInfo({needsContext, core, context}); + const addInfo = buildFailedE2eTestAdditionalInfo({ needsContext, core, context }); core.debug(`Additional info: ${addInfo}`); statusReport = renderWorkflowStatusFinal(status, name, ref, build_url, startedAt, addInfo); @@ -435,16 +435,18 @@ const setCRIAndVersionsFromInputs = ({ context, core, kubernetesDefaultVersion } let cri = [defaultCRI]; let ver = [defaultVersion]; - if (!!context.payload.inputs.cri) { - const requested_cri = context.payload.inputs.cri.toLowerCase(); + let test_config = JSON.parse(context.payload.inputs.test_config) + + if (!!test_config.cri) { + const requested_cri = test_config.cri.toLowerCase(); cri = requested_cri.split(','); } - if (!!context.payload.inputs.ver) { - const requested_ver = context.payload.inputs.ver.replace(/\./g, '_'); + if (!!test_config.ver) { + const requested_ver = test_config.ver.replace(/\./g, '_'); ver = requested_ver.split(','); } - core.info(`workflow_dispatch is release related. e2e inputs: cri='${context.payload.inputs.cri}' and version='${context.payload.inputs.ver}'.`); + core.info(`workflow_dispatch is release related. e2e inputs: cri='${test_config.cri}' and version='${test_config.ver}'.`); for (const out_cri of cri) { for (const out_ver of ver) { @@ -594,18 +596,18 @@ const extractCommandFromComment = (comment) => { // Split comment to lines. const lines = comment.split(/\r\n|\n|\r/).filter(l => l.startsWith('/')); if (lines.length < 1) { - return {'err': 'first line is not a slash command'} + return { 'err': 'first line is not a slash command' } } // Search for user command in the first line of the comment. // User command is a command and a tag name. const argv = lines[0].split(/\s+/); - if ( ! /^\/[a-z\d_\-\/.,]+$/.test(argv[0])) { - return {'err': 'not a slash command in the first line'}; + if (! /^\/[a-z\d_\-\/.,]+$/.test(argv[0])) { + return { 'err': 'not a slash command in the first line' }; } - return {argv, lines} + return { argv, lines } }; module.exports.extractCommandFromComment = extractCommandFromComment; @@ -633,7 +635,7 @@ const parseCommandArgumentAsRef = (cmdArg) => { if (ref) { return parseGitRef(ref); } - return {notFoundMsg: `git_ref ${cmdArg} not allowed. Only main, release-X.Y, vX.Y.Z or test-vX.Y.Z.`}; + return { notFoundMsg: `git_ref ${cmdArg} not allowed. Only main, release-X.Y, vX.Y.Z or test-vX.Y.Z.` }; }; /** @@ -653,10 +655,10 @@ const parseCommandArgumentAsRef = (cmdArg) => { * @param {object} inputs.core - A reference to the '@actions/core' package. * @returns {object} */ -const detectSlashCommand = ({ comment , context, core}) => { +const detectSlashCommand = ({ comment, context, core }) => { const arg = extractCommandFromComment(comment); - if(arg.err) { - return {notFoundMsg: arg.err} + if (arg.err) { + return { notFoundMsg: arg.err } } const parts = arg.argv; @@ -668,9 +670,9 @@ const detectSlashCommand = ({ comment , context, core}) => { // A ref for workflow and a target ref for e2e release update test. let targetRef = null - const abortRes = tryParseAbortE2eCluster({argv: arg.argv, context, core}) + const abortRes = tryParseAbortE2eCluster({ argv: arg.argv, context, core }) if (abortRes !== null) { - return {...abortRes, command} + return { ...abortRes, command } } @@ -694,7 +696,7 @@ const detectSlashCommand = ({ comment , context, core}) => { // Detect /e2e/run/* commands and /e2e/use/* arguments. const isE2E = Object.entries(knownLabels) .some(([name, info]) => { - return info.type.startsWith('e2e') && command.startsWith('/'+name) + return info.type.startsWith('e2e') && command.startsWith('/' + name) }) if (isE2E) { for (const provider of knownProviders) { @@ -720,6 +722,7 @@ const detectSlashCommand = ({ comment , context, core}) => { } inputs = { + test_config: JSON.stringify({ }) cri: cri.join(','), ver: ver.join(','), } @@ -732,10 +735,10 @@ const detectSlashCommand = ({ comment , context, core}) => { } // Detect /deploy/* commands. - const isDeploy = knownSlashCommands.deploy.some(c => command.startsWith('/'+c)); + const isDeploy = knownSlashCommands.deploy.some(c => command.startsWith('/' + c)); if (isDeploy) { for (const channel of knownChannels) { - if (command.includes('/'+channel)) { + if (command.includes('/' + channel)) { workflow_id = `deploy-${channel}.yml`; break; } @@ -750,7 +753,7 @@ const detectSlashCommand = ({ comment , context, core}) => { } // Detect /suspend/* commands. - const isSuspend = knownSlashCommands.suspend.some(c => command.startsWith('/'+c)); + const isSuspend = knownSlashCommands.suspend.some(c => command.startsWith('/' + c)); if (isSuspend) { for (const channel of knownChannels) { if (command.includes(channel)) { @@ -774,7 +777,7 @@ const detectSlashCommand = ({ comment , context, core}) => { } if (workflow_id === '') { - return {notFoundMsg: `workflow for '${command}' not found`}; + return { notFoundMsg: `workflow for '${command}' not found` }; } return { @@ -799,7 +802,7 @@ const detectSlashCommand = ({ comment , context, core}) => { * @param {object} inputs.content - Reaction type: (+1, -1, rocket, confused, ...). * @returns {Promise} */ -const reactToComment = async ({github, context, comment_id, content}) => { +const reactToComment = async ({ github, context, comment_id, content }) => { return await github.rest.reactions.createForIssueComment({ owner: context.repo.owner, repo: context.repo.repo, @@ -862,20 +865,20 @@ module.exports.runSlashCommandForReleaseIssue = async ({ github, context, core } } else { failedMsg = `Command '${slashCommand.command}' requires issue to relate to milestone with version in title. Got milestone '${event.issue.milestone.title}'.` } - } else if(slashCommand.isDestroyFailedE2e) { + } else if (slashCommand.isDestroyFailedE2e) { workflow_ref = slashCommand.targetRef; } // Git ref is malformed. if (failedMsg) { core.setFailed(failedMsg); - return await reactToComment({github, context, comment_id, content: 'confused'}); + return await reactToComment({ github, context, comment_id, content: 'confused' }); } core.info(`Use ref '${workflow_ref}' for workflow.`); // React with rocket emoji! - await reactToComment({github, context, comment_id, content: 'rocket'}); + await reactToComment({ github, context, comment_id, content: 'rocket' }); // Add new issue comment and start the requested workflow. core.info('Add issue comment to report workflow status.'); @@ -903,7 +906,8 @@ module.exports.runSlashCommandForReleaseIssue = async ({ github, context, core } } } - return await startWorkflow({github, context, core, + return await startWorkflow({ + github, context, core, workflow_id: slashCommand.workflow_id, ref: workflow_ref, inputs: { @@ -1286,10 +1290,10 @@ const findMilestoneForGitRef = async ({ github, context, core, gitRefInfo }) => } catch (error) { if (error.name === 'GraphqlResponseError') { core.log('Request:', error.request); - return {notFoundMsg: error.message} + return { notFoundMsg: error.message } } else { // handle non-GraphQL error - return {notFoundMsg: `List milestones failed: ${dumpError(error)}`} + return { notFoundMsg: `List milestones failed: ${dumpError(error)}` } } } @@ -1315,7 +1319,7 @@ const findMilestoneForGitRef = async ({ github, context, core, gitRefInfo }) => if (!milestone) { core.info(`Milestones: ${JSON.stringify(result)}`); - return {notFoundMsg: `No related milestone found for ref '${context.ref}'. You should create milestone related to a tag and restart build.`} + return { notFoundMsg: `No related milestone found for ref '${context.ref}'. You should create milestone related to a tag and restart build.` } } core.info(`Found milestone related to ref '${context.ref}': '${milestone.title}' with number ${milestone.number}`); @@ -1335,7 +1339,7 @@ const findReleaseIssueForMilestone = async ({ github, context, core, milestone } labels: [releaseIssueLabel] }); if (response.status !== 200 || response.data.length < 1) { - return {notFoundMsg: `List milestone issues failed: ${JSON.stringify(response)}`}; + return { notFoundMsg: `List milestone issues failed: ${JSON.stringify(response)}` }; } return response.data[0]; @@ -1399,7 +1403,7 @@ const startWorkflow = async ({ github, context, core, workflow_id, ref, inputs } ref, inputs: inputs || {}, }); - } catch(error) { + } catch (error) { return core.setFailed(`Error triggering workflow_dispatch event: ${dumpError(error)}`) } @@ -1427,9 +1431,11 @@ module.exports.runBuildForRelease = async ({ github, context, core }) => { // Run workflow without commenting on release issue. if (gitRefInfo.isDeveloperTag) { - return await startWorkflow({github, context, core, + return await startWorkflow({ + github, context, core, workflow_id: 'build-and-test_release.yml', - ref: context.ref}); + ref: context.ref + }); } if (gitRefInfo.isMain || gitRefInfo.tagVersion) { @@ -1438,24 +1444,31 @@ module.exports.runBuildForRelease = async ({ github, context, core }) => { // - find milestone // - find release issue // - add comment and start the workflow. - const milestone = await findMilestoneForGitRef({github, context, core, - gitRefInfo}); + const milestone = await findMilestoneForGitRef({ + github, context, core, + gitRefInfo + }); if (milestone.notFoundMsg) { return core.setFailed(milestone.notFoundMsg); } - const releaseIssue = await findReleaseIssueForMilestone({github, context, core, - milestone}); + const releaseIssue = await findReleaseIssueForMilestone({ + github, context, core, + milestone + }); if (releaseIssue.notFoundMsg) { return core.setFailed(releaseIssue.notFoundMsg); } - const commentInfo = await addReleaseIssueComment({github, context, core, - issue: releaseIssue, gitRefInfo}); + const commentInfo = await addReleaseIssueComment({ + github, context, core, + issue: releaseIssue, gitRefInfo + }); core.info(`Start build-and-test for ${gitRefInfo.description} '${context.ref}'...`); - return await startWorkflow({github, context, core, + return await startWorkflow({ + github, context, core, workflow_id: 'build-and-test_release.yml', ref: context.ref, inputs: { diff --git a/.github/workflow_templates/dispatch-slash-command.yml b/.github/workflow_templates/dispatch-slash-command.yml index 3d13513d71..abd3a2abaf 100644 --- a/.github/workflow_templates/dispatch-slash-command.yml +++ b/.github/workflow_templates/dispatch-slash-command.yml @@ -55,7 +55,7 @@ jobs: core.info(`Has 'changelog' label? ${hasChangelogLabel}`) core.info(`Has 'auto' label? ${hasAutoLabel}`) - if (isReleaseIssue && (authorAssociation === 'OWNER' || authorAssociation === 'MEMBER' || (isPrivate && authorAssociation === 'COLLABORATOR'))) { + if (isReleaseIssue && isPrivate) { core.notice(`Comment on release issue with possible slash command.`); return core.setOutput('trigger_for_release_issue', 'true'); } @@ -71,7 +71,7 @@ jobs: // Member is a member of the github organization and the organization is public (here https://github.com/orgs/deckhouse/people) // Collaborator is a member of github and the organization is private (here https://github.com/orgs/deckhouse/people) // Contributor is a person who is not a member of github, but has contributed to the repository. - if (isPR && (authorAssociation === 'OWNER' || authorAssociation === 'MEMBER' || authorAssociation === 'COLLABORATOR')) { + if (isPR && isPrivate) { core.notice(`Comment on pull request.`); return core.setOutput('trigger_for_pull_request', 'true'); } diff --git a/.github/workflow_templates/e2e.multi.yml b/.github/workflow_templates/e2e.multi.yml index 7b60c96f86..64ac85a2e5 100644 --- a/.github/workflow_templates/e2e.multi.yml +++ b/.github/workflow_templates/e2e.multi.yml @@ -90,12 +90,10 @@ on: pull_request_head_label: description: 'Head label of pull request. e.g. my_repo:my_feature_branch' required: false - cri: - description: 'A comma-separated list of cri to test. Available: Containerd.' - required: false - ver: - description: 'A comma-separated list of versions to test. Available: from 1.24 to 1.28.' + test_config: + description: 'JSON string of parameters of current test' required: false + default: '{"cri":"Containerd","ver":"1.27","editions":"FE"}' initial_ref_slug: description: 'An image tag to install first and then switch to workflow context ref' required: false diff --git a/.github/workflows/dispatch-slash-command.yml b/.github/workflows/dispatch-slash-command.yml index 9808020e45..2fa9ad3205 100644 --- a/.github/workflows/dispatch-slash-command.yml +++ b/.github/workflows/dispatch-slash-command.yml @@ -59,7 +59,7 @@ jobs: core.info(`Has 'changelog' label? ${hasChangelogLabel}`) core.info(`Has 'auto' label? ${hasAutoLabel}`) - if (isReleaseIssue && (authorAssociation === 'OWNER' || authorAssociation === 'MEMBER' || (isPrivate && authorAssociation === 'COLLABORATOR'))) { + if (isReleaseIssue && isPrivate) { core.notice(`Comment on release issue with possible slash command.`); return core.setOutput('trigger_for_release_issue', 'true'); } @@ -75,7 +75,7 @@ jobs: // Member is a member of the github organization and the organization is public (here https://github.com/orgs/deckhouse/people) // Collaborator is a member of github and the organization is private (here https://github.com/orgs/deckhouse/people) // Contributor is a person who is not a member of github, but has contributed to the repository. - if (isPR && (authorAssociation === 'OWNER' || authorAssociation === 'MEMBER' || authorAssociation === 'COLLABORATOR')) { + if (isPR && isPrivate) { core.notice(`Comment on pull request.`); return core.setOutput('trigger_for_pull_request', 'true'); } diff --git a/.github/workflows/e2e-abort-aws.yml b/.github/workflows/e2e-abort-aws.yml index 5739164315..14b86480ab 100644 --- a/.github/workflows/e2e-abort-aws.yml +++ b/.github/workflows/e2e-abort-aws.yml @@ -75,7 +75,7 @@ jobs: # run_containerd_1_26: name: "destroy cluster: AWS, Containerd, Kubernetes 1.26" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: AWS CRI: Containerd @@ -353,7 +353,7 @@ jobs: # run_containerd_1_27: name: "destroy cluster: AWS, Containerd, Kubernetes 1.27" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: AWS CRI: Containerd @@ -631,7 +631,7 @@ jobs: # run_containerd_1_28: name: "destroy cluster: AWS, Containerd, Kubernetes 1.28" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: AWS CRI: Containerd @@ -909,7 +909,7 @@ jobs: # run_containerd_1_29: name: "destroy cluster: AWS, Containerd, Kubernetes 1.29" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: AWS CRI: Containerd @@ -1187,7 +1187,7 @@ jobs: # run_containerd_1_30: name: "destroy cluster: AWS, Containerd, Kubernetes 1.30" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: AWS CRI: Containerd @@ -1465,7 +1465,7 @@ jobs: # run_containerd_automatic: name: "destroy cluster: AWS, Containerd, Kubernetes Automatic" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: AWS CRI: Containerd diff --git a/.github/workflows/e2e-abort-azure.yml b/.github/workflows/e2e-abort-azure.yml index ab316ce9f1..bc278f4e0e 100644 --- a/.github/workflows/e2e-abort-azure.yml +++ b/.github/workflows/e2e-abort-azure.yml @@ -75,7 +75,7 @@ jobs: # run_containerd_1_26: name: "destroy cluster: Azure, Containerd, Kubernetes 1.26" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: Azure CRI: Containerd @@ -357,7 +357,7 @@ jobs: # run_containerd_1_27: name: "destroy cluster: Azure, Containerd, Kubernetes 1.27" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: Azure CRI: Containerd @@ -639,7 +639,7 @@ jobs: # run_containerd_1_28: name: "destroy cluster: Azure, Containerd, Kubernetes 1.28" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: Azure CRI: Containerd @@ -921,7 +921,7 @@ jobs: # run_containerd_1_29: name: "destroy cluster: Azure, Containerd, Kubernetes 1.29" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: Azure CRI: Containerd @@ -1203,7 +1203,7 @@ jobs: # run_containerd_1_30: name: "destroy cluster: Azure, Containerd, Kubernetes 1.30" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: Azure CRI: Containerd @@ -1485,7 +1485,7 @@ jobs: # run_containerd_automatic: name: "destroy cluster: Azure, Containerd, Kubernetes Automatic" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: Azure CRI: Containerd diff --git a/.github/workflows/e2e-abort-eks.yml b/.github/workflows/e2e-abort-eks.yml index f8481eed13..f884f80eb1 100644 --- a/.github/workflows/e2e-abort-eks.yml +++ b/.github/workflows/e2e-abort-eks.yml @@ -75,7 +75,7 @@ jobs: # run_containerd_1_26: name: "destroy cluster: EKS, Containerd, Kubernetes 1.26" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: EKS CRI: Containerd @@ -356,7 +356,7 @@ jobs: # run_containerd_1_27: name: "destroy cluster: EKS, Containerd, Kubernetes 1.27" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: EKS CRI: Containerd @@ -637,7 +637,7 @@ jobs: # run_containerd_1_28: name: "destroy cluster: EKS, Containerd, Kubernetes 1.28" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: EKS CRI: Containerd @@ -918,7 +918,7 @@ jobs: # run_containerd_1_29: name: "destroy cluster: EKS, Containerd, Kubernetes 1.29" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: EKS CRI: Containerd @@ -1199,7 +1199,7 @@ jobs: # run_containerd_1_30: name: "destroy cluster: EKS, Containerd, Kubernetes 1.30" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: EKS CRI: Containerd @@ -1480,7 +1480,7 @@ jobs: # run_containerd_automatic: name: "destroy cluster: EKS, Containerd, Kubernetes Automatic" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: EKS CRI: Containerd diff --git a/.github/workflows/e2e-abort-gcp.yml b/.github/workflows/e2e-abort-gcp.yml index 3077a68118..d30c290f06 100644 --- a/.github/workflows/e2e-abort-gcp.yml +++ b/.github/workflows/e2e-abort-gcp.yml @@ -75,7 +75,7 @@ jobs: # run_containerd_1_26: name: "destroy cluster: GCP, Containerd, Kubernetes 1.26" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: GCP CRI: Containerd @@ -351,7 +351,7 @@ jobs: # run_containerd_1_27: name: "destroy cluster: GCP, Containerd, Kubernetes 1.27" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: GCP CRI: Containerd @@ -627,7 +627,7 @@ jobs: # run_containerd_1_28: name: "destroy cluster: GCP, Containerd, Kubernetes 1.28" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: GCP CRI: Containerd @@ -903,7 +903,7 @@ jobs: # run_containerd_1_29: name: "destroy cluster: GCP, Containerd, Kubernetes 1.29" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: GCP CRI: Containerd @@ -1179,7 +1179,7 @@ jobs: # run_containerd_1_30: name: "destroy cluster: GCP, Containerd, Kubernetes 1.30" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: GCP CRI: Containerd @@ -1455,7 +1455,7 @@ jobs: # run_containerd_automatic: name: "destroy cluster: GCP, Containerd, Kubernetes Automatic" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: GCP CRI: Containerd diff --git a/.github/workflows/e2e-abort-openstack.yml b/.github/workflows/e2e-abort-openstack.yml index 837306d399..1c32c70912 100644 --- a/.github/workflows/e2e-abort-openstack.yml +++ b/.github/workflows/e2e-abort-openstack.yml @@ -75,7 +75,7 @@ jobs: # run_containerd_1_26: name: "destroy cluster: OpenStack, Containerd, Kubernetes 1.26" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: OpenStack CRI: Containerd @@ -351,7 +351,7 @@ jobs: # run_containerd_1_27: name: "destroy cluster: OpenStack, Containerd, Kubernetes 1.27" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: OpenStack CRI: Containerd @@ -627,7 +627,7 @@ jobs: # run_containerd_1_28: name: "destroy cluster: OpenStack, Containerd, Kubernetes 1.28" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: OpenStack CRI: Containerd @@ -903,7 +903,7 @@ jobs: # run_containerd_1_29: name: "destroy cluster: OpenStack, Containerd, Kubernetes 1.29" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: OpenStack CRI: Containerd @@ -1179,7 +1179,7 @@ jobs: # run_containerd_1_30: name: "destroy cluster: OpenStack, Containerd, Kubernetes 1.30" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: OpenStack CRI: Containerd @@ -1455,7 +1455,7 @@ jobs: # run_containerd_automatic: name: "destroy cluster: OpenStack, Containerd, Kubernetes Automatic" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: OpenStack CRI: Containerd diff --git a/.github/workflows/e2e-abort-static.yml b/.github/workflows/e2e-abort-static.yml index 235655f0fc..d4c6c6d823 100644 --- a/.github/workflows/e2e-abort-static.yml +++ b/.github/workflows/e2e-abort-static.yml @@ -75,7 +75,7 @@ jobs: # run_containerd_1_26: name: "destroy cluster: Static, Containerd, Kubernetes 1.26" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'Static' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'Static' }} env: PROVIDER: Static CRI: Containerd @@ -351,7 +351,7 @@ jobs: # run_containerd_1_27: name: "destroy cluster: Static, Containerd, Kubernetes 1.27" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'Static' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'Static' }} env: PROVIDER: Static CRI: Containerd @@ -627,7 +627,7 @@ jobs: # run_containerd_1_28: name: "destroy cluster: Static, Containerd, Kubernetes 1.28" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'Static' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'Static' }} env: PROVIDER: Static CRI: Containerd @@ -903,7 +903,7 @@ jobs: # run_containerd_1_29: name: "destroy cluster: Static, Containerd, Kubernetes 1.29" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'Static' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'Static' }} env: PROVIDER: Static CRI: Containerd @@ -1179,7 +1179,7 @@ jobs: # run_containerd_1_30: name: "destroy cluster: Static, Containerd, Kubernetes 1.30" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'Static' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'Static' }} env: PROVIDER: Static CRI: Containerd @@ -1455,7 +1455,7 @@ jobs: # run_containerd_automatic: name: "destroy cluster: Static, Containerd, Kubernetes Automatic" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'Static' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'Static' }} env: PROVIDER: Static CRI: Containerd diff --git a/.github/workflows/e2e-abort-vcd.yml b/.github/workflows/e2e-abort-vcd.yml index 421a55dbc4..99c407b67f 100644 --- a/.github/workflows/e2e-abort-vcd.yml +++ b/.github/workflows/e2e-abort-vcd.yml @@ -75,7 +75,7 @@ jobs: # run_containerd_1_26: name: "destroy cluster: VCD, Containerd, Kubernetes 1.26" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: VCD CRI: Containerd @@ -359,7 +359,7 @@ jobs: # run_containerd_1_27: name: "destroy cluster: VCD, Containerd, Kubernetes 1.27" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: VCD CRI: Containerd @@ -643,7 +643,7 @@ jobs: # run_containerd_1_28: name: "destroy cluster: VCD, Containerd, Kubernetes 1.28" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: VCD CRI: Containerd @@ -927,7 +927,7 @@ jobs: # run_containerd_1_29: name: "destroy cluster: VCD, Containerd, Kubernetes 1.29" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: VCD CRI: Containerd @@ -1211,7 +1211,7 @@ jobs: # run_containerd_1_30: name: "destroy cluster: VCD, Containerd, Kubernetes 1.30" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: VCD CRI: Containerd @@ -1495,7 +1495,7 @@ jobs: # run_containerd_automatic: name: "destroy cluster: VCD, Containerd, Kubernetes Automatic" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: VCD CRI: Containerd diff --git a/.github/workflows/e2e-abort-vsphere.yml b/.github/workflows/e2e-abort-vsphere.yml index 3dbf67bd0a..269bbfd354 100644 --- a/.github/workflows/e2e-abort-vsphere.yml +++ b/.github/workflows/e2e-abort-vsphere.yml @@ -75,7 +75,7 @@ jobs: # run_containerd_1_26: name: "destroy cluster: vSphere, Containerd, Kubernetes 1.26" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: vSphere CRI: Containerd @@ -353,7 +353,7 @@ jobs: # run_containerd_1_27: name: "destroy cluster: vSphere, Containerd, Kubernetes 1.27" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: vSphere CRI: Containerd @@ -631,7 +631,7 @@ jobs: # run_containerd_1_28: name: "destroy cluster: vSphere, Containerd, Kubernetes 1.28" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: vSphere CRI: Containerd @@ -909,7 +909,7 @@ jobs: # run_containerd_1_29: name: "destroy cluster: vSphere, Containerd, Kubernetes 1.29" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: vSphere CRI: Containerd @@ -1187,7 +1187,7 @@ jobs: # run_containerd_1_30: name: "destroy cluster: vSphere, Containerd, Kubernetes 1.30" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: vSphere CRI: Containerd @@ -1465,7 +1465,7 @@ jobs: # run_containerd_automatic: name: "destroy cluster: vSphere, Containerd, Kubernetes Automatic" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'Standard' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'Standard' }} env: PROVIDER: vSphere CRI: Containerd diff --git a/.github/workflows/e2e-abort-yandex-cloud.yml b/.github/workflows/e2e-abort-yandex-cloud.yml index c25221fc22..08577ef52b 100644 --- a/.github/workflows/e2e-abort-yandex-cloud.yml +++ b/.github/workflows/e2e-abort-yandex-cloud.yml @@ -75,7 +75,7 @@ jobs: # run_containerd_1_26: name: "destroy cluster: Yandex.Cloud, Containerd, Kubernetes 1.26" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.26' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: Yandex.Cloud CRI: Containerd @@ -355,7 +355,7 @@ jobs: # run_containerd_1_27: name: "destroy cluster: Yandex.Cloud, Containerd, Kubernetes 1.27" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.27' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: Yandex.Cloud CRI: Containerd @@ -635,7 +635,7 @@ jobs: # run_containerd_1_28: name: "destroy cluster: Yandex.Cloud, Containerd, Kubernetes 1.28" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.28' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: Yandex.Cloud CRI: Containerd @@ -915,7 +915,7 @@ jobs: # run_containerd_1_29: name: "destroy cluster: Yandex.Cloud, Containerd, Kubernetes 1.29" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.29' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: Yandex.Cloud CRI: Containerd @@ -1195,7 +1195,7 @@ jobs: # run_containerd_1_30: name: "destroy cluster: Yandex.Cloud, Containerd, Kubernetes 1.30" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == '1.30' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: Yandex.Cloud CRI: Containerd @@ -1475,7 +1475,7 @@ jobs: # run_containerd_automatic: name: "destroy cluster: Yandex.Cloud, Containerd, Kubernetes Automatic" - if: ${{ github.event.inputs.cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'WithoutNAT' }} + if: ${{ fromJson(inputs.test_config).cri == 'containerd' && github.event.inputs.k8s_version == 'Automatic' && github.event.inputs.layout == 'WithoutNAT' }} env: PROVIDER: Yandex.Cloud CRI: Containerd diff --git a/.github/workflows/e2e-aws.yml b/.github/workflows/e2e-aws.yml index 3981cabe16..ab5b05d1a6 100644 --- a/.github/workflows/e2e-aws.yml +++ b/.github/workflows/e2e-aws.yml @@ -42,12 +42,10 @@ on: pull_request_head_label: description: 'Head label of pull request. e.g. my_repo:my_feature_branch' required: false - cri: - description: 'A comma-separated list of cri to test. Available: Containerd.' - required: false - ver: - description: 'A comma-separated list of versions to test. Available: from 1.24 to 1.28.' + test_config: + description: 'JSON string of parameters of current test' required: false + default: '{"cri":"Containerd","ver":"1.27","editions":"FE"}' initial_ref_slug: description: 'An image tag to install first and then switch to workflow context ref' required: false diff --git a/.github/workflows/e2e-azure.yml b/.github/workflows/e2e-azure.yml index f8cf1f025a..00bf5067ab 100644 --- a/.github/workflows/e2e-azure.yml +++ b/.github/workflows/e2e-azure.yml @@ -42,12 +42,10 @@ on: pull_request_head_label: description: 'Head label of pull request. e.g. my_repo:my_feature_branch' required: false - cri: - description: 'A comma-separated list of cri to test. Available: Containerd.' - required: false - ver: - description: 'A comma-separated list of versions to test. Available: from 1.24 to 1.28.' + test_config: + description: 'JSON string of parameters of current test' required: false + default: '{"cri":"Containerd","ver":"1.27","editions":"FE"}' initial_ref_slug: description: 'An image tag to install first and then switch to workflow context ref' required: false diff --git a/.github/workflows/e2e-eks.yml b/.github/workflows/e2e-eks.yml index e0334b3d1f..9a6e0069ea 100644 --- a/.github/workflows/e2e-eks.yml +++ b/.github/workflows/e2e-eks.yml @@ -42,12 +42,10 @@ on: pull_request_head_label: description: 'Head label of pull request. e.g. my_repo:my_feature_branch' required: false - cri: - description: 'A comma-separated list of cri to test. Available: Containerd.' - required: false - ver: - description: 'A comma-separated list of versions to test. Available: from 1.24 to 1.28.' + test_config: + description: 'JSON string of parameters of current test' required: false + default: '{"cri":"Containerd","ver":"1.27","editions":"FE"}' initial_ref_slug: description: 'An image tag to install first and then switch to workflow context ref' required: false diff --git a/.github/workflows/e2e-gcp.yml b/.github/workflows/e2e-gcp.yml index 87b01934b3..c9c33f691f 100644 --- a/.github/workflows/e2e-gcp.yml +++ b/.github/workflows/e2e-gcp.yml @@ -42,12 +42,10 @@ on: pull_request_head_label: description: 'Head label of pull request. e.g. my_repo:my_feature_branch' required: false - cri: - description: 'A comma-separated list of cri to test. Available: Containerd.' - required: false - ver: - description: 'A comma-separated list of versions to test. Available: from 1.24 to 1.28.' + test_config: + description: 'JSON string of parameters of current test' required: false + default: '{"cri":"Containerd","ver":"1.27","editions":"FE"}' initial_ref_slug: description: 'An image tag to install first and then switch to workflow context ref' required: false diff --git a/.github/workflows/e2e-openstack.yml b/.github/workflows/e2e-openstack.yml index 7e367a4ba5..aea7231d95 100644 --- a/.github/workflows/e2e-openstack.yml +++ b/.github/workflows/e2e-openstack.yml @@ -42,12 +42,10 @@ on: pull_request_head_label: description: 'Head label of pull request. e.g. my_repo:my_feature_branch' required: false - cri: - description: 'A comma-separated list of cri to test. Available: Containerd.' - required: false - ver: - description: 'A comma-separated list of versions to test. Available: from 1.24 to 1.28.' + test_config: + description: 'JSON string of parameters of current test' required: false + default: '{"cri":"Containerd","ver":"1.27","editions":"FE"}' initial_ref_slug: description: 'An image tag to install first and then switch to workflow context ref' required: false diff --git a/.github/workflows/e2e-static.yml b/.github/workflows/e2e-static.yml index 1d2646a3be..623fb808d4 100644 --- a/.github/workflows/e2e-static.yml +++ b/.github/workflows/e2e-static.yml @@ -42,12 +42,10 @@ on: pull_request_head_label: description: 'Head label of pull request. e.g. my_repo:my_feature_branch' required: false - cri: - description: 'A comma-separated list of cri to test. Available: Containerd.' - required: false - ver: - description: 'A comma-separated list of versions to test. Available: from 1.24 to 1.28.' + test_config: + description: 'JSON string of parameters of current test' required: false + default: '{"cri":"Containerd","ver":"1.27","editions":"FE"}' initial_ref_slug: description: 'An image tag to install first and then switch to workflow context ref' required: false diff --git a/.github/workflows/e2e-vcd.yml b/.github/workflows/e2e-vcd.yml index 8b84b2b88f..3edab368c0 100644 --- a/.github/workflows/e2e-vcd.yml +++ b/.github/workflows/e2e-vcd.yml @@ -42,12 +42,10 @@ on: pull_request_head_label: description: 'Head label of pull request. e.g. my_repo:my_feature_branch' required: false - cri: - description: 'A comma-separated list of cri to test. Available: Containerd.' - required: false - ver: - description: 'A comma-separated list of versions to test. Available: from 1.24 to 1.28.' + test_config: + description: 'JSON string of parameters of current test' required: false + default: '{"cri":"Containerd","ver":"1.27","editions":"FE"}' initial_ref_slug: description: 'An image tag to install first and then switch to workflow context ref' required: false diff --git a/.github/workflows/e2e-vsphere.yml b/.github/workflows/e2e-vsphere.yml index 29c4a562a1..1f6c9d33fe 100644 --- a/.github/workflows/e2e-vsphere.yml +++ b/.github/workflows/e2e-vsphere.yml @@ -42,12 +42,10 @@ on: pull_request_head_label: description: 'Head label of pull request. e.g. my_repo:my_feature_branch' required: false - cri: - description: 'A comma-separated list of cri to test. Available: Containerd.' - required: false - ver: - description: 'A comma-separated list of versions to test. Available: from 1.24 to 1.28.' + test_config: + description: 'JSON string of parameters of current test' required: false + default: '{"cri":"Containerd","ver":"1.27","editions":"FE"}' initial_ref_slug: description: 'An image tag to install first and then switch to workflow context ref' required: false diff --git a/.github/workflows/e2e-yandex-cloud.yml b/.github/workflows/e2e-yandex-cloud.yml index 8ad148df58..da112de6f2 100644 --- a/.github/workflows/e2e-yandex-cloud.yml +++ b/.github/workflows/e2e-yandex-cloud.yml @@ -42,12 +42,10 @@ on: pull_request_head_label: description: 'Head label of pull request. e.g. my_repo:my_feature_branch' required: false - cri: - description: 'A comma-separated list of cri to test. Available: Containerd.' - required: false - ver: - description: 'A comma-separated list of versions to test. Available: from 1.24 to 1.28.' + test_config: + description: 'JSON string of parameters of current test' required: false + default: '{"cri":"Containerd","ver":"1.27","editions":"FE"}' initial_ref_slug: description: 'An image tag to install first and then switch to workflow context ref' required: false