forked from block/cachew
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcachew.hcl
More file actions
46 lines (35 loc) · 817 Bytes
/
cachew.hcl
File metadata and controls
46 lines (35 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Artifactory caching proxy strategy
# artifactory "example.jfrog.io" {
# target = "https://example.jfrog.io"
# }
state = "./state"
url = "http://127.0.0.1:8080"
log {
level = "debug"
}
git-clone {}
github-app {
# Uncomment and add:
# app-id = "app-id-value" (Can also be passed via setting envar CACHEW_GITHUB_APP_APP_ID)
# private-key-path = "private-key-path-value" (Can also be passed via envar CACHEW_GITHUB_APP_PRIVATE_KEY_PATH)
# installations = { "myorg" : "installation-id" }
}
metrics {}
git {
#bundle-interval = "24h"
snapshot-interval = "1h"
repack-interval = "1h"
}
host "https://w3.org" {}
github-releases {
token = "${GITHUB_TOKEN}"
private-orgs = ["alecthomas"]
}
disk {
limit-mb = 250000
max-ttl = "8h"
}
gomod {
proxy = "https://proxy.golang.org"
}
hermit { }