Skip to content

Commit

Permalink
Initial tests CI PoC
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Diblik <8378124+danmyway@users.noreply.github.com>
  • Loading branch information
kokesak and danmyway committed Nov 4, 2024
1 parent e6d7097 commit d5e80d9
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- epel-8-x86_64
- epel-9-x86_64
- epel-10-x86_64
- epel-8-aarch64
- epel-9-aarch64
- epel-10-aarch64
actions:
# bump spec so we get release starting with 2 and hence all the default branch builds will
# have higher NVR than all the PR builds
Expand All @@ -38,3 +41,70 @@ jobs:
# do not get the version from a tag (git describe) but from the spec file
get-current-version:
- grep -oP '^Version:\s+\K\S+' packaging/command-line-assistant.spec

# Test jobs
#- &tests-e2e-vm
- job: tests
identifier: vm-e2e-tests
# Run tests on-demand
manual_trigger: true
trigger: pull_request
# TODO: change to cla-tests once it is made public. At the moment this repo is unreachable for packit
#fmf_url: "https://gitlab.cee.redhat.com/rhel-lightspeed/enhanced-shell/cla-tests"
fmf_url: "https://github.com/danmyway/shellai-tests"
fmf_ref: main
# TODO: Replace with tmt_plan: "plans/e2e" or similar
tmt_plan: "plans"
use_internal_tf: true
targets:
epel-9-x86_64:
distros: [RHEL-9-Nightly]
epel-10-x86_64:
distros: [RHEL-10-Nightly]
epel-9-aarch64:
distros: [RHEL-9-Nightly]
epel-10-aarch64:
distros: [RHEL-10-Nightly]
tf_extra_params:
environments:
- settings:
provisioning:
tags:
BusinessUnit: sst_rspeed_qe
labels:
- e2e
- vm

# - &tests-sanity-container
# job: tests
# <<: *tests-e2e-vm
# identifier: container-sanity-tests
# manual_trigger: false
# # TODO: Replace with tmt_plan: "plans/sanity"
# tmt_plan: "plans"
# targets:
# # There is currently only RHEL-9 container available at the moment
# epel-9-x86_64:
# distros: [RHEL-9-Nightly]
# tf_extra_params:
# environments:
# - os: null
# variables:
# IMAGE: registry.access.redhat.com/ubi9:latest
# settings:
# provisioning:
# tags:
# BusinessUnit: sst_rspeed_qe
# labels:
# - sanity
# - container

# - &tests-sanity-vm
# job: tests
# <<: *tests-e2e-vm
# identifier: vm-sanity-tests
# # TODO: Replace with tmt_plan: "plans/sanity"
# tmt_plan: "plans"
# labels:
# - sanity
# - vm

0 comments on commit d5e80d9

Please sign in to comment.