Skip to content

Find a way to exclude test data when building docker image. #350

@alxmrs

Description

@alxmrs

I just noticed something. When trying to build a docker image with a clean-ish branch (no non-checked in files), I got this log trace from Google Cloud Build:

Creating temporary tarball archive of 159 file(s) totalling 190.3 MiB before compression.

I did an experiment: I deleted all the test data folders and re-rand the command to build our docker image:

Creating temporary tarball archive of 124 file(s) totalling 958.1 KiB before compression.

This is quite a huge improvement! In general, I wonder if there's a way where we can not have checked-in test data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions