Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Osiris/kub backend #62

Merged
merged 20 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
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
32 changes: 0 additions & 32 deletions .github/workflows/devnet-ci.yml

This file was deleted.

91 changes: 91 additions & 0 deletions .github/workflows/run-k8s.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: K8s CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
0xOsiris marked this conversation as resolved.
Show resolved Hide resolved

env:
CARGO_TERM_COLOR: always
RUST_LOG: INFO

jobs:
tests:
runs-on: ubuntu-22.04-32core
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@just
- uses: dtolnay/rust-toolchain@stable

- name: Setup Kurtosis
run: |
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
sudo apt install kurtosis-cli
kurtosis analytics disable

- name: Setup Minikube
uses: medyagh/setup-minikube@latest

- name: Get Kubeconfig
id: kubeconfig
shell: bash
run: |
cat ~/.kube/config > kubeconfig
echo "kubeconfig=$(cat kubeconfig | base64 -w 0)" >> $GITHUB_OUTPUT

- name: Configure Kubernetes Backend
shell: bash
run: |
kubectl config use-context minikube
kubectl get nodes
echo "Kubernetes engine is ready!"

kurtosis_config=$(kurtosis config path)
echo "config-version: 2" > $kurtosis_config
echo "should-send-metrics: false" >> $kurtosis_config
echo "kurtosis-clusters:" >> $kurtosis_config
echo " docker:" >> $kurtosis_config
echo " type: \"docker\"" >> $kurtosis_config
echo " minikube:" >> $kurtosis_config
echo " type: \"kubernetes\"" >> $kurtosis_config
echo " config:" >> $kurtosis_config
echo " kubernetes-cluster-name: \"minikube\"" >> $kurtosis_config
echo " storage-class: \"standard\"" >> $kurtosis_config
echo " enclave-size-in-megabytes: 200" >> $kurtosis_config

cat $kurtosis_config

kurtosis cluster set minikube

- name: Run kurtosis gateway in background
uses: JarvusInnovations/background-action@v1
with:
run: |
kurtosis gateway
wait-on: |
tcp:localhost:9710

- name: Check kurtosis engine in kubernetes cluster
shell: bash
run: |
kurtosis engine status
kurtosis enclave ls || ( kurtosis engine restart && kurtosis enclave ls )

- name: Setup Devnet
run: |
eval $(minikube -p minikube docker-env)
just devnet-up

- name: Block Building
run: |
just assertor -b

- name: Fallback
run: |
just assertor -f

- name: Devnet Down
run: |
just devnet-down
7 changes: 0 additions & 7 deletions devnet/.github/tests/blockscout.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions devnet/.github/tests/helder-op.yaml_norun

This file was deleted.

10 changes: 0 additions & 10 deletions devnet/.github/tests/hildr.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions devnet/.github/tests/multiple_l2s.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions devnet/.github/tests/op-besu.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions devnet/.github/tests/op-erigon.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions devnet/.github/tests/op-geth.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions devnet/.github/tests/op-nethermind.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions devnet/.github/tests/op-node.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions devnet/.github/tests/op-reth.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions devnet/.github/tests/single_l2.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions devnet/.github/workflows/conventional-pr-title-checker.yml

This file was deleted.

61 changes: 0 additions & 61 deletions devnet/.github/workflows/nightly.yml

This file was deleted.

48 changes: 0 additions & 48 deletions devnet/.github/workflows/per-pr.yml

This file was deleted.

21 changes: 0 additions & 21 deletions devnet/.github/workflows/release-please.yml

This file was deleted.

Loading