-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1035dba
commit 4825d45
Showing
6 changed files
with
92 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
.git | ||
.github/actions/ | ||
profiling | ||
reports | ||
src # rust-fmt | ||
tests # rust-fmt | ||
target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,70 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "cargo", | ||
"command": "check", | ||
"problemMatcher": [ | ||
"$rustc" | ||
], | ||
"group": "build", | ||
"label": "Rust: cargo check" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "clean", | ||
"problemMatcher": [ | ||
"$rustc" | ||
], | ||
"group": "build", | ||
"label": "Rust: cargo clean" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "build", | ||
"args": [], | ||
"problemMatcher": [ | ||
"$rustc" | ||
], | ||
"group": "build", | ||
"label": "Rust: cargo build" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "fmt", | ||
"args": [ | ||
"--all", | ||
], | ||
"problemMatcher": [ | ||
"$rustc" | ||
], | ||
"group": "build", | ||
"label": "Rust: cargo fmt" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "clippy", | ||
"args": [ | ||
"--workspace", | ||
"--all-targets", | ||
"--all-features", | ||
"--", | ||
"--deny", | ||
"clippy::all", | ||
"--deny", | ||
"clippy::pedantic", | ||
"--deny", | ||
"clippy::cargo", | ||
], | ||
"problemMatcher": [ | ||
"$rustc" | ||
], | ||
"group": "build", | ||
"label": "Rust: cargo clippy" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "test", | ||
"args": [], | ||
"problemMatcher": [ | ||
"$rustc" | ||
], | ||
"group": "test", | ||
"label": "Rust: cargo test" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "test", | ||
"args": [ | ||
"--release" | ||
], | ||
"problemMatcher": [ | ||
"$rustc" | ||
], | ||
"group": "test", | ||
"label": "Rust: cargo test release" | ||
}, | ||
] | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "cargo", | ||
"command": "check", | ||
"problemMatcher": ["$rustc"], | ||
"group": "build", | ||
"label": "Rust: cargo check" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "clean", | ||
"problemMatcher": ["$rustc"], | ||
"group": "build", | ||
"label": "Rust: cargo clean" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "build", | ||
"args": [], | ||
"problemMatcher": ["$rustc"], | ||
"group": "build", | ||
"label": "Rust: cargo build" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "fmt", | ||
"args": ["--all"], | ||
"problemMatcher": ["$rustc"], | ||
"group": "build", | ||
"label": "Rust: cargo fmt" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "clippy", | ||
"args": [ | ||
"--workspace", | ||
"--all-targets", | ||
"--all-features", | ||
"--", | ||
"--deny", | ||
"clippy::all", | ||
"--deny", | ||
"clippy::pedantic", | ||
"--deny", | ||
"clippy::cargo" | ||
], | ||
"problemMatcher": ["$rustc"], | ||
"group": "build", | ||
"label": "Rust: cargo clippy" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "test", | ||
"args": [], | ||
"problemMatcher": ["$rustc"], | ||
"group": "test", | ||
"label": "Rust: cargo test" | ||
}, | ||
{ | ||
"type": "cargo", | ||
"command": "test", | ||
"args": ["--release"], | ||
"problemMatcher": ["$rustc"], | ||
"group": "test", | ||
"label": "Rust: cargo test release" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# Rust end-to-end application | ||
|
||
It's written in Rust! | ||
|
||
This is a framework for building Rust applications in combination with building Docker containers and never rebuilding code on release, instead we promote existing code. | ||
|
||
## TODO and done | ||
* [x] Figure out how to deal with PRs pushing too many Docker containers<br /> | ||
|
||
- [x] Figure out how to deal with PRs pushing too many Docker containers<br /> | ||
> We only build containers on the tip of the PR, so even if you're pushing 10 commits, we'll only build one. | ||
* [ ] Remove old containers when the new one gets build for a PR?<br /> | ||
Or rely on a general weekly untagged cleanup? | ||
* [ ] Remove PR containers when PR closed<br /> | ||
- [ ] Remove old containers when the new one gets build for a PR?<br /> | ||
Or rely on a general weekly untagged cleanup? | ||
- [ ] Remove PR containers when PR closed<br /> | ||
> API currently unavailable | ||
* [x] How do we deal with older containers on `main`?<br /> | ||
- [x] How do we deal with older containers on `main`?<br /> | ||
> We move tags, so we'll need to wait for the API to clean up untagged versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters