-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: introduce composite actions (#131)
* ci: add setup composite action * nit * ci: add monitor composite action * ci: debug * chore: nit * chore: nit * chore: clean up * chore: use kurtosis minor version * chore: nit * fix: kurtosis cli version * chore: nit * chore: nit * chore: rename action * chore: nit * chore: nit
- Loading branch information
Showing
4 changed files
with
106 additions
and
123 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
name: monitor-cdk-verified-batches | ||
description: Check that batches are being verified in a CDK environment | ||
|
||
inputs: | ||
verified_batches_target: | ||
description: The minimum number of batches to be verified | ||
required: false | ||
default: '30' | ||
timeout: | ||
description: The script timeout in seconds | ||
required: false | ||
default: '600' # 10 minutes | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Check that batches are being verified | ||
working-directory: .github/actions/monitor-cdk-verified-batches | ||
shell: bash | ||
run: ./batch_verification_monitor.sh ${{ inputs.verified_batches_target }} ${{ inputs.timeout }} |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: kurtosis-cdk-setup | ||
description: Install tools to deploy the CDK stack with Kurtosis | ||
|
||
inputs: | ||
kurtosis-version: | ||
description: The version of kurtosis | ||
required: false | ||
default: '0.89.12' # https://github.com/kurtosis-tech/kurtosis/releases | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install kurtosis | ||
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 | ||
sudo apt install kurtosis-cli=${{ inputs.kurtosis-version }} | ||
kurtosis version | ||
- name: Disable kurtosis analytics | ||
shell: bash | ||
run: kurtosis analytics disable | ||
|
||
- name: Install yq | ||
shell: bash | ||
run: | | ||
pip3 install yq | ||
yq --version | ||
- name: Install foundry | ||
uses: foundry-rs/foundry-toolchain@v1 |
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