Page MenuHomePhabricator

Generalize instructions for entrypoint and working directory
ClosedPublic

Authored by dduvall on Feb 28 2018, 1:15 AM.
Referenced Files
Unknown Object (File)
Sun, Nov 12, 1:56 AM
Unknown Object (File)
Mon, Nov 6, 8:50 PM
Unknown Object (File)
Oct 26 2023, 7:03 PM
Unknown Object (File)
Oct 23 2023, 4:03 AM
Unknown Object (File)
Oct 11 2023, 9:14 AM
Unknown Object (File)
Sep 27 2023, 12:58 PM
Unknown Object (File)
Sep 22 2023, 3:51 AM
Unknown Object (File)
Sep 21 2023, 12:51 AM
Subscribers
None

Details

Reviewers
thcipriani
demon
hashar
Group Reviewers
Release-Engineering-Team
Commits
rGBLBR0902d688e996: Generalize instructions for entrypoint and working directory
Patch without arc
git checkout -b D991 && curl -L https://phabricator.wikimedia.org/D991?download=true | git apply
Summary

Introduce new build.EntryPoint and build.WorkingDirectory
instructions to allow configuration to inject them instead of hard
coding their generation in the Docker compiler.

Simplified the Docker compiler to simply iterate over build phases as
returned by a new function build.Phases().

Depends on D990

Test Plan

Run go test ./....

Diff Detail

Repository
rGBLBR Blubber
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster completed remote builds in Restricted Buildable.Feb 28 2018, 1:15 AM

Makes sense, looks good, works well. Nice :)

This revision is now accepted and ready to land.Mar 6 2018, 12:02 AM
This revision was automatically updated to reflect the committed changes.