-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#1464] Enable future genesis in DBSync config #1609
[#1464] Enable future genesis in DBSync config #1609
Commits on Jul 22, 2024
-
Make Haskell artifacts exclusion more generic in .gitignore
Updated the .gitignore file to make the exclusion of Haskell build artifacts more generic. Instead of specifying paths based on project structure (e.g., `govtool/backend/dist-newstyle/` and `govtool/backend/.stack-work/`), the patterns now use `dist-newstyle/` and `.stack-work/` to exclude these directories regardless of their location within the repository. This change enhances the flexibility of the `.gitignore` file and ensures that Haskell build artifacts are consistently ignored across different projects and directories within the repository.
Configuration menu - View commit details
-
Copy full SHA for 687dfd6 - Browse repository at this point
Copy the full SHA 687dfd6View commit details -
EnableFutureGenesis option added to dbsync config
Updated the dbsync configuration to include the "EnableFutureGenesis" option. Modified the `scripts/govtool/config.mk` file to add `db-sync-config.json` under the `cardano_configs` list. Also included a new command to download the `db-sync-config.json` file and append the "EnableFutureGenesis" configuration to it. This change allows the synchronization process to support future genesis blocks, making the system more adaptable to upcoming updates in the Cardano blockchain.
Configuration menu - View commit details
-
Copy full SHA for ba21289 - Browse repository at this point
Copy the full SHA ba21289View commit details
Commits on Jul 23, 2024
-
Apply DBSync configuration to the DBSync container
Updated the Docker Compose template `docker-compose.yml.tpl` for the DBSync container to include the new configuration. Added a command to specify the path to the `db-sync-config.json` file and also included a volume mount to provide the configuration file to the container. This change ensures the DBSync process uses the correct settings, allowing it to adapt to future updates and ensuring better synchronization with the Cardano blockchain.
Configuration menu - View commit details
-
Copy full SHA for 7970bad - Browse repository at this point
Copy the full SHA 7970badView commit details
Commits on Jul 24, 2024
-
Enable future genesis in dbsync configuration
Updated the DBSync configuration to support future genesis blocks by adding the `DB_SYNC_ENABLE_FUTURE_GENESIS` environment variable to `docker-compose.yml.tpl`. This ensures the DBSync process is forward-compatible with future updates to the Cardano blockchain, enhancing its adaptability and long-term functionality. This change ensures the DBSync process uses the correct settings, allowing it to adapt to future updates and ensuring better synchronization with the Cardano blockchain.
Configuration menu - View commit details
-
Copy full SHA for ea89bb0 - Browse repository at this point
Copy the full SHA ea89bb0View commit details -
Add missing ENV variable for PDF API in workflow
Updated the GitHub Actions workflow to include the `PDF_API_URL` environment variable. This ensures that the resync process has access to the necessary endpoint for generating PDFs, improving the overall functionality and integration of the resync process within the Cardano node and DBSync synchronization workflow. This change addresses the missing configuration and enhances the reliability of the workflows. Additionally, this commit introduces the recent adjustments made to the workflow that deploys dev environment.
Configuration menu - View commit details
-
Copy full SHA for dfa69cb - Browse repository at this point
Copy the full SHA dfa69cbView commit details -
Add ECR registry for custom Cardano DB Sync image
Added a new ECR module for storing the custom Cardano DB Sync Docker image. This change involved updating the `infra/terraform/main.tf` file to include the new `govtool-ecr-custom-cardano-db-sync` module. Adjusted the IAM policy to grant access to this new repository. Additionally, included output configurations for retrieving the repository URL. This update supports the transition towards storing and deploying custom Cardano DB Sync images, ensuring better version control and deployment reliability.
Configuration menu - View commit details
-
Copy full SHA for 7126599 - Browse repository at this point
Copy the full SHA 7126599View commit details -
Prepare Makefile to build Cardano DB Sync image with custom entrypoint
Updated `scripts/govtool/Makefile` to include the new custom Cardano DB Sync module by adding `custom-cardano-db-sync.mk`. Created new files: - `scripts/govtool/custom-cardano-db-sync.Dockerfile` to define the Docker image with a custom entrypoint. - `scripts/govtool/custom-cardano-db-sync.entrypoint.sh` to provide the custom entrypoint script. - `scripts/govtool/custom-cardano-db-sync.mk` to manage the build and push processes of the custom Cardano DB Sync Docker image. These changes ensure that we can build and deploy a custom Cardano DB Sync image with a specific entrypoint, allowing for custom logic execution during container startup.
Configuration menu - View commit details
-
Copy full SHA for 78a591c - Browse repository at this point
Copy the full SHA 78a591cView commit details -
Add entrypoint that customizes DBSync configuration
Updated the custom entrypoint script for the Cardano DB Sync container to include advanced configuration capabilities. Changes were made to `scripts/govtool/custom-cardano-db-sync.entrypoint.sh` to set up necessary environment variables, handle PostgreSQL authentication via a `pgpass` file, and include the path to `db-sync-config.json`. The `scripts/govtool/Makefile` and `scripts/govtool/config/templates/docker-compose.yml.tpl` files were adjusted to support these changes by implementing new build and deployment targets for the custom Cardano DB Sync image and updating the Docker Compose template. These changes ensure the DBSync process uses the correct settings, allowing it to adapt to future updates and ensuring better synchronization with the Cardano blockchain.
Configuration menu - View commit details
-
Copy full SHA for c51f482 - Browse repository at this point
Copy the full SHA c51f482View commit details