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
6b731c7f
Unverified
Commit
6b731c7f
authored
Sep 27, 2020
by
Ivan Vandot
Committed by
GitHub
Sep 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable geth infra tests (#759)
parent
e039dab6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
10 deletions
+28
-10
beekeeper.yaml
.github/workflows/beekeeper.yaml
+28
-10
No files found.
.github/workflows/beekeeper.yaml
View file @
6b731c7f
...
@@ -25,15 +25,18 @@ jobs:
...
@@ -25,15 +25,18 @@ jobs:
export TAG=$(curl -s https://api.github.com/repos/ethersphere/beekeeper/releases/latest | jq -r .tag_name)
export TAG=$(curl -s https://api.github.com/repos/ethersphere/beekeeper/releases/latest | jq -r .tag_name)
curl -Ls https://github.com/ethersphere/beekeeper/releases/download/${TAG}/beekeeper-linux-amd64 -o beekeeper
curl -Ls https://github.com/ethersphere/beekeeper/releases/download/${TAG}/beekeeper-linux-amd64 -o beekeeper
chmod +x beekeeper
chmod +x beekeeper
-
name
:
Set
testing cluster (DNS discovery)
-
name
:
Prepare
testing cluster (DNS discovery)
run
:
|
run
:
|
echo -e "127.0.0.10\tregistry.localhost" | sudo tee -a /etc/hosts
./beeinfra.sh prepare --dns-disco --geth
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 --dns-disco --local -r "${REPLICA}" --bootnode /dnsaddr/localhost --pay-threshold 10000
-
name
:
Set kube config
-
name
:
Set kube config
run
:
|
run
:
|
mkdir -p ~/.kube
mkdir -p ~/.kube
cp $(k3d get-kubeconfig --name='k3s-default') ~/.kube/config
cp $(k3d get-kubeconfig --name='k3s-default') ~/.kube/config
-
name
:
Set testing cluster (DNS discovery)
run
:
|
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 --dns-disco --local -r "${REPLICA}" --bootnode /dnsaddr/localhost --pay-threshold 10000 --geth
-
name
:
Test fullconnectivity
-
name
:
Test fullconnectivity
id
:
fullconnectivity-1
id
:
fullconnectivity-1
run
:
./beekeeper check fullconnectivity --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
run
:
./beekeeper check fullconnectivity --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
...
@@ -43,11 +46,19 @@ jobs:
...
@@ -43,11 +46,19 @@ jobs:
-
name
:
Test settlements
-
name
:
Test settlements
id
:
settlements
id
:
settlements
run
:
./beekeeper check settlements --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}" --upload-node-count 10 -t
10000
run
:
./beekeeper check settlements --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}" --upload-node-count 10 -t
10000
-
name
:
Clean the cluster
-
name
:
Destroy the cluster
run
:
|
./beeinfra.sh destroy
-
name
:
Prepare testing cluster (Node connection)
run
:
|
./beeinfra.sh prepare --geth
-
name
:
Set kube config
run
:
|
run
:
|
helm uninstall bee -n bee
mkdir -p ~/.kube
cp $(k3d get-kubeconfig --name='k3s-default') ~/.kube/config
-
name
:
Set testing cluster (Node connection)
-
name
:
Set testing cluster (Node connection)
run
:
./beeinfra.sh install --local -r "${REPLICA}"
run
:
|
./beeinfra.sh install --local -r "${REPLICA}" --geth
-
name
:
Test fullconnectivity
-
name
:
Test fullconnectivity
id
:
fullconnectivity-2
id
:
fullconnectivity-2
run
:
./beekeeper check fullconnectivity --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
run
:
./beekeeper check fullconnectivity --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
...
@@ -75,10 +86,17 @@ jobs:
...
@@ -75,10 +86,17 @@ jobs:
-
name
:
Test manifest
-
name
:
Test manifest
id
:
manifest
id
:
manifest
run
:
./beekeeper check manifest --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
run
:
./beekeeper check manifest --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
-
name
:
Clean
the cluster
-
name
:
Destroy
the cluster
run
:
|
run
:
|
helm uninstall bee -n bee
./beeinfra.sh destroy
grep -vE 'bee|registry.localhost' /etc/hosts | sudo tee /etc/hosts
grep -vE 'bee|registry.localhost' /etc/hosts | sudo tee /etc/hosts
-
name
:
Prepare testing cluster (Node connection) 5 bee nodes
run
:
|
./beeinfra.sh prepare --geth
-
name
:
Set kube config
run
:
|
mkdir -p ~/.kube
cp $(k3d get-kubeconfig --name='k3s-default') ~/.kube/config
-
name
:
Increase REPLICA to
5
-
name
:
Increase REPLICA to
5
run
:
|
run
:
|
echo "::set-env name=REPLICA::5"
echo "::set-env name=REPLICA::5"
...
@@ -86,7 +104,7 @@ jobs:
...
@@ -86,7 +104,7 @@ jobs:
run
:
|
run
:
|
echo -e "127.0.0.10\tregistry.localhost" | sudo tee -a /etc/hosts
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
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}"
./beeinfra.sh install --local -r "${REPLICA}"
--geth
-
name
:
Test localpinning
1
-
name
:
Test localpinning
1
id
:
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}"
run
:
./beekeeper check localpinning --api-scheme http --debug-api-scheme http --disable-namespace --debug-api-domain localhost --api-domain localhost --node-count "${REPLICA}"
...
...
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