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

[v0.10] cherry-picks for v0.10.4 #3048

Merged
merged 9 commits into from Aug 22, 2022
Merged

Commits on Aug 22, 2022

  1. dockerfile: fix created timestamp

    Images built using docker-image:// passed through buildkit named
    contexts had the wrong Image.Created timestamp, using the timestamp from
    the used image, instead of the current datetime.
    
    To fix, we perform the same input cleanup as in Dockerfile2LLB, and
    explicitly set the timestamp to nil.
    
    Signed-off-by: Justin Chadwell <me@jedevc.com>
    (cherry picked from commit 63b2e01)
    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    jedevc authored and tonistiigi committed Aug 22, 2022
    Copy the full SHA
    9c18f89 View commit details
    Browse the repository at this point in the history
  2. dockerfile: add test for named contexts timestamps

    Signed-off-by: Justin Chadwell <me@jedevc.com>
    (cherry picked from commit 59a295b)
    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    jedevc authored and tonistiigi committed Aug 22, 2022
    Copy the full SHA
    9346ca0 View commit details
    Browse the repository at this point in the history
  3. Pass platform arg for stage state to ContextByName

    Fixes image build contexts not respecting the platform specified in the
    Dockerfile `FROM --platform` argument.
    Before this change buildkit always resolves images using the target
    platform, but `FROM` may specifiy something else (such as
    $BUILDPLATFORM).
    
    Signed-off-by: Brian Goff <cpuguy83@gmail.com>
    (cherry picked from commit cc6137c)
    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    cpuguy83 authored and tonistiigi committed Aug 22, 2022
    Copy the full SHA
    a88f415 View commit details
    Browse the repository at this point in the history
  4. frontend: make sure interactive containers are released on disconnect

    Even when client does not release a container it should
    be released automatically on disconnect.
    
    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    (cherry picked from commit 80aa8b4)
    tonistiigi committed Aug 22, 2022
    Copy the full SHA
    b8cdffd View commit details
    Browse the repository at this point in the history
  5. Add config, logging for healthcheck

    Signed-off-by: Corey Larson <corey@earthly.dev>
    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    (cherry picked from commit b637861)
    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    dchw authored and tonistiigi committed Aug 22, 2022
    Copy the full SHA
    5ccbe14 View commit details
    Browse the repository at this point in the history
  6. solver: forward nil return value from sharedOp.Exec

    Exec could sometimes return nil, which would then result in a
    segmentation fault, as the code attempts to access a field in the nil
    result to return. This patch introduces a sanity check before accessing
    any parts of the field.
    
    Signed-off-by: Justin Chadwell <me@jedevc.com>
    (cherry picked from commit c58f128)
    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    jedevc authored and tonistiigi committed Aug 22, 2022
    Copy the full SHA
    d8bbf8e View commit details
    Browse the repository at this point in the history
  7. executor/oci: replace deprecated types.IP

    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    (cherry picked from commit dfb08e3)
    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    thaJeztah authored and tonistiigi committed Aug 22, 2022
    Copy the full SHA
    6af912a View commit details
    Browse the repository at this point in the history
  8. Update gopkg.in/yaml.v3 to v3.0.0

    Signed-off-by: Sascha Schwarze <schwarzs@de.ibm.com>
    (cherry picked from commit df16694)
    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    SaschaSchwarze0 authored and tonistiigi committed Aug 22, 2022
    Copy the full SHA
    cd6fdf0 View commit details
    Browse the repository at this point in the history
  9. fix cancellation error not being detected and erroneously cached

    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    (cherry picked from commit 6644f16)
    Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
    tonistiigi committed Aug 22, 2022
    Copy the full SHA
    36e7f50 View commit details
    Browse the repository at this point in the history