Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade packit.yaml config to have integration tests #804

Closed
wants to merge 15 commits into from
Closed
Prev Previous commit
Next Next commit
Change from leapp-repository to leapp-upgrade
Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
  • Loading branch information
r0x0d committed Feb 7, 2023
commit dda79bda9e14a93e87c55dce1178a84bcbc93365
16 changes: 8 additions & 8 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ jobs:
distros: [RHEL-7.9-ZStream]
identifier: tests-79to84
tmt_plan: "^(?!.*upgrade_plugin)(?!.*c2r)(?!.*sap)(?!.*8to9)(?!.*morf)"
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y leapp-repository*master*"
tf_post_install_script: '#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y \"leapp-upgrade*master*\"'

- job: tests
fmf_url: "https://gitlab.cee.redhat.com/oamg/leapp-tests"
@@ -66,7 +66,7 @@ jobs:
distros: [RHEL-7.9-ZStream]
identifier: tests-79to84-sst
tmt_plan: "^(/plans/morf)(?!.*sap)"
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y leapp-repository*master*"
tf_post_install_script: '#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y \"leapp-upgrade*master*\"'
env:
TARGET_RELEASE: 8.6

@@ -80,7 +80,7 @@ jobs:
distros: [RHEL-7.9-rhui]
identifier: tests-7to8-aws
tmt_plan: "^(?!.*upgrade_plugin)(?!.*c2r)(?!.*sap)(?!.*8to9)(.*e2e)"
tf_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; yum install -y leapp-repository*master*"
tf_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; yum install -y \"leapp-upgrade*master*\"'
env:
RHUI: "aws"

@@ -94,7 +94,7 @@ jobs:
distros: [RHEL-7.9-ZStream]
identifier: tests-79to86
tmt_plan: "^(?!.*upgrade_plugin)(?!.*c2r)(?!.*sap)(?!.*8to9)(?!.*morf)"
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y leapp-repository*master*"
tf_post_install_script: '#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y \"leapp-upgrade*master*\"'
env:
TARGET_RELEASE: 8.6

@@ -108,7 +108,7 @@ jobs:
distros: [RHEL-8.6-rhui]
identifier: tests-8to9-aws
tmt_plan: "^(?!.*upgrade_plugin)(?!.*c2r)(?!.*sap)(?!.*7to8)(.*e2e)"
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y leapp-repository*master*"
tf_post_install_script: '#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y \"leapp-upgrade*master*\"'
env:
RHUI: aws

@@ -122,7 +122,7 @@ jobs:
distros: [RHEL-8.6.0-Nightly]
identifier: tests-86to90
tmt_plan: "^(?!.*upgrade_plugin)(?!.*c2r)(?!.*sap)(?!.*7to8)(?!.*morf)"
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y leapp-repository*master*"
tf_post_install_script: '#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y \"leapp-upgrade*master*\"'
env:
TARGET_RELEASE: "9.0"
TARGET_KERNEL: el9
@@ -138,7 +138,7 @@ jobs:
distros: [RHEL-8.6.0-Nightly]
identifier: tests-86to90-sst
tmt_plan: "^(/plans/morf)(?!.*sap)"
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y leapp-repository*master*"
tf_post_install_script: '#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y \"leapp-upgrade*master*\"'
env:
TARGET_RELEASE: "9.0"
TARGET_KERNEL: el9
@@ -154,7 +154,7 @@ jobs:
distros: [RHEL-8.7.0-Nightly]
identifier: tests-87to91
tmt_plan: "^(?!.*upgrade_plugin)(?!.*c2r)(?!.*sap)(?!.*7to8)(?!.*morf)"
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y leapp-repository*master*"
tf_post_install_script: '#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; yum install -y \"leapp-upgrade*master*\"'
env:
LEAPP_DEVEL_TARGET_PRODUCT_TYPE: beta
RHSM_SKU: RH00069