Skip to content

Commit

Permalink
Merge pull request maidsafe#2470 from jacderida/chore-rename_crates
Browse files Browse the repository at this point in the history
chore: rename crates in line with autonomi branding
  • Loading branch information
jacderida authored Dec 1, 2024
2 parents ae99552 + de85dc7 commit 84ae04c
Show file tree
Hide file tree
Showing 264 changed files with 1,344 additions and 14,317 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
timeout-minutes: 30

- name: Start a local network
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
env:
SN_LOG: "all"
with:
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:

- name: Stop the local network
if: always()
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: stop
log_file_prefix: safe_test_logs_benchmark
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: just build-release-artifacts "${{ matrix.target }}"
- uses: actions/upload-artifact@main
with:
name: safe_network-${{ matrix.target }}
name: autonomi-${{ matrix.target }}
path: |
artifacts
!artifacts/.cargo-lock
Expand All @@ -66,31 +66,31 @@ jobs:
ref: ${{ inputs.tag || inputs.branch }}
- uses: actions/download-artifact@master
with:
name: safe_network-x86_64-pc-windows-msvc
name: autonomi-x86_64-pc-windows-msvc
path: artifacts/x86_64-pc-windows-msvc/release
- uses: actions/download-artifact@master
with:
name: safe_network-x86_64-unknown-linux-musl
name: autonomi-x86_64-unknown-linux-musl
path: artifacts/x86_64-unknown-linux-musl/release
- uses: actions/download-artifact@master
with:
name: safe_network-aarch64-apple-darwin
name: autonomi-aarch64-apple-darwin
path: artifacts/aarch64-apple-darwin/release
- uses: actions/download-artifact@master
with:
name: safe_network-x86_64-apple-darwin
name: autonomi-x86_64-apple-darwin
path: artifacts/x86_64-apple-darwin/release
- uses: actions/download-artifact@master
with:
name: safe_network-arm-unknown-linux-musleabi
name: autonomi-arm-unknown-linux-musleabi
path: artifacts/arm-unknown-linux-musleabi/release
- uses: actions/download-artifact@master
with:
name: safe_network-armv7-unknown-linux-musleabihf
name: autonomi-armv7-unknown-linux-musleabihf
path: artifacts/armv7-unknown-linux-musleabihf/release
- uses: actions/download-artifact@master
with:
name: safe_network-aarch64-unknown-linux-musl
name: autonomi-aarch64-unknown-linux-musl
path: artifacts/aarch64-unknown-linux-musl/release
- uses: cargo-bins/cargo-binstall@main
- shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-benchmark-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
timeout-minutes: 30

- name: Start a local network
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: start
enable-evm-testnet: true
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:

- name: Stop the local network and upload logs
if: always()
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: stop
platform: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/memcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
timeout-minutes: 30

- name: Start a local network
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: start
enable-evm-testnet: true
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:

- name: Stop the local network and upload logs
if: always()
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: stop
log_file_prefix: safe_test_logs_memcheck
Expand Down
72 changes: 36 additions & 36 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:

- name: Run node tests
timeout-minutes: 25
run: cargo test --release --package sn_node --lib
run: cargo test --release --package ant-node --lib

# The `can_store_after_restart` can be executed with other package tests together and passing
# on local machine. However keeps failing (when executed together) on CI machines.
Expand All @@ -138,31 +138,31 @@ jobs:
# and passing standalone is enough.
- name: Run network tests (with encrypt-records)
timeout-minutes: 25
run: cargo test --release --package sn_networking --features="open-metrics, encrypt-records" -- --skip can_store_after_restart
run: cargo test --release --package ant-networking --features="open-metrics, encrypt-records" -- --skip can_store_after_restart

- name: Run network tests (with encrypt-records)
timeout-minutes: 5
run: cargo test --release --package sn_networking --features="open-metrics, encrypt-records" can_store_after_restart
run: cargo test --release --package ant-networking --features="open-metrics, encrypt-records" can_store_after_restart

- name: Run network tests (without encrypt-records)
timeout-minutes: 25
run: cargo test --release --package sn_networking --features="open-metrics" -- --skip can_store_after_restart
run: cargo test --release --package ant-networking --features="open-metrics" -- --skip can_store_after_restart

- name: Run network tests (without encrypt-records)
timeout-minutes: 5
run: cargo test --release --package sn_networking --features="open-metrics" can_store_after_restart
run: cargo test --release --package ant-networking --features="open-metrics" can_store_after_restart

- name: Run protocol tests
timeout-minutes: 25
run: cargo test --release --package sn_protocol
run: cargo test --release --package ant-protocol

- name: Run logging tests
timeout-minutes: 25
run: cargo test --release --package sn_logging
run: cargo test --release --package ant-logging

- name: Run register tests
timeout-minutes: 25
run: cargo test --release --package sn_registers
run: cargo test --release --package ant-registers
env:
# this will speed up PR merge flows, while giving us a modicum
# of proptesting
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
timeout-minutes: 30

- name: Start a local network
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: start
enable-evm-testnet: true
Expand Down Expand Up @@ -574,7 +574,7 @@ jobs:

- name: Stop the local network and upload logs
if: always()
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: stop
log_file_prefix: safe_test_logs_e2e
Expand Down Expand Up @@ -604,7 +604,7 @@ jobs:
# timeout-minutes: 30

# - name: Start a local network
# uses: maidsafe/sn-local-testnet-action@main
# uses: maidsafe/ant-local-testnet-action@main
# with:
# action: start
# interval: 2000
Expand All @@ -624,22 +624,22 @@ jobs:
# fi

# - name: execute the sequential transfers tests
# run: cargo test --release -p sn_node --features="local" --test sequential_transfers -- --nocapture --test-threads=1
# run: cargo test --release -p ant-node --features="local" --test sequential_transfers -- --nocapture --test-threads=1
# env:
# SN_LOG: "all"
# CARGO_TARGET_DIR: ${{ matrix.os == 'windows-latest' && './test-target' || '.' }}
# timeout-minutes: 25

# - name: execute the storage payment tests
# run: cargo test --release -p sn_node --features="local" --test storage_payments -- --nocapture --test-threads=1
# run: cargo test --release -p ant-node --features="local" --test storage_payments -- --nocapture --test-threads=1
# env:
# SN_LOG: "all"
# CARGO_TARGET_DIR: ${{ matrix.os == 'windows-latest' && './test-target' || '.' }}
# timeout-minutes: 25

# - name: Stop the local network and upload logs
# if: always()
# uses: maidsafe/sn-local-testnet-action@main
# uses: maidsafe/ant-local-testnet-action@main
# with:
# action: stop
# log_file_prefix: safe_test_logs_transaction
Expand Down Expand Up @@ -670,15 +670,15 @@ jobs:
# timeout-minutes: 30

# - name: Build testing executable
# run: cargo test --release -p sn_node --features=local --test transaction_simulation --no-run
# run: cargo test --release -p ant-node --features=local --test transaction_simulation --no-run
# env:
# # only set the target dir for windows to bypass the linker issue.
# # happens if we build the node manager via testnet action
# CARGO_TARGET_DIR: ${{ matrix.os == 'windows-latest' && './test-target' || '.' }}
# timeout-minutes: 30

# - name: Start a local network
# uses: maidsafe/sn-local-testnet-action@main
# uses: maidsafe/ant-local-testnet-action@main
# with:
# action: start
# interval: 2000
Expand All @@ -699,14 +699,14 @@ jobs:
# fi

# - name: execute the transaction simulation
# run: cargo test --release -p sn_node --features="local" --test transaction_simulation -- --nocapture
# run: cargo test --release -p ant-node --features="local" --test transaction_simulation -- --nocapture
# env:
# CARGO_TARGET_DIR: ${{ matrix.os == 'windows-latest' && './test-target' || '.' }}
# timeout-minutes: 25

# - name: Stop the local network and upload logs
# if: always()
# uses: maidsafe/sn-local-testnet-action@main
# uses: maidsafe/ant-local-testnet-action@main
# with:
# action: stop
# log_file_prefix: safe_test_logs_transaction_simulation
Expand Down Expand Up @@ -744,7 +744,7 @@ jobs:
# timeout-minutes: 35

# - name: Start a local network
# uses: maidsafe/sn-local-testnet-action@main
# uses: maidsafe/ant-local-testnet-action@main
# with:
# action: start
# interval: 2000
Expand Down Expand Up @@ -772,7 +772,7 @@ jobs:

# - name: Stop the local network and upload logs
# if: always()
# uses: maidsafe/sn-local-testnet-action@main
# uses: maidsafe/ant-local-testnet-action@main
# with:
# action: stop
# log_file_prefix: safe_test_logs_token_distribution
Expand Down Expand Up @@ -806,15 +806,15 @@ jobs:
timeout-minutes: 30

- name: Build churn tests
run: cargo test --release -p sn_node --features=local --test data_with_churn --no-run
run: cargo test --release -p ant-node --features=local --test data_with_churn --no-run
env:
# only set the target dir for windows to bypass the linker issue.
# happens if we build the node manager via testnet action
CARGO_TARGET_DIR: ${{ matrix.os == 'windows-latest' && './test-target' || '.' }}
timeout-minutes: 30

- name: Start a local network
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: start
enable-evm-testnet: true
Expand All @@ -837,7 +837,7 @@ jobs:
fi
- name: Chunks data integrity during nodes churn
run: cargo test --release -p sn_node --features=local --test data_with_churn -- --nocapture
run: cargo test --release -p ant-node --features=local --test data_with_churn -- --nocapture
env:
TEST_DURATION_MINS: 5
TEST_TOTAL_CHURN_CYCLES: 15
Expand All @@ -851,7 +851,7 @@ jobs:

- name: Stop the local network and upload logs
if: always()
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: stop
log_file_prefix: safe_test_logs_churn
Expand Down Expand Up @@ -953,15 +953,15 @@ jobs:
timeout-minutes: 30

- name: Build data location and routing table tests
run: cargo test --release -p sn_node --features=local --test verify_data_location --test verify_routing_table --no-run
run: cargo test --release -p ant-node --features=local --test verify_data_location --test verify_routing_table --no-run
env:
# only set the target dir for windows to bypass the linker issue.
# happens if we build the node manager via testnet action
CARGO_TARGET_DIR: ${{ matrix.os == 'windows-latest' && './test-target' || '.' }}
timeout-minutes: 30

- name: Start a local network
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: start
enable-evm-testnet: true
Expand All @@ -984,21 +984,21 @@ jobs:
fi
- name: Verify the routing tables of the nodes
run: cargo test --release -p sn_node --features="local" --test verify_routing_table -- --nocapture
run: cargo test --release -p ant-node --features="local" --test verify_routing_table -- --nocapture
env:
CARGO_TARGET_DIR: ${{ matrix.os == 'windows-latest' && './test-target' || '.' }}
timeout-minutes: 5

- name: Verify the location of the data on the network
run: cargo test --release -p sn_node --features="local" --test verify_data_location -- --nocapture
run: cargo test --release -p ant-node --features="local" --test verify_data_location -- --nocapture
env:
CHURN_COUNT: 6
SN_LOG: "all"
CARGO_TARGET_DIR: ${{ matrix.os == 'windows-latest' && './test-target' || '.' }}
timeout-minutes: 25

- name: Verify the routing tables of the nodes
run: cargo test --release -p sn_node --features="local" --test verify_routing_table -- --nocapture
run: cargo test --release -p ant-node --features="local" --test verify_routing_table -- --nocapture
env:
CARGO_TARGET_DIR: ${{ matrix.os == 'windows-latest' && './test-target' || '.' }}
timeout-minutes: 5
Expand All @@ -1009,7 +1009,7 @@ jobs:

- name: Stop the local network and upload logs
if: always()
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: stop
log_file_prefix: safe_test_logs_data_location
Expand Down Expand Up @@ -1080,7 +1080,7 @@ jobs:
# timeout-minutes: 30

# - name: Start a local network
# uses: maidsafe/sn-local-testnet-action@main
# uses: maidsafe/ant-local-testnet-action@main
# with:
# action: start
# interval: 2000
Expand Down Expand Up @@ -1237,7 +1237,7 @@ jobs:

# - name: Stop the local network and upload logs
# if: always()
# uses: maidsafe/sn-local-testnet-action@main
# uses: maidsafe/ant-local-testnet-action@main
# with:
# action: stop
# platform: ubuntu-latest
Expand Down Expand Up @@ -1287,7 +1287,7 @@ jobs:
timeout-minutes: 30

- name: Start a local network
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: start
enable-evm-testnet: true
Expand Down Expand Up @@ -1379,7 +1379,7 @@ jobs:
- name: Stop the local network and upload logs
if: always()
uses: maidsafe/sn-local-testnet-action@main
uses: maidsafe/ant-local-testnet-action@main
with:
action: stop
platform: ubuntu-latest
Expand Down Expand Up @@ -1450,7 +1450,7 @@ jobs:
# timeout-minutes: 30

# - name: Start a local network
# uses: maidsafe/sn-local-testnet-action@main
# uses: maidsafe/ant-local-testnet-action@main
# with:
# action: start
# interval: 2000
Expand Down Expand Up @@ -1597,7 +1597,7 @@ jobs:

# - name: Stop the local network and upload logs
# if: always()
# uses: maidsafe/sn-local-testnet-action@main
# uses: maidsafe/ant-local-testnet-action@main
# with:
# action: stop
# log_file_prefix: safe_test_logs_heavy_replicate_bench
Expand Down
Loading

0 comments on commit 84ae04c

Please sign in to comment.