Skip to content

CI migration#2883

Merged
Luap99 merged 4 commits into
podman-container-tools:mainfrom
mtrmac:ci-draft
Jun 1, 2026
Merged

CI migration#2883
Luap99 merged 4 commits into
podman-container-tools:mainfrom
mtrmac:ci-draft

Conversation

@mtrmac
Copy link
Copy Markdown
Contributor

@mtrmac mtrmac commented May 29, 2026

Mirrors validate, doccheck, cross, osx, test_skopeo, and ostree_rs_ext
from containers/skopeo's .cirrus.yml into a GH Actions workflow on
podman-io/skopeo-sandbox.

Signed-off-by: Tim Zhou <tizhou@redhat.com>
Signed-off-by: Tim Zhou <tizhou@redhat.com>
Signed-off-by: Tim Zhou <tizhou@redhat.com>
Comment thread .github/workflows/ci.yml Outdated
runs-on: oracle-vm-4cpu-16gb-x86-64
timeout-minutes: 45
container:
image: quay.io/libpod/skopeo_cidev:${{ vars.IMAGE_TAG }}
Copy link
Copy Markdown
Contributor Author

@mtrmac mtrmac May 29, 2026

Choose a reason for hiding this comment

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

Mirroring the sandbox repo, I have defined https://github.com/podman-container-tools/skopeo/settings/variables/actions/IMAGE_TAG .

But we definitely need that to be per-branch, and preferably Renovate-managed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

… that doesn’t work because repo variables are not available in pull requests.

I tried using env: at the top level of the workflow and ${{ env. }} in these places, but that doesn’t recognize env.. I might well be doing something dumb.

So I just hard-coded the tag for now.

@mtrmac mtrmac force-pushed the ci-draft branch 2 times, most recently from 3ceafe1 to e3f3809 Compare May 29, 2026 17:16
@mtrmac
Copy link
Copy Markdown
Contributor Author

mtrmac commented May 29, 2026

For future maintenance: Note also comments in podman-container-tools/skopeo-sandbox#1 and podman-container-tools/skopeo-sandbox#9 .

Comment thread .github/workflows/ci.yml
cancel-in-progress: true

jobs:
path-filter:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am ok with dropping this here, I agree the complexity is not worth it on skopeo

The POC used a repo settings variable, but that doesn't
work for pull requests; and it would be hard to maintain
with branches.

Sadly, there seems to be no easy facility to define a file-wide
constant in GitHub actions, so hard-code three copies. Hopefully
Renovate can be set up to update this, then the number of copies
won't matter.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@mtrmac mtrmac marked this pull request as ready for review June 1, 2026 13:24
@mtrmac
Copy link
Copy Markdown
Contributor Author

mtrmac commented Jun 1, 2026

Marking ready for review now.

@mtrmac mtrmac changed the title Proof of concept: CI migration CI migration Jun 1, 2026
@timcoding1988
Copy link
Copy Markdown
Contributor

LGTM

Copy link
Copy Markdown
Contributor

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

LGTM

@Luap99 Luap99 merged commit a6f223b into podman-container-tools:main Jun 1, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants