Extend LEAPP with actor configuration #655
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ./.github/workflows/reuse-tests-7to8.yml | |
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: ./.github/workflows/reuse-tests-7to8.yml | |
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)" | |
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: ./.github/workflows/reuse-tests-7to8.yml | |
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: ./.github/workflows/reuse-tests-7to8.yml | |
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: ./.github/workflows/reuse-tests-8to9.yml | |
secrets: inherit | |
with: | |
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }} | |
tmt_plan_regex: "^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)(?!.*max_sst)" | |
variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;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: ./.github/workflows/reuse-tests-8to9.yml | |
secrets: inherit | |
with: | |
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }} | |
tmt_plan_regex: "^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)(?!.*max_sst)" | |
variables: 'SOURCE_RELEASE=8.8;TARGET_RELEASE=9.2;LEAPP_DEVEL_TARGET_RELEASE=9.2;RHSM_REPOS=rhel-8-for-x86_64-appstream-beta-rpms,rhel-8-for-x86_64-baseos-beta-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: ./.github/workflows/reuse-tests-8to9.yml | |
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;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-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: ./.github/workflows/reuse-tests-8to9.yml | |
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;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) |