Skip to content
Draft
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
version: "3.8"

services:

setup:
image: alpine:3.18
environment:
KNOWN_FRAMEWORK_RELEASE: biarritz-rc1
APTOS_ACCOUNT_WHITELIST: ${DOT_MOVEMENT_PATH}/default_signer_address_whitelist
MAPTOS_PRIVATE_KEY: random
entrypoint: ["sh", "-c", "echo Setup complete"]
# Run once and exit
restart: "no"

movement-full-node:
image: ghcr.io/movementlabsxyz/movement-full-node:0.3.4-andygolay.migrate-docker-compose-overlay
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8080/-/healthy || exit 1"]
interval: 5s
timeout: 5s
retries: 10

movement-faucet-service:
image: ghcr.io/movementlabsxyz/movement-faucet-service:0.3.4-andygolay.migrate-docker-compose-overlay
depends_on:
movement-full-node:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8000/health || exit 1"]
interval: 5s
timeout: 5s
retries: 10

test-migrate-biarritz-rc1-to-pre-l1-merge:
build:
context: .
dockerfile: Dockerfile.migration
command: cargo run --bin aptos-framework-pre-l1-merge-release-tool
depends_on:
movement-full-node:
condition: service_healthy
movement-faucet-service:
condition: service_healthy
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
nixpkgs.url = "github:NixOS/nixpkgs/8dedccea6cea1e65bf74fc6c7f35e0aadf832a14";
rust-overlay.url = "github:oxalica/rust-overlay/47beae969336c05e892e1e4a9dbaac9593de34ab";
flake-utils.url = "github:numtide/flake-utils";
foundry.url = "github:shazow/foundry.nix/36a5c5e448b4cdc85813e3b8205a8846a428d528";
foundry.url = "github:shazow/foundry.nix/f533e2c70e520adb695c9917be21d514c15b1c4d";
crane.url = "github:ipetkov/crane";
crane.inputs.nixpkgs.follows = "nixpkgs";

Expand Down
Loading