@@ -7,8 +7,10 @@ variable "REPO" {
7
7
default = " layr-labs/eigenda"
8
8
}
9
9
10
+ # We use the `dev` tag for local development builds.
11
+ # CI builds will overwrite this with the `master` or `v*` tag.
10
12
variable "BUILD_TAG" {
11
- default = " latest "
13
+ default = " dev "
12
14
}
13
15
14
16
variable "SEMVER" {
@@ -47,37 +49,18 @@ group "all" {
47
49
" traffic-generator-v2" ,
48
50
" controller" ,
49
51
" relay" ,
50
- " blobapi"
52
+ " blobapi" ,
53
+ " proxy" ,
51
54
]
52
55
}
53
56
54
57
group "node-group" {
55
58
targets = [" node" , " nodeplugin" ]
56
59
}
57
60
58
- # Github public releases
59
- group "node-group-release" {
60
- targets = [" node-release" , " nodeplugin-release" ]
61
- }
62
-
63
- # Github CI builds
64
- group "ci-release" {
65
- targets = [
66
- " node-group" ,
67
- " batcher" ,
68
- " disperser" ,
69
- " encoder" ,
70
- " retriever" ,
71
- " churner" ,
72
- " dataapi" ,
73
- " controller" ,
74
- " relay" ,
75
- " blobapi" ,
76
- " proxy" ,
77
- ]
78
- }
79
-
80
- # Internal devops builds
61
+ # Internal devops builds. These targets are used by the eigenda-devops CI pipeline.
62
+ # TODO: refactor the ECR repo to make the `${REGISTRY}/${REPO}` tags such that we can
63
+ # get rid of all of these internal targets.
81
64
group "internal-release" {
82
65
targets = [
83
66
" node-internal" ,
@@ -294,7 +277,7 @@ target "proxy" {
294
277
target = " proxy"
295
278
# We push to layr-labs/ directly instead of layr-labs/eigenda/ for historical reasons,
296
279
# since proxy was previously in its own repo: https://github.com/Layr-Labs/eigenda-proxy
297
- tags = [" ${ REGISTRY } /layr-labs/proxy:${ BUILD_TAG } " ]
280
+ tags = [" ${ REGISTRY } /layr-labs/eigenda- proxy:${ BUILD_TAG } " ]
298
281
}
299
282
300
283
target "proxy-internal" {
@@ -340,13 +323,19 @@ target "_release" {
340
323
platforms = [" linux/amd64" , " linux/arm64" ]
341
324
}
342
325
326
+ group "node-group-release" {
327
+ targets = [" node-release" , " nodeplugin-release" ]
328
+ }
329
+
343
330
target "node-release" {
344
331
inherits = [" node" , " _release" ]
332
+ # We overwrite the tag with a opr- prefix for public releases.
345
333
tags = [" ${ REGISTRY } /${ REPO } /opr-node:${ BUILD_TAG } " ]
346
334
}
347
335
348
336
target "nodeplugin-release" {
349
337
inherits = [" nodeplugin" , " _release" ]
338
+ # We overwrite the tag with a opr- prefix for public releases.
350
339
tags = [" ${ REGISTRY } /${ REPO } /opr-nodeplugin:${ BUILD_TAG } " ]
351
340
}
352
341
0 commit comments