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

ci: run previous kurtosis version #821

Merged
merged 3 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
21 changes: 21 additions & 0 deletions .github/actions/kurtosis-install/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Kurtosis install
inputs:
version:
description: 'Version to install'
required: false
default: '1.3.1'
runs:
using: composite
steps:
- name: Install
shell: bash
run: |
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
if [ "${{ inputs.version }}" = "latest" ]; then
sudo apt install kurtosis-cli
else
sudo apt install kurtosis-cli=${{ inputs.version }}
fi
kurtosis analytics disable
echo "$(dirname $(which kurtosis))" >> $GITHUB_PATH
7 changes: 2 additions & 5 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
- 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
uses: ./.github/actions/kurtosis-install

- name: Run Starlark
run: |
Expand Down Expand Up @@ -78,6 +74,7 @@ jobs:
- name: Kurtosis Assertoor GitHub Action
uses: ethpandaops/kurtosis-assertoor-github-action@v1
with:
kurtosis_version: "1.3.1"
kurtosis_extra_args: "--image-download always --non-blocking-tasks --verbosity DETAILED"
ethereum_package_branch: ""
ethereum_package_args: .github/tests/mix-assert.yaml
Expand Down
22 changes: 4 additions & 18 deletions .github/workflows/per-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
- 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

uses: ./.github/actions/kurtosis-install
- name: Run Starlark
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
Expand Down Expand Up @@ -53,12 +48,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
- 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

uses: ./.github/actions/kurtosis-install
- name: Run Starlark
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -70,12 +60,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
- 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

uses: ./.github/actions/kurtosis-install
- name: Kurtosis Lint
run: kurtosis lint ${{ github.workspace }}

Expand All @@ -93,6 +78,7 @@ jobs:
- name: Kurtosis Assertoor GitHub Action
uses: ethpandaops/kurtosis-assertoor-github-action@v1
with:
kurtosis_version: "1.3.1"
ethereum_package_url: "."
ethereum_package_branch: ""
ethereum_package_args: .github/tests/mix-assert.yaml
1 change: 1 addition & 0 deletions .github/workflows/run-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
id: testnet
uses: ethpandaops/kurtosis-assertoor-github-action@v1
with:
kurtosis_version: "1.3.1"
kurtosis_extra_args: "--image-download always --non-blocking-tasks --verbosity DETAILED"
kurtosis_backend: "kubernetes"
kubernetes_config: "${{ steps.kubeconfig.outputs.kubeconfig }}"
Expand Down