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
Copy file name to clipboardExpand all lines: docs/mirrors.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,18 +62,18 @@ buildcache:
62
62
63
63
| Field | Required | Description |
64
64
|-------|----------|-------------|
65
-
| `url` | yes¹ | location of the cache (a `file://` path, or an `http(s)://`, `s3://` or `oci://` URL) |
65
+
| `url` | yes[^1]| location of the cache (a `file://` path, or an `http(s)://`, `s3://` or `oci://` URL) |
66
66
| `private_key` | no | PGP key used to sign and push packages (see [Keys](#keys)); omit for a read-only cache |
67
67
| `public_key` | no | PGP key used to verify downloaded packages |
68
68
| `name` | no | name Spack registers the mirror under (default `buildcache`) |
69
69
| `mount_specific` | no | store the cache in a per-mount-point sub-directory (default `false`) |
70
-
| `fetch` / `push` | no¹ | separate read/write [connections](#connections-and-authentication), used instead of a single `url` |
70
+
| `fetch` / `push` | no[^1] | separate read/write [connections](#connections-and-authentication), used instead of a single `url` |
71
71
| `binary` | no | the cache holds binary packages (default `true`) |
72
72
| `source` | no | the cache also holds package sources (default `false`) |
73
73
| `signed` | no | whether Spack signs/verifies binaries with GPG (passed through to Spack) |
74
74
| `autopush` | no | Spack pushes each package as soon as it is installed (passed through to Spack) |
75
75
76
-
¹ Give either a top-level `url` *or* explicit `fetch`/`push` connections — see [Connections and authentication](#connections-and-authentication).
76
+
[^1]:Give either a top-level `url` *or* explicit `fetch`/`push` connections — see [Connections and authentication](#connections-and-authentication).
77
77
78
78
### Read-only build cache
79
79
@@ -172,15 +172,13 @@ sourcemirror:
172
172
173
173
| Field | Required | Description |
174
174
|-------|----------|-------------|
175
-
| `url` | yes¹ | location of the source mirror |
176
-
| `fetch` / `push` | no¹ | separate read/write [connections](#connections-and-authentication), used instead of a single `url` |
175
+
| `url` | yes[^1] | location of the source mirror |
176
+
| `fetch` / `push` | no[^1] | separate read/write [connections](#connections-and-authentication), used instead of a single `url` |
177
177
| `source` | no | the mirror holds package sources (default `true`) |
178
178
| `binary` | no | the mirror also holds binary packages (default `false`) |
179
179
| `signed` | no | whether Spack signs/verifies binaries with GPG (passed through to Spack) |
180
180
| `autopush` | no | Spack pushes to the mirror as soon as a package is installed (passed through to Spack) |
181
181
182
-
¹ Give either a top-level `url` *or* explicit `fetch`/`push` connections — see [Connections and authentication](#connections-and-authentication).
183
-
184
182
Source mirrors need no keys: Spack verifies every downloaded source against the checksum in its package recipe, whether it comes from the upstream url or a mirror.
185
183
186
184
Populate a source mirror on an internet-connected system with Spack:
0 commit comments