-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
73 additions
and
45 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# `fpvm-prestates` | ||
|
||
Images for creating reproducible prestate builds for various fault proof virtual machines. | ||
|
||
## Usage | ||
|
||
### `kona-client` + `asterisc` prestate artifacts | ||
|
||
```sh | ||
# Produce the prestate artifacts for `kona-client` running on `asterisc` (version specified by `asterisc_tag`) | ||
just asterisc <kona_tag> <asterisc_tag> | ||
``` |
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,27 @@ | ||
set positional-arguments | ||
alias asterisc := build-client-prestate-asterisc-artifacts | ||
|
||
# default recipe to display help information | ||
default: | ||
@just --list | ||
|
||
# Build the `kona-client` prestate artifacts for the latest release. | ||
build-client-prestate-asterisc-artifacts kona_tag asterisc_tag out='./prestate-artifacts-asterisc': | ||
#!/bin/bash | ||
OUTPUT_DIR={{out}} | ||
|
||
# Docker bake env | ||
export GIT_REF_NAME="{{kona_tag}}" | ||
export DEFAULT_TAG="kona-asterisc-prestate:local" | ||
|
||
# Navigate to workspace root | ||
cd ../.. | ||
|
||
# Create the output directory | ||
mkdir -p $OUTPUT_DIR | ||
|
||
echo "Building kona-client prestate artifacts for the asterisc target. 🐚 Kona Tag: {{kona_tag}} | 🎇 Asterisc Tag: {{asterisc_tag}}" | ||
docker buildx bake \ | ||
--set "*.output=$OUTPUT_DIR" \ | ||
-f docker/docker-bake.hcl \ | ||
kona-asterisc-prestate |
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