-
Notifications
You must be signed in to change notification settings - Fork 4
fix: Fix Subgraph deployment #47
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
Merged
zguesmi
merged 39 commits into
feature/setup-agnostique-test-stack-based-on-fork
from
feature/minor-fixes
Apr 29, 2025
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
9e4ac65
refactor: update CI workflow to include health checks and integration…
Le-Caignec 85a202f
fix: update fork URL and block number retrieval in CI workflow
Le-Caignec 3076c4f
fix: update command options and environment variable retrieval in CI …
Le-Caignec 315e600
fix: correct health check options and update fork URL retrieval in CI…
Le-Caignec c11ac45
fix: update IPFS image and health check commands in CI workflow
Le-Caignec 8fed9da
fix: update CI workflow to include genesis block retrieval and health…
TartanLeGrand c4451d0
fix: update IPFS image to use kubo version in docker-compose
Le-Caignec 8656831
fix: retrieve fork URL and block number
TartanLeGrand 2041a68
fix: remove blockchain-fork service configuration from CI workflow
TartanLeGrand bc85f68
fix: update fetch block number to use static values and add IPFS read…
Le-Caignec 7f171a4
Merge branch 'feature/migrate-integration-tests' of https://github.co…
Le-Caignec 52ca2ae
fix: remove code generation step from README
Le-Caignec c41a006
fix: remove unused services and streamline CI workflow
Le-Caignec 4ec3980
fix: update FORK_URL to use the correct endpoint for integration tests
Le-Caignec 52e0101
fix: uncomment steps for installing dependencies, checking format, bu…
Le-Caignec 9bcffbc
fix: uncomment steps for preparing local stack environment and update…
Le-Caignec c3bed0b
fix: update fetch block step to source environment variables and use …
Le-Caignec e5999ae
fix: add NETWORK_NAME environment variable to prepare local stack env…
Le-Caignec 51761db
fix: update fetch block step to source the correct environment file
Le-Caignec 9e17544
fix: remove .idea directory from .gitignore
Le-Caignec a20ad2d
fix: reorder build step to occur before running unit tests
Le-Caignec 32f7059
fix: reorder steps to run unit tests after build in CI workflow
Le-Caignec 2ee27cd
fix: move NETWORK_NAME environment variable to the job level in CI wo…
Le-Caignec d9c8167
Update test-stack/prepare-test-env.ts
Le-Caignec b660ee1
fix: update changelog for integration tests migration to GitHub Actions
Le-Caignec 124a15b
fix: streamline test stack preparation in CI workflow (#46)
Le-Caignec cebad13
fix: remove NETWORK_NAME environment variable from job level in CI wo…
Le-Caignec 874e4c0
fix: update .env generation message in prepare-test-env script
Le-Caignec b0dbad0
fix: update integration test structure and add .env.template file
Le-Caignec 2abc3a3
fix: add missing network configurations for avalancheFuji and arbitru…
Le-Caignec 93167f9
fix: add Arbitrum & Avalanche network to changelog
Le-Caignec e6b89e2
fix: add dotenv and zod to package.json and package-lock.json; create…
Le-Caignec 71a8ab6
Merge remote-tracking branch 'origin/feature/setup-agnostique-test-st…
Le-Caignec d5b0af5
fix: update test:unit script to include 'unit' argument for clarity
Le-Caignec d01ddc4
fix: update startBlock values and rename avalancheFuji to fuji in net…
Le-Caignec ebbf753
feat: add Protocol entity to Core data source in subgraph.yaml
Le-Caignec 814adf6
fix: update test:e2e script to specify test file pattern
Le-Caignec fdaac23
fix: downgrade @graphprotocol/graph-ts to version 0.35.1 in package.j…
Le-Caignec 324dd4c
feat: add dotenv-cli dependency and update build scripts to use dotenv
Le-Caignec File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # The name of the network (e.g., mainnet, arbitrum, etc.) | ||
| NETWORK_NAME=... | ||
|
|
||
| # The URL of the Graph Node endpoint for self-hosted Graph Node | ||
| GRAPHNODE_URL=... | ||
|
|
||
| # The URL of the IPFS endpoint for self-hosted IPFS | ||
| IPFS_URL=... | ||
|
|
||
| # The version label for the deployment (e.g., v1.0.0) | ||
| VERSION_LABEL=... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,3 +6,4 @@ subgraph.test.yaml | |
| test-stack/.env | ||
| tests/.bin | ||
| tests/.latest.json | ||
| .env | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import 'dotenv/config'; | ||
| import { z } from 'zod'; | ||
|
|
||
| const envSchema = z.object({ | ||
| NETWORK_NAME: z.string().min(1, 'NETWORK_NAME is required').default('bellecour'), | ||
|
|
||
| GRAPHNODE_URL: z | ||
| .string() | ||
| .url('GRAPHNODE_URL must be a valid URL') | ||
| .default('http://localhost:8020'), | ||
|
|
||
| IPFS_URL: z.string().url('IPFS_URL must be a valid URL').default('http://localhost:5001'), | ||
|
|
||
| VERSION_LABEL: z.string().min(1, 'VERSION_LABEL is required').default('bellecour/poco-v5'), | ||
| }); | ||
zguesmi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| export const env = envSchema.parse(process.env); | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.