Commit 7d9e178
feat: Setup agnostic test stack (#38)
* Add Docker support and environment setup for poco-subgraph
- Introduced .dockerignore and Dockerfile for containerization.
- Updated networks.json with new addresses and start blocks.
- Enhanced package.json with new scripts for cleaning and managing the build process.
- Created .gitignore for test-stack to exclude .env files.
- Added docker-compose.yml to define services for the test environment.
- Implemented prepare-test-env.js for dynamic environment variable generation.
- Removed tsconfig.json as it is no longer needed.
* Update CHANGELOG and README with Docker subgraph deployer details
* Fix Docker run command to use correct image name for poco-subgraph-deployer
* Add PR number in changelog
* Remove unused 'fork-test' network configuration and update Docker Compose to use dynamic NETWORK_NAME for Ethereum service
* feat: add typechain generation script and update dependencies
- Added a new script to generate TypeChain types for ethers-v6 in package.json.
- Updated the start-test-stack script to ensure proper environment setup.
- Modified the itest script to include NETWORK_NAME in the environment.
- Removed unused callHandlers from subgraph.yaml.
- Enhanced docker-compose.yml to include a stack-ready service for better orchestration.
- Updated prepare-test-env.js to conditionally update networks.json based on NETWORK_NAME.
- Introduced tsconfig.json for TypeScript configuration with strict settings.
* docs: update CHANGELOG to include README section for Docker-based subgraph deployer
* chore: update .gitignore to include test-stack/.env and remove redundant .gitignore file
* test: update integration test description to reflect app indexing functionality
* refactor: restructure prepare-test-env.js to improve block number fetching and environment file creation
* fix: simplify itest script by removing DEBUG flag
* fix: update start-test-stack script to use export for NETWORK_NAME
* Update test-stack/prepare-test-env.js
Co-authored-by: gfournieriExec <[email protected]>
* refactor: streamline package.json scripts by removing redundant clean and codegen commands
* refactor: update build and test scripts for consistency and clarity
* fix: simplify remove drone logic
* fix: ensure typechain generation runs before starting test stack
* refactor: simplify README instructions for local development and testing
* fix: reorder unit test execution in CI workflow and update README for build instructions
* Remove unused files (#42)
* Remove obsolete Docker configurations, environment files, and subgraph definitions for bellecour, test, and viviani. Refactor unit tests for IexecCategoryManager and IexecPoco, consolidating mock utilities and event parameter builders into a unified structure.
* refactor:github-action-ci (#43)
* chore: update GitHub workflows for coverage, deployment, and testing
* refactor: add formatting scripts and .prettierignore for code consistency
* chore: update dependencies in package.json
* fix: correct paths in .gitignore for test artifacts
* feature/migrate-integration-tests (#44)
* Feature/remove dead handler (#45)
* fix: Fix Subgraph deployment (#47)
* refactor: update CI workflow to include health checks and integration tests, remove obsolete Jenkinsfile
* fix: update fork URL and block number retrieval in CI workflow
* fix: update command options and environment variable retrieval in CI workflow
* fix: correct health check options and update fork URL retrieval in CI workflow
* fix: update IPFS image and health check commands in CI workflow
* fix: update CI workflow to include genesis block retrieval and health checks for Graph Node
* fix: update IPFS image to use kubo version in docker-compose
* fix: retrieve fork URL and block number
* fix: remove blockchain-fork service configuration from CI workflow
* fix: update fetch block number to use static values and add IPFS readiness check
* fix: remove code generation step from README
* fix: remove unused services and streamline CI workflow
* fix: update FORK_URL to use the correct endpoint for integration tests
* fix: uncomment steps for installing dependencies, checking format, building, and running unit tests in CI workflow
* fix: uncomment steps for preparing local stack environment and update FORK_BLOCK in test environment setup
* fix: update fetch block step to source environment variables and use dynamic values for FORK_URL and FORK_BLOCK
* fix: add NETWORK_NAME environment variable to prepare local stack environment step
* fix: update fetch block step to source the correct environment file
* fix: remove .idea directory from .gitignore
* fix: reorder build step to occur before running unit tests
* fix: reorder steps to run unit tests after build in CI workflow
* fix: move NETWORK_NAME environment variable to the job level in CI workflow
* Update test-stack/prepare-test-env.ts
Co-authored-by: Zied Guesmi <[email protected]>
* fix: update changelog for integration tests migration to GitHub Actions
* fix: streamline test stack preparation in CI workflow (#46)
* fix: remove NETWORK_NAME environment variable from job level in CI workflow
* fix: update .env generation message in prepare-test-env script
* fix: update integration test structure and add .env.template file
* fix: add missing network configurations for avalancheFuji and arbitrumSepolia
* fix: add Arbitrum & Avalanche network to changelog
* fix: add dotenv and zod to package.json and package-lock.json; create env.ts for environment variable validation
* fix: update test:unit script to include 'unit' argument for clarity
* fix: update startBlock values and rename avalancheFuji to fuji in networks.json
* feat: add Protocol entity to Core data source in subgraph.yaml
* fix: update test:e2e script to specify test file pattern
* fix: downgrade @graphprotocol/graph-ts to version 0.35.1 in package.json and package-lock.json
* feat: add dotenv-cli dependency and update build scripts to use dotenv
---------
Co-authored-by: Ugo Mignon <[email protected]>
Co-authored-by: Zied Guesmi <[email protected]>
---------
Co-authored-by: gfournieriExec <[email protected]>
Co-authored-by: Ugo Mignon <[email protected]>
Co-authored-by: Zied Guesmi <[email protected]>1 parent 721f751 commit 7d9e178
File tree
48 files changed
+4907
-4601
lines changed- .github/workflows
- config
- docker
- all-chains
- bellecour
- test
- viviani
- itest
- src
- Modules
- test-stack
- tests
- e2e
- unit
- Modules
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
48 files changed
+4907
-4601
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | | - | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | | - | |
13 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
17 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
18 | 32 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
22 | 38 | | |
23 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments