You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new Dockerfile for building Swift-DocC-Render-Artifact
Adds a new Dockerfile that can be used to generate a built version of Swift-DocC-Render in isolation. This allows developers interested in having an up-to-date version of Swift-DocC-Render to build one in an automated way without installing Node.
Developers can build a copy of Swift-DocC-Render at the given branch with the included helper script by running something like the following:
./build-swift-docc-render.sh \
--branch <branch-in-swift-docc-render-repo> \
--output-path <path-to-output-directory>
The helper script starts by building a new version of the included Docker container with caching disabled. It then copies out the built artifact to the given output directory, and deletes the created Docker container.
Resolves r81634420.
Copy file name to clipboardExpand all lines: swift-ci/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ The Dockerfiles used for Continuous Integration are layed out under the top leve
11
11
Under that, we have a directory for each of the target branches, e.g.
12
12
Continuous Integration for Swift's `master` branch uses the `swift-ci/master` Dockerfiles.
13
13
14
+
There is also a specific directory (`swift-docc-render`) for the Dockerfile used to build Swift-DocC-Render. Swift-DocC-Render builds separately from the rest of the projects in the Swift toolchain and ships a pre-built copy for use in the toolchain in the Swift-DocC-Render-Artifact repository.
15
+
14
16
## Continuous Integration
15
17
16
18
This system is designed to support many distributions.
0 commit comments