Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4420011
feat(ci): add integration tests for AutoTLS in Beekeeper workflow
akrem-chabchoub Feb 5, 2026
00c4ec7
feat(ci): enable P2P WebSocket support in Beekeeper workflow
akrem-chabchoub Feb 5, 2026
23279ad
fix(ci): update dependencies for ArgoCD trigger in Beekeeper workflow
akrem-chabchoub Feb 5, 2026
2b2b653
refactor(ci): add setup action for Beekeeper cluster deployment
akrem-chabchoub Feb 5, 2026
9ccf744
chore(ci): add checkout step to Beekeeper workflow for improved ref h…
akrem-chabchoub Feb 5, 2026
8ca3b1e
refactor(ci): remove setup action for Beekeeper cluster and inline st…
akrem-chabchoub Feb 5, 2026
282665c
refactor(ci): merge beekeeper and beekeeper-autotls
akrem-chabchoub Feb 9, 2026
31a1d0d
chore(ci): update Beekeeper workflow to use new branch and image tags
akrem-chabchoub Feb 16, 2026
a81b30f
chore(ci): update Beekeeper workflow to reference new autotls-check b…
akrem-chabchoub Feb 16, 2026
b25030a
chore(ci): update PEBBLE_IMAGE_TAG in Beekeeper workflow to v2.9.0 (t…
akrem-chabchoub Feb 16, 2026
3f59296
chore: update beekeeper branch
akrem-chabchoub Feb 17, 2026
1102828
chore: update beelocal and beekeeper branch
akrem-chabchoub Feb 17, 2026
00c7a11
chore: update beekeeper branch to fix/pebble-timout
akrem-chabchoub Feb 17, 2026
13c104e
fix: update pebble img tag to v2.9.0
akrem-chabchoub Feb 17, 2026
32c3a15
chore: update pebble and p2p-forge img tags
akrem-chabchoub Feb 17, 2026
19df6a0
chore: update beekeeper branch
akrem-chabchoub Feb 17, 2026
7fdabb3
Merge branch 'master' of https://github.com/ethersphere/bee into feat…
akrem-chabchoub Feb 20, 2026
d09d15c
chore: add pebble cert validity period
akrem-chabchoub Feb 20, 2026
a8da204
fix: simplify failure conditions in beekeeper workflow for artifact c…
akrem-chabchoub Feb 20, 2026
1323006
chore: update beelocal and beekeeper branch
akrem-chabchoub Mar 2, 2026
7249ec7
chore: increase pebble cert period to 300
akrem-chabchoub Mar 5, 2026
daa489e
chore: temp remove redundant test steps from beekeeper
akrem-chabchoub Mar 5, 2026
e31b93b
chore: update pebble cert validity period
akrem-chabchoub Mar 9, 2026
839e969
chore: update beekeeper and beelocal branches
akrem-chabchoub Apr 7, 2026
e27b650
chore: update beelocal branch
akrem-chabchoub Apr 7, 2026
37aa870
chore: update beelocal branch
akrem-chabchoub Apr 7, 2026
62962dc
chore: revert old chekcs
akrem-chabchoub Apr 17, 2026
621b571
chore: update beekeeper branch to refactor/autotls
akrem-chabchoub Apr 17, 2026
19d9846
chore: update beekeeper branch
akrem-chabchoub Apr 17, 2026
d1d7ec7
chore: enhance tests for autotls and update pebble validity period
akrem-chabchoub Apr 30, 2026
c8bcdb0
chore: update cert validity to 500
akrem-chabchoub Apr 30, 2026
e30e29e
chore: enhance beekeeper workflow with push event and P2P change dete…
akrem-chabchoub May 1, 2026
05ef834
chore: update beekeeper workflow to include itself in change detection
akrem-chabchoub May 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/actions/setup-beekeeper-cluster/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Setup beekeeper cluster
description: Unpack artifacts, prepare k3s, set kubeconfig and deploy local beekeeper cluster.
inputs:
cluster_name:
description: Beekeeper cluster name (e.g. local-dns, local-dns-autotls)
required: true
runs:
using: composite
steps:
- name: Unpack artifacts
shell: bash
run: |
chmod +x bee-1 beekeeper .github/bin/beekeeper_artifacts.sh
mv .beekeeper.yaml ~/.beekeeper.yaml
mkdir -p ~/.beekeeper && mv local.yaml ~/.beekeeper/local.yaml
mv bee-1 bee
sudo mv beekeeper /usr/local/bin/beekeeper
- name: Prepare local cluster
shell: bash
run: timeout ${TIMEOUT} make beelocal OPTS='ci skip-vet' ACTION=prepare
- name: Set kube config
shell: bash
run: |
mkdir -p ~/.kube
cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
- name: Set local cluster
shell: bash
run: timeout ${TIMEOUT} make deploylocal BEEKEEPER_CLUSTER=${{ inputs.cluster_name }}
Comment thread Fixed
78 changes: 58 additions & 20 deletions .github/workflows/beekeeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
RUN_TYPE: "PR RUN"
SETUP_CONTRACT_IMAGE: "ethersphere/bee-localchain"
SETUP_CONTRACT_IMAGE_TAG: "0.9.4"
BEELOCAL_BRANCH: "main"
BEEKEEPER_BRANCH: "master"
BEELOCAL_BRANCH: "akrem/p2p-wss-support-v2" # TODO: change to main (temporary testing branch)
BEEKEEPER_BRANCH: "feat/autotls-cluster" # TODO: change to master (temporary testing branch)
BEEKEEPER_METRICS_ENABLED: false
REACHABILITY_OVERRIDE_PUBLIC: true
BATCHFACTOR_OVERRIDE_PUBLIC: 2
Expand All @@ -25,6 +25,7 @@
AWS_EC2_METADATA_DISABLED: true
AWS_ENDPOINT: fra1.digitaloceanspaces.com
VERTAG: ${GITHUB_RUN_ID}
P2P_WSS_ENABLE: true
jobs:
init:
name: Init
Expand Down Expand Up @@ -109,23 +110,10 @@
uses: actions/download-artifact@v4
with:
name: temp-artifacts
- name: Unpack artifacts
run: |
chmod +x bee-1 beekeeper .github/bin/beekeeper_artifacts.sh
mv .beekeeper.yaml ~/.beekeeper.yaml
mkdir ~/.beekeeper && mv local.yaml ~/.beekeeper/local.yaml
mv bee-1 bee
sudo mv beekeeper /usr/local/bin/beekeeper
- name: Prepare local cluster
run: |
timeout ${TIMEOUT} make beelocal OPTS='ci skip-vet' ACTION=prepare
- name: Set kube config
run: |
mkdir -p ~/.kube
cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
- name: Set local cluster
run: |
timeout ${TIMEOUT} make deploylocal BEEKEEPER_CLUSTER=local-dns
- name: Setup beekeeper cluster
uses: ./.github/actions/setup-beekeeper-cluster
with:
cluster_name: local-dns
- name: Test pingpong
id: pingpong
run: timeout ${TIMEOUT} bash -c 'until beekeeper check --cluster-name local-dns --checks ci-pingpong; do echo "waiting for pingpong..."; sleep .3; done'
Expand Down Expand Up @@ -215,11 +203,61 @@
with:
name: debug-dump
path: dump/
beekeeper-autotls:
name: Integration tests (autotls)
runs-on: ubuntu-latest
needs: [init, beekeeper]
env:
BEEKEEPER_CLUSTER: local-dns-autotls
P2P_WSS_ENABLE: true
steps:
- name: Cache
uses: actions/cache@v4
with:
path: |
/tmp/k3s-${{ env.K3S_VERSION }}
key: k3s-${{ env.K3S_VERSION }}
- name: "Download Artifact"
uses: actions/download-artifact@v4
with:
name: temp-artifacts
- name: Setup beekeeper cluster
uses: ./.github/actions/setup-beekeeper-cluster
with:
cluster_name: local-dns-autotls
- name: Test pingpong
id: pingpong
run: timeout ${TIMEOUT} bash -c 'until beekeeper check --cluster-name local-dns-autotls --checks ci-pingpong; do echo "waiting for pingpong..."; sleep .3; done'
- name: Test fullconnectivity
id: fullconnectivity
run: timeout ${TIMEOUT} bash -c 'until beekeeper check --cluster-name local-dns-autotls --checks=ci-full-connectivity; do echo "waiting for full connectivity..."; sleep .3; done'
- name: Test retrieval
id: retrieval
run: timeout ${TIMEOUT} beekeeper check --cluster-name local-dns-autotls --checks=ci-retrieval
- name: Test autotls
id: autotls
run: timeout ${TIMEOUT} beekeeper check --cluster-name local-dns-autotls --checks=ci-autotls
- name: Collect debug artifacts
if: failure()
run: |
bash .github/bin/beekeeper_artifacts.sh local-dns-autotls
export FAILED='no-test'
if ${{ steps.pingpong.outcome=='failure' }}; then FAILED=pingpong; fi
if ${{ steps.fullconnectivity.outcome=='failure' }}; then FAILED=fullconnectivity; fi
if ${{ steps.retrieval.outcome=='failure' }}; then FAILED=retrieval; fi
if ${{ steps.autotls.outcome=='failure' }}; then FAILED=autotls; fi
curl -sSf -X POST -H "Content-Type: application/json" -d "{\"text\": \"**${RUN_TYPE}** Beekeeper Autotls Error\nBranch: \`${{ github.head_ref }}\`\nUser: @${{ github.event.pull_request.user.login }}\nDebugging artifacts: [click](https://$BUCKET_NAME.$AWS_ENDPOINT/artifacts_$VERTAG.tar.gz)\nStep failed: \`${FAILED}\`\"}" https://beehive.ethswarm.org/hooks/${{ secrets.TUNSHELL_KEY }}
Comment thread Fixed
echo "Failed test: ${FAILED}"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: debug-dump-autotls
path: dump/
retag:
name: Retag and Trigger ArgoCD
env:
TIMEOUT: 10m
needs: [beekeeper]
needs: [beekeeper, beekeeper-autotls]
runs-on: ubuntu-latest
steps:
- name: "Download Artifact"
Expand Down
Loading