Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ permissions:

jobs:
ci:
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.7.1
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.7.3
with:
forge_version: 0.14.0
forge_version: 0.16.0
11 changes: 11 additions & 0 deletions blueprint.cue
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@ global: {
},
]
}
deployment: {
registries: {
containers: ci.providers.aws.ecr.registry
modules: ci.providers.aws.ecr.registry + "/catalyst-deployments"
}
repo: {
url: "https://github.com/input-output-hk/catalyst-world"
ref: "master"
}
root: "k8s"
}
repo: {
defaultBranch: "main"
name: "input-output-hk/catalyst-core"
Expand Down
88 changes: 88 additions & 0 deletions containers/event-db-migrations/blueprint.cue
Original file line number Diff line number Diff line change
@@ -1,6 +1,94 @@
version: "1.0.0"
project: {
name: "event-db-migrations"
deployment: {
on: {
merge: {}
tag: {}
}

bundle: modules: main: {
name: "app"
version: "0.11.0"
values: {
jobs: migration: containers: main: {
image: {
name: _ @forge(name="CONTAINER_IMAGE")
tag: _ @forge(name="GIT_HASH_OR_TAG")
}
env: {
DB_HOST: {
secret: {
name: "db"
key: "host"
}
}
DB_NAME: {
value: "eventdb"
}
DB_PORT: {
secret: {
name: "db"
key: "port"
}
}
DB_ROOT_NAME: {
value: "postgres"
}
DB_SUPERUSER: {
secret: {
name: "root"
key: "username"
}
}
DB_SUPERUSER_PASSWORD: {
secret: {
name: "root"
key: "password"
}
}
DB_USER: {
secret: {
name: "db"
key: "username"
}
}
DB_USER_PASSWORD: {
secret: {
name: "db"
key: "password"
}
}
INIT_AND_DROP_DB: {
value: string | *"true"
}
STAGE: {
value: string | *"dev"
}
}
mounts: state: {
ref: volume: name: "state"
path: "/eventdb/tmp"
readOnly: false
}
}

secrets: {
db: {
ref: "db/eventdb"
}
root: {
ref: "db/root_account"
}
}

volumes: state: {
size: "1Mi"
}
}
}
}

release: {
docker: {
on: {
Expand Down
26 changes: 13 additions & 13 deletions src/event-db/stage_data/preprod/00001_fund14_event.sql
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ INSERT INTO event (
14,
'Fund 14',
'Catalyst Testnet - Fund 14',
'2025-05-23 12:00:00', -- Registration Snapshot Time
'2025-05-23 12:15:00', -- Snapshot Start.
'2025-06-12 10:00:00', -- Registration Snapshot Time
'2025-06-12 10:15:00', -- Snapshot Start.
25000000, -- Voting Power Threshold
100, -- Max Voting Power PCT
NULL, -- Review Rewards
'2025-05-21 11:00:00', -- Start Time
'2025-06-15 21:00:00', -- End Time
'2025-05-21 11:00:00', -- Insight Sharing Start
'2025-05-21 11:00:00', -- Proposal Submission Start
'2025-05-21 11:00:00', -- Refine Proposals Start
'2025-05-21 11:00:00', -- Finalize Proposals Start
'2025-05-21 11:00:00', -- Proposal Assessment Start
'2025-05-21 11:00:00', -- Assessment QA Start
'2025-05-27 17:00:00', -- Voting Starts
'2025-06-13 09:00:00', -- Voting Ends
'2025-06-15 21:00:00', -- Tallying Ends
'2025-06-04 10:00:00', -- Start Time
'2025-06-21 02:00:00', -- End Time
'2025-06-04 10:00:00', -- Insight Sharing Start
'2025-06-04 10:00:00', -- Proposal Submission Start
'2025-06-04 10:00:00', -- Refine Proposals Start
'2025-06-04 10:00:00', -- Finalize Proposals Start
'2025-06-04 10:00:00', -- Proposal Assessment Start
'2025-06-04 10:00:00', -- Assessment QA Start
'2025-06-16 12:00:00', -- Voting Starts
'2025-06-18 09:00:00', -- Voting Ends
'2025-06-21 02:00:00', -- Tallying Ends
NULL, -- Block 0 Data
NULL, -- Block 0 Hash
1, -- Committee Size
Expand Down
Loading