Skip to content

Commit

Permalink
feat: add back k8s tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Jun 28, 2024
1 parent 9363ea2 commit d571f89
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/run-k8s.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Run k8s test

on:
workflow_dispatch:
schedule:
- cron: '0 1 * * *'

concurrency:
group: "scheduled-test"
cancel-in-progress: false

jobs:
run_test:
name: "Run k8s test"
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup minikube
id: 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
# run kurtosis test and assertoor
- name: Run kurtosis testnet
id: testnet
uses: ethpandaops/kurtosis-assertoor-github-action@v1
with:
kurtosis_extra_args: "--image-download always --non-blocking-tasks --verbosity DETAILED"
kurtosis_backend: "kubernetes"
kubernetes_config: "${{ steps.kubeconfig.outputs.kubeconfig }}"
kubernetes_cluster: "minikube"
kubernetes_storage_class: "standard"
ethereum_package_branch: "main"
ethereum_package_args: "./.github/test/mix-with-tools.yaml"
enclave_name: "ethereum-package-${{ github.run_id }}"
persistent_logs: "true"


0 comments on commit d571f89

Please sign in to comment.