Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
276f52e7
Unverified
Commit
276f52e7
authored
Nov 05, 2020
by
acud
Committed by
GitHub
Nov 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
beekeeper: update gc and localpinning tests (#907)
parent
0638fbe7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
24 deletions
+24
-24
beekeeper.yml
.github/workflows/beekeeper.yml
+12
-12
slash-beekeeper.yml
.github/workflows/slash-beekeeper.yml
+12
-12
No files found.
.github/workflows/beekeeper.yml
View file @
276f52e7
...
...
@@ -105,15 +105,15 @@ jobs:
echo -e "127.0.0.10\tregistry.localhost" | sudo tee -a /etc/hosts
for ((i=0; i<REPLICA; i++)); do echo -e "127.0.1.$((i+1))\tbee-${i}.localhost bee-${i}-debug.localhost"; done | sudo tee -a /etc/hosts
./beeinfra.sh install --local -r "${REPLICA}" --geth
-
name
:
Test
localpinning
1
id
:
localpinning-1
run
:
./beekeeper check
localpinning
--api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
-
name
:
Test
localpinning
2
id
:
localpinning-2
run
:
./beekeeper check
localpinning --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}" --large-file-disk-ratio
2
-
name
:
Test
localpinning
3
id
:
localpinning-3
run
:
./beekeeper check
localpinning --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}" --large-file-disk-ratio 2 --large-file-count
10
-
name
:
Test
gc
id
:
gc-chunk
run
:
./beekeeper check
gc --db-capacity 2000
--api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
-
name
:
Test
pin chunk
id
:
pin-chunk
run
:
./beekeeper check
pin-chunk --db-capacity 2000 --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
-
name
:
Test
pin bytes
id
:
pin-bytes
run
:
./beekeeper check
pin-bytes --db-capacity 2000 --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
-
name
:
Retag Docker image and push
if
:
success()
run
:
|
...
...
@@ -147,9 +147,9 @@ jobs:
if ${{ steps.pullsync.outcome=='failure' }}; then FAILED=pullsync; fi
if ${{ steps.chunkrepair.outcome=='failure' }}; then FAILED=chunkrepair; fi
if ${{ steps.manifest.outcome=='failure' }}; then FAILED=manifest; fi
if ${{ steps.
localpinning-1.outcome=='failure' }}; then FAILED=localpinning-1
; fi
if ${{ steps.
localpinning-2.outcome=='failure' }}; then FAILED=localpinning-2
; fi
if ${{ steps.
localpinning-3.outcome=='failure' }}; then FAILED=localpinning-3
; fi
if ${{ steps.
gc-chunk.outcome=='failure' }}; then FAILED=gc-chunk
; fi
if ${{ steps.
pin-chunk.outcome=='failure' }}; then FAILED=pin-chunk
; fi
if ${{ steps.
pin-bytes.outcome=='failure' }}; then FAILED=pin-bytes
; fi
KEYS=$(curl -sSf -X POST https://eu.relay.tunshell.com/api/sessions)
curl -sSf -X POST -H "Content-Type: application/json" -d "{\"text\": \"**Merge run**\nFailed -> \`${FAILED}\`\nDebug -> \`sh <(curl -sSf https://lets.tunshell.com/init.sh) L $(echo $KEYS | jq -r .peer2_key) \${TUNSHELL_SECRET} eu.relay.tunshell.com\`\"}" https://beehive.ethswarm.org/hooks/${{ secrets.WEBHOOK_KEY }}
echo "Failed test: ${FAILED}"
...
...
.github/workflows/slash-beekeeper.yml
View file @
276f52e7
...
...
@@ -107,15 +107,15 @@ jobs:
echo -e "127.0.0.10\tregistry.localhost" | sudo tee -a /etc/hosts
for ((i=0; i<REPLICA; i++)); do echo -e "127.0.1.$((i+1))\tbee-${i}.localhost bee-${i}-debug.localhost"; done | sudo tee -a /etc/hosts
./beeinfra.sh install --local -r "${REPLICA}" --geth
-
name
:
Test
localpinning
1
id
:
localpinning-1
run
:
./beekeeper check
localpinning
--api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
-
name
:
Test
localpinning
2
id
:
localpinning-2
run
:
./beekeeper check
localpinning --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}" --large-file-disk-ratio
2
-
name
:
Test
localpinning
3
id
:
localpinning-3
run
:
./beekeeper check
localpinning --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}" --large-file-disk-ratio 2 --large-file-count
10
-
name
:
Test
gc
id
:
gc-chunk
run
:
./beekeeper check
gc
--api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
-
name
:
Test
pin chunk
id
:
pin-chunk
run
:
./beekeeper check
pin-chunk --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
-
name
:
Test
pin bytes
id
:
pin-bytes
run
:
./beekeeper check
pin-bytes --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
-
name
:
Debug workflow if failed
if
:
failure()
run
:
|
...
...
@@ -132,9 +132,9 @@ jobs:
if ${{ steps.pullsync.outcome=='failure' }}; then FAILED=pullsync; fi
if ${{ steps.chunkrepair.outcome=='failure' }}; then FAILED=chunkrepair; fi
if ${{ steps.manifest.outcome=='failure' }}; then FAILED=manifest; fi
if ${{ steps.
localpinning-1.outcome=='failure' }}; then FAILED=localpinning-1
; fi
if ${{ steps.
localpinning-2.outcome=='failure' }}; then FAILED=localpinning-2
; fi
if ${{ steps.
localpinning-3.outcome=='failure' }}; then FAILED=localpinning-3
; fi
if ${{ steps.
gc-chunk.outcome=='failure' }}; then FAILED=gc-chunk
; fi
if ${{ steps.
pin-chunk.outcome=='failure' }}; then FAILED=pin-chunk
; fi
if ${{ steps.
pin-bytes.outcome=='failure' }}; then FAILED=pin-bytes
; fi
KEYS=$(curl -sSf -X POST https://eu.relay.tunshell.com/api/sessions)
curl -sSf -X POST -H "Content-Type: application/json" -d "{\"text\": \"**PR run** - > \`${{ github.event.client_payload.ref }}\`\nFailed -> \`${FAILED}\`\nDebug -> \`sh <(curl -sSf https://lets.tunshell.com/init.sh) L $(echo $KEYS | jq -r .peer2_key) \${TUNSHELL_SECRET} eu.relay.tunshell.com\`\"}" https://beehive.ethswarm.org/hooks/${{ secrets.WEBHOOK_KEY }}
echo "Failed test: ${FAILED}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment