Skip to content

Commit

Permalink
ci: run previous kurtosis version (#821)
Browse files Browse the repository at this point in the history
Rolling back to `1.3.1`, until the docker auth problems on `1.4.0` get
fixed kurtosis-tech/kurtosis#2579
  • Loading branch information
skylenet authored Oct 31, 2024
1 parent 807f6aa commit 53578a6
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 23 deletions.
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

0 comments on commit 53578a6

Please sign in to comment.