Skip to content

Commit

Permalink
Remove leapp-upgrade from post-install-script installation
Browse files Browse the repository at this point in the history
Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
  • Loading branch information
r0x0d committed Nov 18, 2022
1 parent 2498258 commit 15c6b6f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
get-current-version:
# get version from spec file instead from git tag
- bash -c "grep -m1 '^Version:' packaging/leapp.spec | grep -om1 '[0-9].[0-9.]**'"

- job: copr_build
trigger: commit
metadata:
Expand All @@ -44,6 +45,7 @@ jobs:
# get version from spec file instead from git tag
- bash -c "grep -m1 '^Version:' packaging/leapp.spec | grep -om1 '[0-9].[0-9.]**'"


- job: tests
fmf_url: "https://gitlab.cee.redhat.com/oamg/leapp-tests"
fmf_ref: "master"
Expand All @@ -54,7 +56,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-upgrade*master*\"'
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"

- job: tests
fmf_url: "https://gitlab.cee.redhat.com/oamg/leapp-tests"
Expand All @@ -66,7 +68,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-upgrade*master*\"'
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"
env:
TARGET_RELEASE: 8.6

Expand All @@ -80,7 +82,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-upgrade*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"
env:
RHUI: "aws"

Expand All @@ -94,7 +96,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-upgrade*master*\"'
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"
env:
TARGET_RELEASE: 8.6

Expand All @@ -108,7 +110,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-upgrade*master*\"'
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"
env:
RHUI: aws

Expand All @@ -122,7 +124,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-upgrade*master*\"'
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"
env:
TARGET_RELEASE: "9.0"
TARGET_KERNEL: el9
Expand All @@ -138,7 +140,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-upgrade*master*\"'
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"
env:
TARGET_RELEASE: "9.0"
TARGET_KERNEL: el9
Expand All @@ -154,7 +156,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-upgrade*master*\"'
tf_post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"
env:
LEAPP_DEVEL_TARGET_PRODUCT_TYPE: beta
RHSM_SKU: RH00069
Expand Down

0 comments on commit 15c6b6f

Please sign in to comment.