|
15 | 15 | # .ko.yaml in the root of the repository |
16 | 16 | defaultBaseImage: cgr.dev/chainguard/static:latest |
17 | 17 | platforms: [linux/amd64, linux/arm64] |
18 | | - |
19 | | -ldflags: |
20 | | - - "-s -w" |
21 | | - - "-X main.version={{.Env.VERSION}} -X main.commit={{.Env.GIT_COMMIT}} -X main.date={{.Env.BUILD_DATE}}" |
22 | | - |
23 | 18 | env: [CGO_ENABLED=0] |
24 | 19 |
|
25 | 20 | builds: |
26 | 21 |
|
27 | 22 | - id: fault-quarantine-module |
28 | 23 | dir: fault-quarantine-module |
29 | 24 | main: . |
| 25 | + ldflags: |
| 26 | + - "-s -w" |
| 27 | + - "-X main.version={{.Env.VERSION}} -X main.commit={{.Env.GIT_COMMIT}} -X main.date={{.Env.BUILD_DATE}}" |
| 28 | + labels: |
| 29 | + org.opencontainers.image.source: "https://github.com/nvidia/nvsentinel" |
| 30 | + org.opencontainers.image.licenses: "Apache-2.0" |
| 31 | + org.opencontainers.image.title: "NVSentinel Fault Quarantine Module" |
| 32 | + org.opencontainers.image.description: "Fault remediation service to help with rapid node-level issues resolution in GPU-accelerated computing environments" |
| 33 | + org.opencontainers.image.version: "{{.Env.VERSION}}" |
| 34 | + org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}" |
| 35 | + org.opencontainers.image.created: "{{.Env.BUILD_DATE}}" |
30 | 36 |
|
31 | 37 | - id: fault-remediation-module |
32 | 38 | dir: fault-remediation-module |
33 | 39 | main: . |
| 40 | + ldflags: |
| 41 | + - "-s -w" |
| 42 | + - "-X main.version={{.Env.VERSION}} -X main.commit={{.Env.GIT_COMMIT}} -X main.date={{.Env.BUILD_DATE}}" |
| 43 | + labels: |
| 44 | + org.opencontainers.image.source: "https://github.com/nvidia/nvsentinel" |
| 45 | + org.opencontainers.image.licenses: "Apache-2.0" |
| 46 | + org.opencontainers.image.title: "NVSentinel Fault Remediation Module" |
| 47 | + org.opencontainers.image.description: "Fault remediation service to help with rapid node-level issues resolution in GPU-accelerated computing environments" |
| 48 | + org.opencontainers.image.version: "{{.Env.VERSION}}" |
| 49 | + org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}" |
| 50 | + org.opencontainers.image.created: "{{.Env.BUILD_DATE}}" |
34 | 51 |
|
35 | 52 | - id: health-events-analyzer |
36 | 53 | dir: health-events-analyzer |
37 | 54 | main: . |
| 55 | + ldflags: |
| 56 | + - "-s -w" |
| 57 | + - "-X main.version={{.Env.VERSION}} -X main.commit={{.Env.GIT_COMMIT}} -X main.date={{.Env.BUILD_DATE}}" |
| 58 | + labels: |
| 59 | + org.opencontainers.image.source: "https://github.com/nvidia/nvsentinel" |
| 60 | + org.opencontainers.image.licenses: "Apache-2.0" |
| 61 | + org.opencontainers.image.title: "NVSentinel Health Events Analyzer" |
| 62 | + org.opencontainers.image.description: "Fault remediation service to help with rapid node-level issues resolution in GPU-accelerated computing environments" |
| 63 | + org.opencontainers.image.version: "{{.Env.VERSION}}" |
| 64 | + org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}" |
| 65 | + org.opencontainers.image.created: "{{.Env.BUILD_DATE}}" |
38 | 66 |
|
39 | 67 | - id: csp-health-monitor |
40 | 68 | dir: health-monitors/csp-health-monitor |
41 | 69 | main: ./cmd/csp-health-monitor |
| 70 | + ldflags: |
| 71 | + - "-s -w" |
| 72 | + - "-X main.version={{.Env.VERSION}} -X main.commit={{.Env.GIT_COMMIT}} -X main.date={{.Env.BUILD_DATE}}" |
| 73 | + labels: |
| 74 | + org.opencontainers.image.source: "https://github.com/nvidia/nvsentinel" |
| 75 | + org.opencontainers.image.licenses: "Apache-2.0" |
| 76 | + org.opencontainers.image.title: "NVSentinel CSP Health Monitor" |
| 77 | + org.opencontainers.image.description: "Fault remediation service to help with rapid node-level issues resolution in GPU-accelerated computing environments" |
| 78 | + org.opencontainers.image.version: "{{.Env.VERSION}}" |
| 79 | + org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}" |
| 80 | + org.opencontainers.image.created: "{{.Env.BUILD_DATE}}" |
42 | 81 |
|
43 | 82 | - id: maintenance-notifier |
44 | 83 | dir: health-monitors/csp-health-monitor |
45 | 84 | main: ./cmd/maintenance-notifier |
| 85 | + ldflags: |
| 86 | + - "-s -w" |
| 87 | + - "-X main.version={{.Env.VERSION}} -X main.commit={{.Env.GIT_COMMIT}} -X main.date={{.Env.BUILD_DATE}}" |
| 88 | + labels: |
| 89 | + org.opencontainers.image.source: "https://github.com/nvidia/nvsentinel" |
| 90 | + org.opencontainers.image.licenses: "Apache-2.0" |
| 91 | + org.opencontainers.image.title: "NVSentinel Maintenance Notifier" |
| 92 | + org.opencontainers.image.description: "Fault remediation service to help with rapid node-level issues resolution in GPU-accelerated computing environments" |
| 93 | + org.opencontainers.image.version: "{{.Env.VERSION}}" |
| 94 | + org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}" |
| 95 | + org.opencontainers.image.created: "{{.Env.BUILD_DATE}}" |
46 | 96 |
|
47 | 97 | - id: labeler-module |
48 | 98 | dir: labeler-module |
49 | 99 | main: . |
| 100 | + ldflags: |
| 101 | + - "-s -w" |
| 102 | + - "-X main.version={{.Env.VERSION}} -X main.commit={{.Env.GIT_COMMIT}} -X main.date={{.Env.BUILD_DATE}}" |
| 103 | + labels: |
| 104 | + org.opencontainers.image.source: "https://github.com/nvidia/nvsentinel" |
| 105 | + org.opencontainers.image.licenses: "Apache-2.0" |
| 106 | + org.opencontainers.image.title: "NVSentinel Labeler Module" |
| 107 | + org.opencontainers.image.description: "Fault remediation service to help with rapid node-level issues resolution in GPU-accelerated computing environments" |
| 108 | + org.opencontainers.image.version: "{{.Env.VERSION}}" |
| 109 | + org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}" |
| 110 | + org.opencontainers.image.created: "{{.Env.BUILD_DATE}}" |
50 | 111 |
|
51 | 112 | - id: node-drainer-module |
52 | 113 | dir: node-drainer-module |
53 | 114 | main: . |
| 115 | + ldflags: |
| 116 | + - "-s -w" |
| 117 | + - "-X main.version={{.Env.VERSION}} -X main.commit={{.Env.GIT_COMMIT}} -X main.date={{.Env.BUILD_DATE}}" |
| 118 | + labels: |
| 119 | + org.opencontainers.image.source: "https://github.com/nvidia/nvsentinel" |
| 120 | + org.opencontainers.image.licenses: "Apache-2.0" |
| 121 | + org.opencontainers.image.title: "NVSentinel Node Drainer Module" |
| 122 | + org.opencontainers.image.description: "Fault remediation service to help with rapid node-level issues resolution in GPU-accelerated computing environments" |
| 123 | + org.opencontainers.image.version: "{{.Env.VERSION}}" |
| 124 | + org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}" |
| 125 | + org.opencontainers.image.created: "{{.Env.BUILD_DATE}}" |
54 | 126 |
|
55 | 127 | - id: janitor |
56 | 128 | dir: janitor |
57 | 129 | main: . |
| 130 | + ldflags: |
| 131 | + - "-s -w" |
| 132 | + - "-X main.version={{.Env.VERSION}} -X main.commit={{.Env.GIT_COMMIT}} -X main.date={{.Env.BUILD_DATE}}" |
| 133 | + labels: |
| 134 | + org.opencontainers.image.source: "https://github.com/nvidia/nvsentinel" |
| 135 | + org.opencontainers.image.licenses: "Apache-2.0" |
| 136 | + org.opencontainers.image.title: "NVSentinel Janitor" |
| 137 | + org.opencontainers.image.description: "Fault remediation service to help with rapid node-level issues resolution in GPU-accelerated computing environments" |
| 138 | + org.opencontainers.image.version: "{{.Env.VERSION}}" |
| 139 | + org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}" |
| 140 | + org.opencontainers.image.created: "{{.Env.BUILD_DATE}}" |
58 | 141 |
|
59 | 142 | - id: platform-connectors |
60 | 143 | dir: platform-connectors |
61 | 144 | main: . |
62 | | - |
63 | | -labels: |
64 | | - org.opencontainers.image.source: "https://github.com/nvidia/nvsentinel" |
65 | | - org.opencontainers.image.licenses: "Apache-2.0" |
66 | | - org.opencontainers.image.title: "NVSentinel" |
67 | | - org.opencontainers.image.description: "Fault remediation service to help with rapidly node-level issues resolution in GPU-accelerated computing environments" |
68 | | - org.opencontainers.image.version: "{{.Env.VERSION}}" |
69 | | - org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}" |
70 | | - org.opencontainers.image.created: "{{.Env.BUILD_DATE}}" |
| 145 | + ldflags: |
| 146 | + - "-s -w" |
| 147 | + - "-X main.version={{.Env.VERSION}} -X main.commit={{.Env.GIT_COMMIT}} -X main.date={{.Env.BUILD_DATE}}" |
| 148 | + labels: |
| 149 | + org.opencontainers.image.source: "https://github.com/nvidia/nvsentinel" |
| 150 | + org.opencontainers.image.licenses: "Apache-2.0" |
| 151 | + org.opencontainers.image.title: "NVSentinel Platform Connectors" |
| 152 | + org.opencontainers.image.description: "Fault remediation service to help with rapid node-level issues resolution in GPU-accelerated computing environments" |
| 153 | + org.opencontainers.image.version: "{{.Env.VERSION}}" |
| 154 | + org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}" |
| 155 | + org.opencontainers.image.created: "{{.Env.BUILD_DATE}}" |
0 commit comments