containers / podman-desktop-e2e

Podman desktop e2e tests
Apache License 2.0
3 stars 7 forks source link

[Enhancement] Single Point of Build #168

Open adrianriobo opened 4 months ago

adrianriobo commented 4 months ago

The idea is to avoid duplication and over computation across the podman desktop ecosystem, each extension to be tested requires the latest build of Podman Desktop built for development.

As so instead of add that building process across each pipeline/flow on each platform / component there will be one flow doing it on each merge on main branch for Podman Desktop that will send an event to a webhook on podman-desktop-e2e which will trigger a build of the development version and packetize it to be then reused from any other flow / pipeline

podman-desktop-testing drawio

adrianriobo commented 4 months ago

Side note if use deliverest as base image for them we will have something to directly copy the development version to a target host

adrianriobo commented 4 months ago

Should we keep the same version of PD during a extension PR life cycle @benoitf (i.e even if we manage to use pre-release versions of PD, should we lock the PR pre release version to run the PR until it got merged?)

benoitf commented 4 months ago

@adrianriobo

how would it be possible to change the version of Podman Desktop during the test of an extension PR ?

you mean, if someone add a new commit later to the PR of an extension, maybe during that time Podman Desktop had new commits ?

I would assume that each new run (after commit/amend) on the extension PR will fetch the current main build of Podman Desktop

adrianriobo commented 4 months ago

Yeah exactly; lets imagine I create a PR on a extension today and it is tested against the current pre-released version of PD on gh; them tomorrow a new commit (or force push) comes into the extension PR and the pipeline is triggered, by then maybe there is a different latest pre- release vearion of PD on gh.... as so the PR will be tested against a different PD version.

I would assume that each new run (after commit/amend) on the extension PR will fetch the current main build of Podman Desktop

I think the same, there should not be an issue having different PD versions on each PR run, as code should not be dependent