Skip to content

Commit be0732b

Browse files
authored
chore: updates forge to latest version (#750)
1 parent 80e0e2a commit be0732b

File tree

5 files changed

+75
-73
lines changed

5 files changed

+75
-73
lines changed

.github/workflows/ci-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
- uses: actions/checkout@v4
2424

2525
- 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
2727
with:
28-
version: 0.14.0
28+
version: 0.18.0
2929
if: always()
3030

3131
- 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
3333

3434
- 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
3636
if: always()
3737
continue-on-error: true
3838
with:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
ci:
1313
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.7.3
1414
with:
15-
forge_version: 0.16.0
15+
forge_version: 0.18.0

blueprint.cue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: "1.0"
21
global: {
32
ci: {
43
local: [

containers/event-db-migrations/blueprint.cue

Lines changed: 70 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: "1.0.0"
21
project: {
32
name: "event-db-migrations"
43
deployment: {
@@ -7,83 +6,88 @@ project: {
76
tag: {}
87
}
98

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")
2821
}
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+
}
3328
}
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"
4231
}
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+
}
4837
}
49-
}
50-
DB_USER: {
51-
secret: {
52-
name: "db"
53-
key: "username"
38+
DB_ROOT_NAME: {
39+
value: "postgres"
5440
}
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
6070
}
6171
}
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
6776
}
6877
}
69-
mounts: state: {
70-
ref: volume: name: "state"
71-
path: "/eventdb/tmp"
72-
readOnly: false
73-
}
74-
}
7578

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+
}
8286
}
83-
}
8487

85-
volumes: state: {
86-
size: "1Mi"
88+
volumes: state: {
89+
size: "1Mi"
90+
}
8791
}
8892
}
8993
}

services/voting-node/blueprint.cue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: "1.0.0"
21
project: {
32
name: "voting-node"
43
release: {

0 commit comments

Comments
 (0)