Skip to content

Commit ef3b2f9

Browse files
authored
merge: Merge pull request #232 from arunaengine/v3
Initial pre-release of aruna version 3 (alpha)!
2 parents 9e14d6b + 04528b5 commit ef3b2f9

459 files changed

Lines changed: 77929 additions & 66825 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[target.x86_64-unknown-linux-gnu]
2+
linker = "clang"
3+
rustflags = ["-C", "link-arg=-fuse-ld=mold"]

.codecov.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.dockerignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
target
1+
.git
2+
target
3+
.env
4+
**/.env
5+
.compose-data

.env

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
STORAGE_PATH=/dev/shm/aruna-test
2+
BLOB_ROOT=/dev/shm/aruna-test/blobstore
3+
BLOB_MULTIPART_BUCKET=uploaded-parts
4+
SOCKET_ADDRESS=0.0.0.0:3000
5+
P2P_SOCKET_ADDRESS=0.0.0.0:3001
6+
REALM_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----
7+
MC4CAQAwBQYDK2VwBCIEIIMoiSLBgtFREb89XfBV/I0DcpCrGmMk9BmeAMyMPwRp
8+
-----END PRIVATE KEY-----"
9+
REALM_PUBLIC_KEY="-----BEGIN PUBLIC KEY-----
10+
MCowBQYDK2VwAyEArYMI2Y2/rCqHcjjWLPxFDmKW8aqk6P+y8TujKj+fT9Q=
11+
-----END PUBLIC KEY-----"
12+
NODE_PUBLIC_KEY="-----BEGIN PUBLIC KEY-----
13+
MCowBQYDK2VwAyEAgdoLXqmUs0dxmMBKMwJProc3jJi4GJ1Hh9cbXtnpqB4=
14+
-----END PUBLIC KEY-----"
15+
NODE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----
16+
MC4CAQAwBQYDK2VwBCIEIFpQrCQTORNWj+EAGWWNXRdO8csaJgfzc8KzMU6GvHGx
17+
-----END PRIVATE KEY-----"
18+
BOOTSTRAP_NODES=
19+
S3_PORT=1337
20+
S3_HOST=localhost
21+
S3_ADDRESS=0.0.0.0
22+
METADATA_REPLICATION_FACTOR=3

.env.example

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
STORAGE_PATH=/tmp/aruna
2+
BLOB_ROOT=/tmp/aruna/blobstore
3+
BLOB_MULTIPART_BUCKET=uploaded-parts
4+
SOCKET_ADDRESS=0.0.0.0:3000
5+
P2P_SOCKET_ADDRESS=0.0.0.0:3001
6+
REALM_DESCRIPTION="Aruna Realm"
7+
ONBOARDING_SECRET=
8+
9+
BOOTSTRAP_NODES=
10+
METADATA_REPLICATION_FACTOR=3
11+
12+
S3_PORT=1337
13+
S3_HOST=localhost
14+
S3_ADDRESS=0.0.0.0
15+
16+
RUST_LOG=
17+
OTEL_EXPORTER_OTLP_ENDPOINT=

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature-tracking.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/actions-rs/grcov.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
env:
8+
CARGO_TERM_COLOR: always
9+
CARGO_INCREMENTAL: 0
10+
CARGO_PROFILE_DEV_DEBUG: 0
11+
CARGO_PROFILE_TEST_DEBUG: 0
12+
RUSTFLAGS: -C debuginfo=0
13+
14+
jobs:
15+
tests:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Check out repository
20+
uses: actions/checkout@v4
21+
22+
- name: Install mold linker
23+
run: sudo apt-get update && sudo apt-get install -y clang mold
24+
25+
- name: Install stable Rust
26+
uses: dtolnay/rust-toolchain@stable
27+
28+
- name: Cache Rust build artifacts
29+
uses: Swatinem/rust-cache@v2
30+
31+
- name: Run workspace tests
32+
run: cargo test --workspace --all-targets
33+
34+
fmt:
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- name: Check out repository
39+
uses: actions/checkout@v4
40+
41+
- name: Install nightly rustfmt
42+
uses: dtolnay/rust-toolchain@nightly
43+
with:
44+
components: rustfmt
45+
46+
- name: Check formatting
47+
run: cargo +nightly fmt --all -- --check
48+
49+
clippy:
50+
runs-on: ubuntu-latest
51+
52+
steps:
53+
- name: Check out repository
54+
uses: actions/checkout@v4
55+
56+
- name: Install mold linker
57+
run: sudo apt-get update && sudo apt-get install -y clang mold
58+
59+
- name: Install nightly clippy
60+
uses: dtolnay/rust-toolchain@nightly
61+
with:
62+
components: clippy
63+
64+
- name: Cache Rust build artifacts
65+
uses: Swatinem/rust-cache@v2
66+
67+
- name: Run clippy
68+
run: cargo +nightly clippy --workspace --all-targets -- -D warnings

.github/workflows/codecov.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)