File tree Expand file tree Collapse file tree 5 files changed +75
-73
lines changed
containers/event-db-migrations Expand file tree Collapse file tree 5 files changed +75
-73
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,16 @@ jobs:
23
23
- uses : actions/checkout@v4
24
24
25
25
- name : Install Forge
26
- uses : input-output-hk/catalyst-forge/actions/install@ci/v1.7.1
26
+ uses : input-output-hk/catalyst-forge/actions/install@ci/v1.7.3
27
27
with :
28
- version : 0.14 .0
28
+ version : 0.18 .0
29
29
if : always()
30
30
31
31
- name : Setup CI
32
- uses : input-output-hk/catalyst-forge/actions/setup@ci/v1.7.1
32
+ uses : input-output-hk/catalyst-forge/actions/setup@ci/v1.7.3
33
33
34
34
- name : Run tests
35
- uses : input-output-hk/catalyst-forge/actions/run@ci/v1.7.1
35
+ uses : input-output-hk/catalyst-forge/actions/run@ci/v1.7.3
36
36
if : always()
37
37
continue-on-error : true
38
38
with :
Original file line number Diff line number Diff line change 12
12
ci :
13
13
uses : input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.7.3
14
14
with :
15
- forge_version : 0.16 .0
15
+ forge_version : 0.18 .0
Original file line number Diff line number Diff line change 1
- version : " 1.0 "
2
1
global : {
3
2
ci : {
4
3
local : [
Original file line number Diff line number Diff line change 1
- version : " 1.0.0 "
2
1
project : {
3
2
name : " event-db-migrations "
4
3
deployment : {
@@ -7,83 +6,88 @@ project: {
7
6
tag : {}
8
7
}
9
8
10
- bundle : modules : main : {
11
- name : " app "
12
- version : " 0.11.0 "
13
- values : {
14
- jobs : migration : containers : main : {
15
- image : {
16
- name : _ @forge (name =" CONTAINER_IMAGE " )
17
- tag : _ @forge (name =" GIT_HASH_OR_TAG " )
18
- }
19
- env : {
20
- DB_HOST : {
21
- secret : {
22
- name : " db "
23
- key : " host "
24
- }
25
- }
26
- DB_NAME : {
27
- value : " eventdb "
9
+ bundle :
10
+ {
11
+ env : string | * " dev "
12
+ _env : env
13
+ modules : main : {
14
+ name : " app "
15
+ version : " 0.11.1 "
16
+ values : {
17
+ jobs : migration : containers : main : {
18
+ image : {
19
+ name : _ @forge (name =" CONTAINER_IMAGE " )
20
+ tag : _ @forge (name =" GIT_HASH_OR_TAG " )
28
21
}
29
- DB_PORT : {
30
- secret : {
31
- name : " db "
32
- key : " port "
22
+ env : {
23
+ DB_HOST : {
24
+ secret : {
25
+ name : " db "
26
+ key : " host "
27
+ }
33
28
}
34
- }
35
- DB_ROOT_NAME : {
36
- value : " postgres "
37
- }
38
- DB_SUPERUSER : {
39
- secret : {
40
- name : " root "
41
- key : " username "
29
+ DB_NAME : {
30
+ value : " eventdb "
42
31
}
43
- }
44
- DB_SUPERUSER_PASSWORD : {
45
- secret : {
46
- name : " root "
47
- key : " password "
32
+ DB_PORT : {
33
+ secret : {
34
+ name : " db "
35
+ key : " port "
36
+ }
48
37
}
49
- }
50
- DB_USER : {
51
- secret : {
52
- name : " db "
53
- key : " username "
38
+ DB_ROOT_NAME : {
39
+ value : " postgres "
54
40
}
55
- }
56
- DB_USER_PASSWORD : {
57
- secret : {
58
- name : " db "
59
- key : " password "
41
+ DB_SUPERUSER : {
42
+ secret : {
43
+ name : " root "
44
+ key : " username "
45
+ }
46
+ }
47
+ DB_SUPERUSER_PASSWORD : {
48
+ secret : {
49
+ name : " root "
50
+ key : " password "
51
+ }
52
+ }
53
+ DB_USER : {
54
+ secret : {
55
+ name : " db "
56
+ key : " username "
57
+ }
58
+ }
59
+ DB_USER_PASSWORD : {
60
+ secret : {
61
+ name : " db "
62
+ key : " password "
63
+ }
64
+ }
65
+ INIT_AND_DROP_DB : {
66
+ value : string | * " true "
67
+ }
68
+ STAGE : {
69
+ value : string | * _env
60
70
}
61
71
}
62
- INIT_AND_DROP_DB : {
63
- value : string | * " true "
64
- }
65
- STAGE : {
66
- value : string | * " dev "
72
+ mounts : state : {
73
+ ref : volume : name : " state "
74
+ path : " /eventdb/tmp "
75
+ readOnly : false
67
76
}
68
77
}
69
- mounts : state : {
70
- ref : volume : name : " state "
71
- path : " /eventdb/tmp "
72
- readOnly : false
73
- }
74
- }
75
78
76
- secrets : {
77
- db : {
78
- ref : " db/eventdb "
79
- }
80
- root : {
81
- ref : " db/root_account "
79
+ secrets : {
80
+ db : {
81
+ ref : " db/eventdb "
82
+ }
83
+ root : {
84
+ ref : " db/root_account "
85
+ }
82
86
}
83
- }
84
87
85
- volumes : state : {
86
- size : " 1Mi "
88
+ volumes : state : {
89
+ size : " 1Mi "
90
+ }
87
91
}
88
92
}
89
93
}
Original file line number Diff line number Diff line change 1
- version : " 1.0.0 "
2
1
project : {
3
2
name : " voting-node "
4
3
release : {
You can’t perform that action at this time.
0 commit comments