File tree 2 files changed +38
-4
lines changed
2 files changed +38
-4
lines changed Original file line number Diff line number Diff line change 21
21
{
22
22
name = "backend" ;
23
23
image = cell . oci-images . cardano-services . image . name ;
24
+ env = dmerge . append [
25
+ {
26
+ name = "BUILD_INFO" ;
27
+ value = cell . oci-images . cardano-services . meta . buildInfo ;
28
+ }
29
+ ] ;
24
30
}
25
31
] ;
26
32
} ;
29
35
{
30
36
name = "handle-provider" ;
31
37
image = cell . oci-images . cardano-services . image . name ;
38
+ env = dmerge . append [
39
+ {
40
+ name = "BUILD_INFO" ;
41
+ value = cell . oci-images . cardano-services . meta . buildInfo ;
42
+ }
43
+ ] ;
32
44
}
33
45
] ;
34
46
} ;
37
49
{
38
50
name = "handle-projector" ;
39
51
image = cell . oci-images . cardano-services . image . name ;
52
+ env = dmerge . append [
53
+ {
54
+ name = "BUILD_INFO" ;
55
+ value = cell . oci-images . cardano-services . meta . buildInfo ;
56
+ }
57
+ ] ;
40
58
}
41
59
] ;
42
60
} ;
45
63
{
46
64
name = "pg-boss-worker" ;
47
65
image = cell . oci-images . cardano-services . image . name ;
66
+ env = dmerge . append [
67
+ {
68
+ name = "BUILD_INFO" ;
69
+ value = cell . oci-images . cardano-services . meta . buildInfo ;
70
+ }
71
+ ] ;
48
72
}
49
73
] ;
50
74
} ;
53
77
{
54
78
name = "stake-pool-projector" ;
55
79
image = cell . oci-images . cardano-services . image . name ;
80
+ env = dmerge . append [
81
+ {
82
+ name = "BUILD_INFO" ;
83
+ value = cell . oci-images . cardano-services . meta . buildInfo ;
84
+ }
85
+ ] ;
56
86
}
57
87
] ;
58
88
} ;
61
91
{
62
92
name = "stake-pool-provider" ;
63
93
image = cell . oci-images . cardano-services . image . name ;
94
+ env = dmerge . append [
95
+ {
96
+ name = "BUILD_INFO" ;
97
+ value = cell . oci-images . cardano-services . meta . buildInfo ;
98
+ }
99
+ ] ;
64
100
}
65
101
] ;
66
102
} ;
Original file line number Diff line number Diff line change 2
2
inherit ( inputs ) std self ;
3
3
4
4
# TODO: express this as OCI labels (what they are for)
5
- BUILD_INFO = builtins . toJSON {
5
+ buildInfo = builtins . toJSON {
6
6
inherit ( self ) lastModified lastModifiedDate rev ;
7
7
shortRev = self . shortRev or "no rev" ;
8
8
extra = {
15
15
cardano-services = std . lib . ops . mkStandardOCI {
16
16
name = "926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services" ;
17
17
operable = cell . operables . cardano-services ;
18
- config . Env = [
19
- "BUILD_INFO=${ BUILD_INFO } "
20
- ] ;
21
18
meta . description = "Minimal Cardano Services OCI Image" ;
22
19
meta . versions = builtins . fromJSON ( builtins . readFile ( self + /packages/cardano-services-client/version.json ) ) ;
20
+ meta . buildInfo = buildInfo ;
23
21
} ;
24
22
}
You can’t perform that action at this time.
0 commit comments