Page MenuHomePhabricator

[dockerignore] Add missing entries
ClosedPublic

Authored by bartek on Aug 30 2023, 1:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 7, 11:49 AM
Unknown Object (File)
Thu, Jul 4, 1:59 AM
Unknown Object (File)
Thu, Jun 27, 3:58 PM
Unknown Object (File)
Tue, Jun 25, 10:45 PM
Unknown Object (File)
Tue, Jun 25, 2:55 PM
Unknown Object (File)
Mon, Jun 24, 9:54 PM
Unknown Object (File)
Fri, Jun 21, 3:54 AM
Unknown Object (File)
Thu, Jun 20, 9:22 AM
Subscribers

Details

Summary

Noticed that many things weren't dockerignored, especially the target directories in services (Rust build artifacts dir)

Test Plan

CI docker builds, also seen improvement in docker build context size.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Aug 30 2023, 2:27 PM

Can we also add native/native_rust_library/target?

Also I wasn't aware of this when I was implementing the desktop app so we can also add:

  • desktop/node_modules
  • desktop/out
  • desktop/assets
  • desktop/dist
  • desktop/*.provisionprofile to avoid accidentally leaking them (note: I don't think anyone other than me was building signed macOS apps, and at that time the only docker image I built was electron-update-server which I checked and it doesn't copy anything in desktop/)
This revision is now accepted and ready to land.Aug 31 2023, 2:25 AM

Can we also add native/native_rust_library/target?

The whole native, with some exceptions, is already added.

Also I wasn't aware of this when I was implementing the desktop app so we can also add:

  • desktop/node_modules
  • desktop/out
  • desktop/assets
  • desktop/dist
  • desktop/*.provisionprofile to avoid accidentally leaking them (note: I don't think anyone other than me was building signed macOS apps, and at that time the only docker image I built was electron-update-server which I checked and it doesn't copy anything in desktop/)

Sure

The whole native, with some exceptions, is already added.

Oh right. In that case is the native/cpp/**/build not needed?

The whole native, with some exceptions, is already added.

Oh right. In that case is the native/cpp/**/build not needed?

Apparently not, will remove it before landing

This revision was automatically updated to reflect the committed changes.