You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
6.4 KiB
132 lines
6.4 KiB
9 months ago
|
name: tmt@TF
|
||
|
|
||
|
on:
|
||
|
issue_comment:
|
||
|
types:
|
||
|
- created
|
||
|
|
||
|
jobs:
|
||
|
call_workflow_copr_build:
|
||
|
uses: ./.github/workflows/reuse-copr-build.yml
|
||
|
secrets: inherit
|
||
|
|
||
|
call_workflow_tests_79to88_integration:
|
||
|
needs: call_workflow_copr_build
|
||
|
uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@master
|
||
|
secrets: inherit
|
||
|
with:
|
||
|
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
|
||
|
tmt_plan_regex: "^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*8to9)(?!.*max_sst)"
|
||
|
pull_request_status_name: "7.9to8.8"
|
||
|
variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.8;LEAPPDATA_BRANCH=upstream'
|
||
|
if: |
|
||
|
github.event.issue.pull_request
|
||
|
&& ! startsWith(github.event.comment.body, '/rerun-sst')
|
||
|
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
|
||
|
|
||
|
call_workflow_tests_79to86_integration:
|
||
|
needs: call_workflow_copr_build
|
||
|
uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@master
|
||
|
secrets: inherit
|
||
|
with:
|
||
|
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
|
||
|
tmt_plan_regex: "^(?!.*max_sst)(.*tier1)"
|
||
|
variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.6;LEAPPDATA_BRANCH=upstream'
|
||
|
pull_request_status_name: "7.9to8.6"
|
||
|
if: |
|
||
|
github.event.issue.pull_request
|
||
|
&& ! startsWith(github.event.comment.body, '/rerun-sst')
|
||
|
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
|
||
|
|
||
|
call_workflow_tests_79to88_sst:
|
||
|
needs: call_workflow_copr_build
|
||
|
uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@master
|
||
|
secrets: inherit
|
||
|
with:
|
||
|
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
|
||
|
tmt_plan_regex: "^(?!.*tier[2-3].*)(.*max_sst.*)"
|
||
|
pull_request_status_name: "7.9to8.8-sst"
|
||
|
update_pull_request_status: 'false'
|
||
|
variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.8;LEAPPDATA_BRANCH=upstream'
|
||
|
if: |
|
||
|
github.event.issue.pull_request
|
||
|
&& startsWith(github.event.comment.body, '/rerun-sst')
|
||
|
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
|
||
|
|
||
|
call_workflow_tests_7to8_aws:
|
||
|
needs: call_workflow_copr_build
|
||
|
uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@master
|
||
|
secrets: inherit
|
||
|
with:
|
||
|
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
|
||
|
tmt_plan_regex: "^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*8to9)(.*e2e)"
|
||
|
compose: "RHEL-7.9-rhui"
|
||
|
environment_settings: '{"provisioning": {"post_install_script": "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; echo 42; yum-config-manager --enable rhel-7-server-rhui-optional-rpms"}}'
|
||
|
pull_request_status_name: "7to8-aws-e2e"
|
||
|
variables: "SOURCE_RELEASE=7.9;TARGET_RELEASE=8.6;RHUI=aws;LEAPPDATA_BRANCH=upstream"
|
||
|
if: |
|
||
|
github.event.issue.pull_request
|
||
|
&& ! startsWith(github.event.comment.body, '/rerun-sst')
|
||
|
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
|
||
|
|
||
|
call_workflow_tests_86to90_integration:
|
||
|
needs: call_workflow_copr_build
|
||
|
uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@master
|
||
|
secrets: inherit
|
||
|
with:
|
||
|
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
|
||
|
tmt_plan_regex: "^(?!.*max_sst)(.*tier1)"
|
||
|
variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream'
|
||
|
pull_request_status_name: "8.6to9.0"
|
||
|
if: |
|
||
|
github.event.issue.pull_request
|
||
|
&& ! startsWith(github.event.comment.body, '/rerun-sst')
|
||
|
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
|
||
|
|
||
|
call_workflow_tests_88to92_integration:
|
||
|
needs: call_workflow_copr_build
|
||
|
uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@master
|
||
|
secrets: inherit
|
||
|
with:
|
||
|
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
|
||
|
tmt_plan_regex: "^(?!.*max_sst)(.*tier1)"
|
||
|
variables: 'SOURCE_RELEASE=8.8;TARGET_RELEASE=9.2;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-rpms,rhel-8-for-x86_64-baseos-rpms;LEAPPDATA_BRANCH=upstream'
|
||
|
compose: "RHEL-8.8.0-Nightly"
|
||
|
pull_request_status_name: "8.8to9.2"
|
||
|
tmt_context: "distro=rhel-8.8"
|
||
|
if: |
|
||
|
github.event.issue.pull_request
|
||
|
&& ! startsWith(github.event.comment.body, '/rerun-sst')
|
||
|
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
|
||
|
|
||
|
call_workflow_tests_86to90_sst:
|
||
|
needs: call_workflow_copr_build
|
||
|
uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@master
|
||
|
secrets: inherit
|
||
|
with:
|
||
|
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
|
||
|
tmt_plan_regex: "^(?!.*tier[2-3].*)(.*max_sst.*)"
|
||
|
variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream'
|
||
|
pull_request_status_name: "8to9-sst"
|
||
|
update_pull_request_status: 'false'
|
||
|
if: |
|
||
|
github.event.issue.pull_request
|
||
|
&& startsWith(github.event.comment.body, '/rerun-sst')
|
||
|
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
|
||
|
|
||
|
call_workflow_tests_86to90_aws:
|
||
|
needs: call_workflow_copr_build
|
||
|
uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@master
|
||
|
secrets: inherit
|
||
|
with:
|
||
|
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
|
||
|
tmt_plan_regex: "^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)(.*e2e)"
|
||
|
compose: "RHEL-8.6-rhui"
|
||
|
environment_settings: '{"provisioning": {"post_install_script": "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"}}'
|
||
|
pull_request_status_name: "8to9-aws-e2e"
|
||
|
variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;RHUI=aws;LEAPPDATA_BRANCH=upstream'
|
||
|
if: |
|
||
|
github.event.issue.pull_request
|
||
|
&& ! startsWith(github.event.comment.body, '/rerun-sst')
|
||
|
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
|