-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathskaffold.cue
61 lines (58 loc) · 1.28 KB
/
skaffold.cue
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package scidev
config: {
apiVersion: "skaffold/v4beta6"
kind: "Config"
manifests: rawYaml: [
"cluster/resources/namespace.yaml",
"cluster/resources/pvc.yaml",
"cluster/resources/deployment.yaml",
]
deploy: kubectl: defaultNamespace: "scidev"
build: {
artifacts: [{
// - image: ghcr.io/sciexp/scidev
// docker:
// dockerfile: containers/Containerfile.scidev
// - image: us-central1-docker.pkg.dev/sciexp/scidev/scipod
// docker:
// dockerfile: containers/Containerfile.scipod
image: "ghcr.io/sciexp/scipod"
kaniko: {
dockerfile: "containers/Containerfile.scipod"
cache: {
ttl: "168h"
cacheCopyLayers: true
}
}
}]
tagPolicy: sha256: {}
cluster: {
namespace: "scidev"
// With GCP credentials
// pullSecretPath: ./kaniko-key.json
// pullSecretName: kaniko-secret
// if private, with docker-style credentials
// pullSecretName: regcred
// randomPullSecret: true
// docker-style push credentials
dockerConfig: {
path: "./docker-config.json"
}
resources: {
requests: {
cpu: "8"
memory: "16Gi"
}
limits: {
cpu: "32"
memory: "180Gi"
}
}
concurrency: 5
}
}
profiles: [{
name: "dev"
deploy: statusCheckDeadlineSeconds: 960
}]
}