1
0
mirror of https://github.com/containers/buildah.git synced 2025-04-19 18:02:18 +03:00

4 Commits

Author SHA1 Message Date
flouthoc
de3c3baf09
unit: deparallize some tests
See issue: https://github.com/containers/buildah/issues/5967

Signed-off-by: flouthoc <flouthoc.git@gmail.com>
2025-02-04 11:07:43 -08:00
flouthoc
aadfc5cf30
unit_test: use Parallel test where possible
Add `t.Parallel()` to unit tests whereever its possible without race.

Signed-off-by: flouthoc <flouthoc.git@gmail.com>
2025-02-04 11:07:15 -08:00
Nalin Dahyabhai
c39f622d0a unit tests: use test-specific policy.json and registries.conf
In unit tests that create a SystemContext, point that SystemContext at
the testing signature policy and registries configuration.  This should
cause us to pay attention to mirroring settings for images used by this
set of tests.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-08-08 15:56:17 -04:00
Nalin Dahyabhai
c467bd139a Add PrependedLinkedLayers/AppendedLinkedLayers to CommitOptions
Add API for adding arbitrary layers at commit-time via CommitOptions,
and via methods of the Builder type.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-07-25 15:49:17 -04:00