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: README.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ The `settings` section of the configuration file is used to configure the applic
57
57
|`defaults.tasks.platforms`| default platforms for tasks | no |
58
58
|`defaults.tasks.silent`| default silent setting for tasks | no |
59
59
|`dotenv`| array of `.env` filenames to load | no |
60
+
|`cache.ttl-minutes`| number of minutes to cache remote files | no |
60
61
|`exit-on-checksum-mismatch`|`boolean` value specifying whether to exit if a checksum mismatch occurs when including a remote file | no |
61
62
62
63
Example `settings` section:
@@ -68,6 +69,8 @@ version: 1.0.0
68
69
settings:
69
70
dotenv: ['.env', '.env.local'] # loads both `.env` and `.env.local` files, defaults to `.env`.
70
71
exit-on-checksum-mismatch: false # do not exit if a checksum mismatch occurs, defaults to true.
72
+
cache:
73
+
ttl-minutes: 60# cache remote files for 60 minutes, defaults to 5 minutes.
71
74
defaults:
72
75
tasks:
73
76
silent: true
@@ -102,8 +105,19 @@ env:
102
105
The `includes` section of the configuration file is used to specify a list of filenames, file urls, or s3 urls that should be merged with the configuration. This is useful for splitting up a large configuration file into smaller, more manageable files or reusing commonly-used tasks, init scripts, or preconditions. Startup, shutdown, servers, and scheduled tasks are not merged from the included files.
103
106
104
107
Included urls can be prefixed with `gh:` to indicate that the file should be fetched from GitHub. For example, `gh:permafrost-dev/stackup/main/templates/stackup.dist.yaml` will fetch the `stackup.dist.yaml` file from the `permafrost-dev/stackup` repository on GitHub.
108
+
Add a `headers` field to the `url` entry to specify headers to send with the request. The `headers` field should be an array of strings, where each string is a header to send with the request. The header value can be a javascript expression if wrapped in double braces. For example:
105
109
106
-
To use a file from an S3 bucket, prefix the url with `s3:`. For example, `s3:hostname/my-bucket-name/my-config.yaml` will fetch the `my-config.yaml` file from the `my-bucket-name` bucket on `hostname`. Amazon S3 and Minio are supported.
To import a file from an S3 bucket, prefix the url with `s3:`. For example, `s3:hostname/my-bucket-name/my-config.yaml` will fetch the `my-config.yaml` file from the `my-bucket-name` bucket on `hostname`. Amazon S3 and Minio are supported.
107
121
108
122
Included files can be specified with either a relative or absolute pathname. Relative pathnames are relative to the directory containing the configuration file. Absolute pathnames are relative to the current working directory.
0 commit comments