mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 16:53:19 +08:00
* feat: ingestion for TenureChange and NakamotoCoinbase tx types * fix: add new tx fields to batch tx insert query * chore: bump stacks-encoding-native-js * test: fix flaky socket-io timeout test
175 lines
6.2 KiB
JSON
175 lines
6.2 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "generate:schemas",
|
|
"type": "npm",
|
|
"script": "generate:schemas",
|
|
"presentation": {
|
|
"reveal": "silent"
|
|
}
|
|
},
|
|
{
|
|
"label": "stacks-node:deploy-dev",
|
|
"type": "shell",
|
|
"command": "npm run devenv:deploy",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3, },
|
|
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
|
|
},
|
|
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
|
|
},
|
|
{
|
|
"label": "stacks-node:start-mocknet",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker/docker-compose.dev.stacks-blockchain.yml up --force-recreate -V",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3, },
|
|
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
|
|
},
|
|
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
|
|
},
|
|
{
|
|
"label": "stacks-node:stop-mocknet",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker/docker-compose.dev.stacks-blockchain.yml down -v -t 0",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3, },
|
|
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
|
|
},
|
|
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
|
|
},
|
|
{
|
|
"label": "deploy:pg",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker/docker-compose.dev.postgres.yml up --force-recreate -V",
|
|
"isBackground": true,
|
|
"problemMatcher": [{
|
|
"pattern": [{ "regexp": ".", "file": 1, "location": 2, "message": 3 }],
|
|
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
|
|
}],
|
|
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
|
|
},
|
|
{
|
|
"label": "stop:pg",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker/docker-compose.dev.postgres.yml down -v -t 0",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"clear": false
|
|
}
|
|
},
|
|
{
|
|
"label": "deploy:subnets",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.subnets.yml up --force-recreate -V",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3 },
|
|
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
|
|
},
|
|
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
|
|
},
|
|
{
|
|
"label": "stop:subnets",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.subnets.yml down -v -t 0",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"clear": false
|
|
}
|
|
},
|
|
{
|
|
"label": "deploy:krypton",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.stacks-krypton.yml up --force-recreate -V",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3 },
|
|
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
|
|
},
|
|
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
|
|
},
|
|
{
|
|
"label": "stop:krypton",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.stacks-krypton.yml down -v -t 0",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"clear": false
|
|
}
|
|
},
|
|
{
|
|
"label": "deploy:krypton-2.1-transition",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.stacks-krypton-2.1-transition.yml up",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3 },
|
|
"background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "." }
|
|
},
|
|
"presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "clear": false }
|
|
},
|
|
{
|
|
"label": "stop:krypton-2.1-transition",
|
|
"type": "shell",
|
|
"command": "docker compose -f docker/docker-compose.dev.postgres.yml -f docker/docker-compose.dev.stacks-krypton-2.1-transition.yml down -v -t 0",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"clear": false
|
|
}
|
|
},
|
|
{
|
|
"label": "stacks-node:deploy-follower",
|
|
"type": "shell",
|
|
"command": "npm run devenv:follower -- -d && npm run devenv:logs",
|
|
"isBackground": true,
|
|
"problemMatcher": [
|
|
{
|
|
"pattern": [{ "regexp": ".", "file": 1, "location": 2, "message": 3, }],
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": ".",
|
|
"endsPattern": ".",
|
|
}
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": "stacks-node:stop-dev",
|
|
"type": "shell",
|
|
"command": "npm run devenv:stop",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "silent",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
}
|
|
},
|
|
{
|
|
"label": "stacks-node:build-dev",
|
|
"type": "shell",
|
|
"command": "npm run devenv:build && npm run devenv:deploy"
|
|
},
|
|
]
|
|
}
|