Skip to content

Commit 3585ab8

Browse files
authored
chore(voices db): Fix version of CI for postgres builders (#202)
* refactor(gateway): Rename catalyst-voices-backend to the catalyst-gateway * docs(gateway): Update readme * refactor(gateway): Move the code into the new directory trees, cleanup inside tree still todo. * refactor(gateway): Basic refactor of the event-db config/data and the db interface logic * docs(gateway): Initial docs for the crates directory inside catalyst gateway * refactor(gateway): Move code out of cat-data-service and put it directly in bin * feat(gateway): first build seems to work, but fails due to WIP refactor * refactor(gateway): Refactor builds properly to a static executable. * refactor(gateway): autofixed lints * refactor(gateway): WIP remove lint errors * refactor(gateway): WIP refactoring work to remove lint errors * refactor(gateway): Don't panic, return the error, and generalize the error itself. * refactor(gateway): generalize error response * docs(gateway): indexing ok here, slice already checked to have values * refactor(gateway): Indexing is safe here, so note it. * refactor(gateway): don't panic, return an error. reduce size of function by splitting into multiple logical units. * refactor(gateway): Purge metrics from legacy service. Unused and can panic. * refactor(gateway): remove unused rust files from EventDB directory * refactor(gateway): remove unused dependencies * docs(gateway): Allow intentional panic for test code * refactor(gateway): eliminate or notate why unwraps/expect are safe * refactor(gateway): All lints are clean and restrictively applied * refactor(gateway): remove unused dependencies from workspace cargo file * refactor(gateway): restrict visibility of event_db to pub(crate) as its fully internalized now. * docs(gateway): root level fully documented * docs(gateway): state fully documented * docs(gateway): Don't worry about full docs for legacy service. * docs(gateway): Service top level fully documented * docs(gateway): middleware docs complete * docs(gateway): Fully documented the docs part of the service * docs(gateway): common responses and module root fully documented * docs(gateway): Common objects now fully documented * docs(gateway): Api endpoint docs are complete * docs(gateway): DB Types fully documented * docs(gateway): Queries partially documented * docs(gateway): Everything that needs docs is documented * feat(gateway): Initial CI and Cat-Gateway build ready for PR * feat(rust): Add recommended rust extensions for vscode, and rust settings. * docs(gateway): Fix spelling * ci(gateway): Use the proper versioned CI tooling from catalyst-ci * feat(docs): Docs WIP setup * docs(docs): Fix the docs so they use the latests docs-ci and are able to properly include data from build targets * docs(docs): fix spelling and markdown lint issues * docs(docs): Update to use latest Cat-CI Docs and reduce replication * docs(docs): Fix the top level parts of the docs and remove test values * docs(docs): try and build and deploy docs to gh-pages * docs(docs): fix spelling issue * docs(docs): Use proper docs action, and also add branch cleanup for branch docs * feat(backend): Start work redefining the event db for catalyst voices. * feat(gateway): WIP catalyst-voices database respec. * feat(gateway): Gateway DB defined up to `event` tables. WIP * feat(gateway): Event DB respec WIP. Registration tables work. * feat(gateway): CIP15/36 Registration and staked ADA DB schemas Done but untested. * fix(gateway): add back objectives tales for now. * feat(gateway): Event DB passes CI lints, but still WIP. * refactor(event-db): WIP alignment with updated cat-ci postgres builders * fix(event-db): lint checks now pass * feat(event-db): WIP building with latest postgresql builder * docs(event-db): Update DB Docs and Registration Schema * fix(event-db): Fix spelling and missing sub-dir issue for ci * fix(event-db): remove obsolete unit test for event-db * chore(event-db): Fix CI version for postgres builders
1 parent dd23f9c commit 3585ab8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

catalyst-gateway/event-db/Earthfile

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ VERSION 0.7
99
# Internal: builder is our Event db builder target. Prepares all necessary artifacts.
1010
# CI target : dependency
1111
builder:
12-
DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:fix/postgres-builders+BUILDER \
12+
DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.0.15+BUILDER \
1313
--sqlfluff_cfg=./../../+repo-config/repo/.sqlfluff
1414

1515
COPY ./../../+repo-config-2/repo/.sqlfluff .
@@ -21,30 +21,30 @@ builder:
2121
check:
2222
FROM +builder
2323

24-
DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:fix/postgres-builders+CHECK
24+
DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.0.15+CHECK
2525

2626

2727
# format all SQL files in the current project. Local developers tool.
2828
# CI target : false
2929
format:
3030
LOCALLY
3131

32-
DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:fix/postgres-builders+FORMAT --src=$(echo ${PWD}/../../)
32+
DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.0.15+FORMAT --src=$(echo ${PWD}/../../)
3333

3434
# build - an event db docker image.
3535
# CI target : true
3636
build:
3737
FROM +builder
3838

39-
DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:fix/postgres-builders+BUILD --image_name=event-db
40-
DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:fix/postgres-builders+DOCS --image_name=event-db
39+
DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.0.15+BUILD --image_name=event-db
40+
DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.0.15+DOCS --image_name=event-db
4141

4242
# test the event db database schema
4343
# CI target : true
4444
#test:
45-
# FROM github.com/input-output-hk/catalyst-ci/earthly/postgresql:fix/postgres-builders+postgres-base
45+
# FROM github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.0.15+postgres-base
4646

47-
# COPY github.com/input-output-hk/catalyst-ci/earthly/utils:fix/postgres-builders+shell-assert/assert.sh .
47+
# COPY github.com/input-output-hk/catalyst-ci/earthly/utils:v2.0.15+shell-assert/assert.sh .
4848

4949
# COPY ./docker-compose.yml .
5050
# WITH DOCKER \

0 commit comments

Comments
 (0)