mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-05-12 22:39:26 +00:00
Adds a workflow for release tests: - builds a docker image for launching nodes in the tests (basically has additional nimflags set) - creates a K8s cluster in Digital Ocean - one pod in the cluster is dedicated as the test runner (uses the logos-storage-nim-cs-dist-tests:latest image) - the release will fail if the docker image build or the release tests fail - the K8s cluster is torn down after the tests finish (failure or not)
29 lines
1.2 KiB
JSON
29 lines
1.2 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Read(//Users/egonat/repos/gmega/logos-storage-docs/**)",
|
|
"Bash(npm run build)",
|
|
"Bash(npx astro build)",
|
|
"Bash(npm install)",
|
|
"Bash(node_modules/.bin/astro build)",
|
|
"WebSearch",
|
|
"Bash(npm test:*)",
|
|
"Bash(node -e \"import\\(''koffi''\\).then\\(m => console.log\\(Object.keys\\(m.default\\)\\)\\).catch\\(console.error\\)\")",
|
|
"Bash(timeout 5 node -e \":*)",
|
|
"Bash(node probe.js)",
|
|
"Bash(node two-node-test.js)",
|
|
"WebFetch(domain:github.com)",
|
|
"WebFetch(domain:api.github.com)",
|
|
"Read(//Users/egonat/repos/logos-storage/infra-codex/clusters/codex-dist-tests-do-ams3/**)",
|
|
"Read(//Users/egonat/repos/logos-storage/logos-storage-nim-cs-dist-tests/Tests/CodexReleaseTests/**)",
|
|
"Read(//Users/egonat/repos/logos-storage/logos-storage-nim-cs-dist-tests/**)",
|
|
"Bash(grep -E \"\\\\.cs$\")",
|
|
"Read(//Users/egonat/repos/logos-storage/infra-codex/clusters/modules/doks/**)"
|
|
],
|
|
"additionalDirectories": [
|
|
"/Users/egonat/repos/gmega/logos-storage-docs/src/content/docs/api",
|
|
"/Users/egonat/repos/gmega/logos-storage-docs/src/content/docs/tutorials"
|
|
]
|
|
}
|
|
}
|