Skip to content

Commit

Permalink
packit: Bump Fedora version used for code coverage
Browse files Browse the repository at this point in the history
Fedora 37 is EOL, use Fedora 39 instead

Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
  • Loading branch information
ansasaki committed Jan 9, 2024
1 parent a5dc985 commit 394a125
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/submit-HEAD-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install testing-farm script
run: pip3 -v install tft-cli
- name: Run tests on Testing Farm
run: testing-farm request --context distro=fedora-37 --arch x86_64 --compose Fedora-37 --plan '/e2e' -e UPLOAD_COVERAGE=1 2>&1 | tee tt_output
run: testing-farm request --context distro=fedora-39 --arch x86_64 --compose Fedora-39 --plan '/e2e' -e UPLOAD_COVERAGE=1 2>&1 | tee tt_output
env:
TESTING_FARM_API_TOKEN: ${{ secrets.TESTING_FARM_API_TOKEN }}
- name: Find PR Packit tests to finish and download e2e_coverage.txt and upstream_coverage.xml coverage files.
Expand Down
4 changes: 2 additions & 2 deletions packit-ci.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
- how: shell
script:
- yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
# disable code coverage measurement everywhere except F37 and CS9
- when: distro != fedora-37
# disable code coverage measurement everywhere except F39 and CS9
- when: distro != fedora-39
environment+:
KEYLIME_RUST_CODE_COVERAGE: 0
discover+:
Expand Down
4 changes: 2 additions & 2 deletions scripts/download_packit_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ PROJECT="keylime/rust-keylime"

# TF_JOB_DESC points to a Testing farm job that does code coverage measurement and
# uploads coverage XML files to a web drive
# currently we are doing that in a job running tests on Fedora-37
TF_JOB_DESC="testing-farm:fedora-37-x86_64"
# currently we are doing that in a job running tests on Fedora-39
TF_JOB_DESC="testing-farm:fedora-39-x86_64"
TF_TEST_OUTPUT="/setup/generate_upstream_rust_keylime_code_coverage.*/output.txt"
TF_ARTIFACTS_URL_PREFIX="https://artifacts.dev.testing-farm.io"

Expand Down

0 comments on commit 394a125

Please sign in to comment.