diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 00000000..f17cc7a5 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,13 @@ +--- +jobs: + - job: tests + trigger: pull_request + branch: main + targets: + - fedora-stable + skip_build: true + tf_extra_params: + environments: + - tmt: + context: + target_PR_branch: main diff --git a/packit-ci.fmf b/packit-ci.fmf new file mode 100644 index 00000000..871b9f57 --- /dev/null +++ b/packit-ci.fmf @@ -0,0 +1,36 @@ +summary: CI for PR's to main branch + + +prepare: + - how: shell + script: + - ln -s $(pwd) /var/tmp/tang-operator_sources || true + - systemctl disable --now dnf-makecache.service || true + - systemctl disable --now dnf-makecache.timer || true + - dnf makecache + +environment: + TANG_IMAGE: "quay.io/sec-eng-special/fedora_tang_server" + UPSTREAM_OPERATOR: "true" + REPO_CLONE: "tang" + +discover: + - name: Configure_test_system + how: fmf + url: https://github.com/RedHat-SP-Security/common-cloud-orchestration + ref: main + test: + - /Setup/setup_local_cluster + - name: Run_tests + how: fmf + url: https://github.com/RedHat-SP-Security/tang-operator-tests + ref: main + test: + - /Setup/install_upstream_tang-operator + - /Setup/creating_test_namespace + - /Sanity + - /Setup/clean_cluster + +execute: + how: tmt +