Skip to content
Open
Show file tree
Hide file tree
Changes from 18 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/actions/rust-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ runs:
key: ${{ inputs.key }}
workspaces: |
. -> target
utils/wasm-builder/test-program -> target
utils/cargo-gbuild/test-program -> target
program/tools/wasm-builder/test-program -> target
program/tools/cargo-gbuild/test-program -> target
cache-provider: ${{ steps.env.outputs.cache-provider }}
cache-all-crates: ${{ inputs.cache-all-crates }}
env:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/Build-gear-loader-network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Run playbook
uses: dawidd6/action-ansible-playbook@v7
with:
directory: ./ansible/
directory: ./.github/ansible/
playbook: gear-loader-update.yaml
key: ${{secrets.SSH_PRIVATE_KEY}}
inventory: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI-docker-gear.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
file: ./docker/Dockerfile-release
file: ./vara/docker/Dockerfile-release
push: true
tags: ${{ env.DOCKER_TAGS }}
build-args: RELEASE_VERSION=${{ env.RELEASE_VERSION }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Terraform Apply
timeout-minutes: 30
run: |
cd terraform/bench-runner
cd .github/terraform/bench-runner
terraform init
terraform apply -auto-approve -var="aws_region=${{ env.AVAILABLE_REGION }}" -var="instance_type=${{ inputs.instance_type }}" -var="max_cpu_frequency=${{ inputs.instance_max_cpu_frequency }}" -var="instance_disk_size=${{ inputs.instance_disk_size }}" -var="registration_token=${{ env.REGISTER_TOKEN }}" -var="github_run_id=${{ github.run_id }}"

Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
- name: Terraform Destroy
timeout-minutes: 60
run: |
cd terraform/bench-runner
cd .github/terraform/bench-runner
terraform init
terraform destroy -auto-approve -var="aws_region=${{ needs.provision-runner.outputs.available_region }}" -var="instance_type=${{ inputs.instance_type }}" -var="max_cpu_frequency=${{ inputs.instance_max_cpu_frequency }}" -var="instance_disk_size=${{ inputs.instance_disk_size }}" -var="registration_token=${{ env.REGISTER_TOKEN }}" -var="github_run_id=${{ github.run_id }}"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-node-fuzzer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ jobs:
uses: docker/build-push-action@master
with:
context: .
file: ./docker/runtime-fuzzer/Dockerfile
file: ./vara/docker/runtime-fuzzer/Dockerfile
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-node-fuzzer:latest
2 changes: 1 addition & 1 deletion .github/workflows/check-node-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Build and push image
uses: docker/build-push-action@v6
with:
file: ./docker/Dockerfile
file: ./vara/docker/Dockerfile
push: true
tags: ${{ needs.prepare.outputs.image_name }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ jobs:
- name: "Check: Wasm-builder recommended toolchain matches rust-toolchain.toml"
run: |
TOOLCHAIN=$(grep 'channel' rust-toolchain.toml | cut -d '"' -f 2)
CARGO_TOOLCHAIN="utils/wasm-optimizer/src/cargo_toolchain.rs"
CARGO_TOOLCHAIN="program/tools/wasm-optimizer/src/cargo_toolchain.rs"
if ! grep -q "$TOOLCHAIN" $CARGO_TOOLCHAIN; then
echo "Please update PINNED_NIGHTLY_TOOLCHAIN constant in $CARGO_TOOLCHAIN to match rust-toolchain.toml."
exit 1
Expand All @@ -253,8 +253,8 @@ jobs:
run: ./scripts/gear.sh clippy no_std --locked

- run: cargo +stable check -p gstd --target wasm32v1-none
- run: cargo +stable check --manifest-path utils/wasm-builder/test-program/Cargo.toml
- run: cargo +stable check --manifest-path utils/cargo-gbuild/test-program/Cargo.toml --workspace --target wasm32v1-none
- run: cargo +stable check --manifest-path program/tools/wasm-builder/test-program/Cargo.toml
- run: cargo +stable check --manifest-path program/tools/cargo-gbuild/test-program/Cargo.toml --workspace --target wasm32v1-none

vara-runtime-imports:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-measurements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: "Collect: pallet-gear benches"
run: |
touch ./target/weights.json
./target/release/gear benchmark pallet --pallet=pallet_gear --steps=50 --repeat=20 --chain=dev --extrinsic=* --heap-pages=16384 --output ./target/weights.json --template ./.maintain/regression-analysis-weight-template.hbs
./target/release/gear benchmark pallet --pallet=pallet_gear --steps=50 --repeat=20 --chain=dev --extrinsic=* --heap-pages=16384 --output ./target/weights.json --template ./vara/tools/regression-analysis/weight-template.hbs

- name: "Generate report: pallet-gear benches"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Build and push image
uses: docker/build-push-action@v6
with:
file: ./docker/Dockerfile
file: ./vara/docker/Dockerfile
push: true
tags: ${{ needs.prepare.outputs.image_name }}

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.binpath
log/
weight-dumps/
gsdk/vara_runtime_prod.scale
vara/sdk/gsdk/vara_runtime_prod.scale
*.meta.txt

# cargo
Expand Down
Loading
Loading