Skip to content

Commit

Permalink
chore: Minor updates on new system
Browse files Browse the repository at this point in the history
Retired and clearly had to give the work laptop back. So now working
on an old NUC running Arch. and there were a few things that didn't
quite work for me when starting, and that just created a whole bunch
of experimentation.  I've unwound everything but the essential
improvements.
* Updated Bollard; this was the crux of my problem and resulted in
                   quite a bit of code change, until I found this:
                   fussybeaver/bollard#345
* A typo or two.
* A clippy warning about unused import.
  • Loading branch information
pms1969 committed Feb 18, 2024
1 parent 1877ded commit 9780a1d
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 26 deletions.
86 changes: 64 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion banner-engine/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub async fn start(
mut rx: Receiver<Event>,
tx: Sender<Event>,
) -> Result<(), Box<dyn Error + Send + Sync>> {
log::info!(target: "task_log", "initialising");
log::info!(target: "task_log", "Initialising");
engine.initialise().await?;

loop {
Expand Down
2 changes: 1 addition & 1 deletion banner-engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ pub use crate::pipeline::*;
pub use crate::pragma::*;
pub use crate::select::*;
pub use crate::tasks::*;
pub use crate::tasks::*;

pub use banner_parser::ast::{IdentifierListItem, JobSpecification, PipelineSpecification};
pub use banner_parser::parser::parse_file;
2 changes: 1 addition & 1 deletion local-engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ log = {workspace = true}
futures = {workspace = true}
futures-util = {workspace = true}

bollard = "0.14"
bollard = "0.15.0"
cap-tempfile = "1.0"
backon = "0.4"
rand = "*"
Expand Down
2 changes: 1 addition & 1 deletion pipeline-assets/banner-pipeline.ban
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let rust_build_image = Image {
],
env=[
BANNER_ENV_VAR="hello banner!",
RUSTLOG="${log_level}",
RUST_LOG="${log_level}",
RUST_BACKTRACE="1",
]
}
Expand Down

0 comments on commit 9780a1d

Please sign in to comment.