-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: withdrawal from L2 to L1 (#126)
- L2 to L1 withdrawal test - Refactor tests to reduce complexity - Bump kurtosis-cdk version to v0.2.15 - Improve CI by dumping enclave logs + files in kurtosis
- Loading branch information
Showing
6 changed files
with
111 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ jobs: | |
with: | ||
repository: 0xPolygon/kurtosis-cdk | ||
path: "kurtosis-cdk" | ||
ref: "v0.2.14" | ||
ref: "v0.2.15" | ||
|
||
- name: Setup Bats and bats libs | ||
uses: bats-core/[email protected] | ||
|
@@ -81,3 +81,22 @@ jobs: | |
env: | ||
KURTOSIS_FOLDER: ${{ github.workspace }}/kurtosis-cdk | ||
BATS_LIB_PATH: /usr/lib/ | ||
|
||
- name: Dump enclave logs | ||
if: failure() | ||
run: kurtosis dump ./dump | ||
|
||
- name: Generate archive name | ||
if: failure() | ||
run: | | ||
archive_name="dump_run_with_args_${{matrix.e2e-group}}_${{ github.run_id }}" | ||
echo "ARCHIVE_NAME=${archive_name}" >> "$GITHUB_ENV" | ||
echo "Generated archive name: ${archive_name}" | ||
kurtosis service exec cdk cdk-node-001 'cat /etc/cdk/cdk-node-config.toml' > ./dump/cdk-node-config.toml | ||
- name: Upload logs | ||
if: failure() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.ARCHIVE_NAME }} | ||
path: ./dump |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters