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

GH actions - build-and-test-all: parameterize workflow to run different docker runner versions #14061

Merged
merged 3 commits into from May 2, 2024

Conversation

romeroalx
Copy link
Contributor

@romeroalx romeroalx commented Apr 11, 2024

Short description

Parameterize workflow build-and-test-all for running different container images as runners.

This enables solving the request introduced in #13530 for testing also using libssl1.1.

Before backporting to branches rel/auth-4.9.x and rel/dnsdist-1.9.x, it is required to approve and merge the PR PowerDNS/base-pdns-ci-image#12 in PowerDNS/base-pdns-ci-image

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)
  • checked that this code was merged to master

@coveralls
Copy link

coveralls commented Apr 11, 2024

Pull Request Test Coverage Report for Build 8657820200

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 29 unchanged lines in 7 files lost coverage.
  • Overall coverage increased (+1.0%) to 59.503%

Files with Coverage Reduction New Missed Lines %
pdns/misc.cc 1 61.42%
pdns/iputils.hh 2 74.9%
pdns/dnsdistdist/dnsdist.cc 2 68.34%
pdns/misc.hh 3 82.66%
pdns/signingpipe.cc 5 86.56%
pdns/recursordist/test-syncres_cc1.cc 8 89.73%
ext/json11/json11.cpp 8 64.49%
Totals Coverage Status
Change from base Build 8648661763: 1.0%
Covered Lines: 114107
Relevant Lines: 159290

💛 - Coveralls

@romeroalx
Copy link
Contributor Author

PR updated. Modified to also read from github.base_ref for the case of PRs.

@romeroalx romeroalx requested a review from Habbie April 11, 2024 15:16
@Habbie Habbie merged commit 8dec3cd into PowerDNS:master May 2, 2024
77 checks passed
steps:
- id: get-runner-image
run: |
echo "image-id=ghcr.io/$(echo '${{ github.repository }}' | cut -d '/' -f 1 | tr '[:upper:]' '[:lower:]')/${{ inputs.runner-docker-image-name || env.DEFAULT_RUNNER_DOCKER_IMAGE }}" >> "$GITHUB_OUTPUT"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't the github.repository part break CI on forks? In my fork it yields pull ghcr.io/rgacogne/base-pdns-ci-image/debian-12-pdns-base:master which fails.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right! @Habbie also spotted this last Friday. I will create a new PR that fixes this

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants