Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
chore: drop the "given an installed ci-broker" step
Lars Wirzenius committed 1 year ago
commit 1d57cc1f2f7460b5c771eac36db002f3b56caa06
parent 7c8919c5070b6a25d2e90aa0219c156c672d407c
2 files changed +0 -20
modified ci-broker.yaml
@@ -1,8 +1,3 @@
-
- given: "an installed ci-broker"
-
  impl:
-
    rust:
-
      function: install_ci_broker
-

- given: "an installed cib"
  impl:
    rust:
modified src/subplot.rs
@@ -12,21 +12,6 @@ impl ContextElement for SubplotContext {}
#[step]
#[context(SubplotContext)]
#[context(Runcmd)]
-
fn install_ci_broker(context: &ScenarioContext) {
-
    let target_path = bindir();
-
    assert!(target_path.join("ci-broker").exists());
-
    context.with_mut(
-
        |context: &mut Runcmd| {
-
            context.prepend_to_path(target_path);
-
            Ok(())
-
        },
-
        false,
-
    )?;
-
}
-

-
#[step]
-
#[context(SubplotContext)]
-
#[context(Runcmd)]
fn install_cib(context: &ScenarioContext) {
    let target_path = bindir();
    assert!(target_path.join("cib").exists());