Page MenuHomePhabricator

[dockerignore] Add missing entries
ClosedPublic

Authored by bartek on Aug 30 2023, 1:54 PM.
Tags
None
Referenced Files
F3368307: D9036.diff
Mon, Nov 25, 7:13 PM
Unknown Object (File)
Fri, Nov 22, 3:43 PM
Unknown Object (File)
Fri, Nov 22, 3:02 PM
Unknown Object (File)
Fri, Nov 22, 3:00 PM
Unknown Object (File)
Wed, Nov 13, 7:27 PM
Unknown Object (File)
Wed, Nov 6, 4:41 AM
Unknown Object (File)
Wed, Nov 6, 4:41 AM
Unknown Object (File)
Wed, Nov 6, 4:41 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.