Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pepsi Maxi 🥤 #1486

Merged
merged 66 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
1f7cf79
Things work
schmidma Nov 3, 2024
135bc61
rework documentation and error messages
schmidma Nov 3, 2024
ea34268
--wip--
schmidma Dec 17, 2024
25de0bf
Implement cargo commands
julianschuler Jan 9, 2025
e922359
Deduplicate cargo commands with shared trait
julianschuler Jan 9, 2025
76a3f9f
Implement resolving environment from CLI arguments
julianschuler Jan 9, 2025
4acf97e
Skip downloading SDK installer if already present
julianschuler Jan 9, 2025
932258f
Update cargo profiles
julianschuler Jan 9, 2025
7e4c3bb
Reimplement pepsi upload
julianschuler Jan 9, 2025
a559d26
Finish pepsi pregame implementation
julianschuler Jan 9, 2025
2cd4b56
Add manifest flag for cargo commands
julianschuler Jan 9, 2025
f3e9d95
Remove unused imports
julianschuler Jan 9, 2025
497f58e
Use OsString instead of String for manifest
julianschuler Jan 9, 2025
1910bf2
Use qualified paths instead of renaming
julianschuler Jan 9, 2025
5b479f7
Do not expose manifest path for pre game and upload
julianschuler Jan 9, 2025
5f9f75e
Remove deprecated fallback URL
julianschuler Jan 9, 2025
f861b0f
Setup cargo environment before executing cargo
julianschuler Jan 9, 2025
70b86d5
Move cargo arguments to corresponding module
julianschuler Jan 9, 2025
df9deb2
Fix finding repository root in bevyhavior simulator
julianschuler Jan 9, 2025
f7a2a42
Parse cargo environment from package metadata
julianschuler Jan 9, 2025
bd90131
Output used cargo environment
julianschuler Jan 9, 2025
abee393
Update pepsi subcommand docstrings
julianschuler Jan 9, 2025
6d84070
Apply manifest path directly after sub command
julianschuler Jan 9, 2025
1761074
Implement pepsi test
julianschuler Jan 9, 2025
cc4809a
Fix incorrect error message
julianschuler Jan 9, 2025
c86ccdb
Add pepsi install
julianschuler Jan 10, 2025
8334de1
Fix incorrect paths to hula types
julianschuler Jan 10, 2025
e57d672
Bump SDK and OS version in hulk.toml
julianschuler Jan 10, 2025
22910de
Use relative manifest path
julianschuler Jan 10, 2025
3f8f2c4
Implement remote host
julianschuler Jan 10, 2025
845bdeb
Reenable softbank NAO login script
julianschuler Jan 10, 2025
011de2b
Update documentation
julianschuler Jan 10, 2025
5a1fa04
Move parameter tester to tools
julianschuler Jan 10, 2025
752168f
Remove unused fallback URL for HULK OS image
julianschuler Jan 10, 2025
c351e70
Add manifest shortcuts for all tools and services
julianschuler Jan 10, 2025
aa13804
Update CI to make use of new pepsi functionality
julianschuler Jan 10, 2025
ef0aea5
Remove unused tests and implementations
julianschuler Jan 10, 2025
0571ad1
Update Cargo.lock files
julianschuler Jan 10, 2025
e811390
Use manifest path for checking lock files
julianschuler Jan 10, 2025
98ddb4e
Fix using incorrect manifest for update check
julianschuler Jan 10, 2025
5683055
streamline logging
schmidma Jan 11, 2025
0b68cf4
rework commands
schmidma Jan 11, 2025
82eaf48
fix duplicated os check
schmidma Jan 11, 2025
50012d0
Fix relative pwd for remote cargo actions
knoellle Jan 11, 2025
5d504c5
Fix storing incorrect address in twix
julianschuler Jan 12, 2025
886fc70
Directly build tokio command instead of converting
julianschuler Jan 12, 2025
533f182
Bump image and sdk to 8.0.2
knoellle Jan 12, 2025
4d18f84
refactor to god repository struct
schmidma Jan 12, 2025
ea4b9e0
fix misspelled error message
schmidma Jan 18, 2025
df4b7ff
remove done todo
schmidma Jan 18, 2025
b561ddd
wrap default timeout for download with function
schmidma Jan 18, 2025
f38ca7b
add cargo-options link
schmidma Jan 18, 2025
2812d2f
eq for communication enable enum
schmidma Jan 18, 2025
3e24d35
move mkpath argument to outside the rsync constructor
schmidma Jan 18, 2025
9297d19
formatting
schmidma Jan 18, 2025
f4f39af
reformulate error message
schmidma Jan 18, 2025
15b3adc
add manifest to error message
schmidma Jan 18, 2025
73028be
build -> test for cargo test
schmidma Jan 18, 2025
a0403af
adjust error message for nao assignment parsing
schmidma Jan 18, 2025
8d9cb77
adjust error message for nao assignment parsing again
schmidma Jan 18, 2025
ea243af
try to fix breeze
schmidma Jan 18, 2025
ca3bc2b
unformat lock file
schmidma Jan 18, 2025
cd9c60c
lock every ci check, remove cargo update check
schmidma Jan 18, 2025
97929b9
einmal gott spielen und die richtigen ideen haben
schmidma Jan 22, 2025
4bcb756
Help heading for cargo options
schmidma Jan 22, 2025
67e9a4d
help heading for upload and pregame
schmidma Jan 22, 2025
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
93 changes: 45 additions & 48 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ env:
CARGO_HOME: /__w/hulk/cargo
CARGO_TARGET_DIR: /__w/hulk/target
CARGO_TERM_COLOR: always
NAOSDK_HOME: /__w/hulk/naosdk
HULK_DATA_HOME: /__w/hulk/data
NAOSDK_AUTOMATIC_YES: 1

jobs:
check:
name: Check
name: Check with clippy
runs-on:
- self-hosted
- v3
Expand All @@ -24,28 +24,7 @@ jobs:
with:
lfs: true
- name: Check
run: |
./pepsi clippy --workspace

check-cargo-lock:
name: Check Cargo.lock
strategy:
matrix:
path: [., tools/aliveness, tools/hula]
runs-on:
- self-hosted
- v3
container:
image: ghcr.io/hulks/hulk-ci:1.81.0
options: --user=1000:1000
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Check
run: |
cd ${{ matrix.path }}
cargo update --locked --workspace
run: ./pepsi clippy --locked

check-parameters:
name: Check parameters
Expand All @@ -60,8 +39,7 @@ jobs:
with:
lfs: true
- name: Check
run: |
cargo run --manifest-path=crates/parameter_tester/Cargo.toml
run: ./pepsi run --locked parameter_tester

format:
name: Format
Expand All @@ -76,8 +54,7 @@ jobs:
with:
lfs: true
- name: Check
run: |
cargo fmt --check
run: cargo fmt --check

format-toml:
name: Format TOML files
Expand Down Expand Up @@ -108,16 +85,21 @@ jobs:
with:
lfs: true
- name: Test
run: |
cargo test --profile incremental --all-features --workspace
run: ./pepsi test --locked --all-features

build:
name: Build
strategy:
fail-fast: true
matrix:
target: [imagine, nao, replayer, webots]
profile: [release, dev]
target:
- imagine
- nao
- replayer
- webots
profile:
- dev
- release
runs-on:
- self-hosted
- v3
Expand All @@ -129,24 +111,41 @@ jobs:
with:
lfs: true
- name: Build
run: |
./pepsi build --target ${{ matrix.target }} --profile ${{ matrix.profile }}
run: ./pepsi build --locked --profile ${{ matrix.profile }} ${{ matrix.target }}

build_services:
name: Build
strategy:
matrix:
service:
- aliveness
- breeze
- hula
runs-on:
- self-hosted
- v3
container:
image: ghcr.io/hulks/hulk-ci:1.81.0
options: --user=1000:1000
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Build
run: ./pepsi build --locked --release ${{ matrix.service }}

build_tools:
name: Build
strategy:
matrix:
path:
[
aliveness,
annotato,
camera_matrix_extractor,
depp,
fanta,
hula,
pepsi,
twix,
]
tool:
- annotato
- camera_matrix_extractor
- depp
- fanta
- pepsi
- twix
- widget_gallery
runs-on:
- self-hosted
- v3
Expand All @@ -158,9 +157,7 @@ jobs:
with:
lfs: true
- name: Build
run: |
cd tools/${{ matrix.path }}
cargo build --release
run: ./pepsi build --locked --release ${{ matrix.tool }}

build_mkdocs:
name: Build mkdocs
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
/.wiki/

settings.json
/naosdk

*.edited
*~
Expand Down
Loading
Loading