Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ethereum-package
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
ethereum-package
Commits
d621cf0a
Unverified
Commit
d621cf0a
authored
Jun 28, 2024
by
Barnabas Busa
Committed by
GitHub
Jun 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add back k8s tests (#699)
parent
440fb319
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
3 deletions
+57
-3
per-pr.yml
.github/workflows/per-pr.yml
+3
-3
run-k8s.yml
.github/workflows/run-k8s.yml
+54
-0
No files found.
.github/workflows/per-pr.yml
View file @
d621cf0a
...
...
@@ -9,7 +9,7 @@ concurrency:
jobs
:
run_starlark
:
runs-on
:
self-hosted-ghr-size-l-x64
runs-on
:
ubuntu-latest
steps
:
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v3
...
...
@@ -43,7 +43,7 @@ jobs:
"
./.github/tests/minimal.yaml"
,
"
./network_params.yaml"
]
runs-on
:
self-hosted-ghr-size-l-x64
runs-on
:
ubuntu-latest
steps
:
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v3
...
...
@@ -80,7 +80,7 @@ jobs:
run
:
kurtosis lint ${{ github.workspace }}
assertoor
:
runs-on
:
self-hosted-ghr-size-l-x64
runs-on
:
ubuntu-latest
timeout-minutes
:
30
steps
:
-
name
:
Login to Docker Hub
...
...
.github/workflows/run-k8s.yml
0 → 100644
View file @
d621cf0a
name
:
Run k8s test
on
:
pull_request
:
workflow_dispatch
:
schedule
:
-
cron
:
'
0
2
*
*
*'
concurrency
:
group
:
"
scheduled-test"
cancel-in-progress
:
false
jobs
:
run_k8s_test
:
strategy
:
matrix
:
payload
:
-
{
name
:
"
minimal"
,
file
:
"
./.github/tests/minimal.yaml"
}
-
{
name
:
"
network-params"
,
file
:
"
./network_params.yaml"
}
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
:
"
${{
github.head_ref
||
github.ref_name
}}"
ethereum_package_args
:
"
${{
matrix.payload.file
}}"
enclave_name
:
"
ethereum-package-${{
matrix.payload.name
}}-${{
github.run_id
}}"
persistent_logs
:
"
true"
-
name
:
Notify
if
:
cancelled() || failure()
uses
:
Ilshidur/action-discord@master
env
:
DISCORD_WEBHOOK
:
${{ secrets.DISCORD_WEBHOOK }}
with
:
args
:
"
The
k8s
nightly/per
PR
test
for
${{matrix.payload.name}}
on
ethereum-package
has
failed
find
it
here
${{
github.server_url
}}/${{
github.repository
}}/actions/runs/${{
github.run_id
}}"
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