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

VisualCamkes test #90

Open
lsf37 opened this issue Jun 21, 2021 · 1 comment
Open

VisualCamkes test #90

lsf37 opened this issue Jun 21, 2021 · 1 comment
Labels
camkes help wanted Extra attention is needed

Comments

@lsf37
Copy link
Member

lsf37 commented Jun 21, 2021

See Bamboo/CAmkES/VisualCamkes

@lsf37 lsf37 added the camkes label Jun 21, 2021
@lsf37 lsf37 self-assigned this Oct 25, 2021
@axel-h axel-h added the help wanted Extra attention is needed label Jan 26, 2022
@lsf37
Copy link
Member Author

lsf37 commented Nov 10, 2022

The most relevant bits from the old Bamboo config-as-code for VisualCamkes tests:

public class VisualCamkes {
  private Stage addTestStage() {
    Job job = new Job("Test VisualCAmkES", new BambooKey("JOB1"));
    job = CommonStages.addCodeUnTarToJob(job);
    job.tasks(
        new ScriptTask()
            .description("run test")
            .interpreter(ScriptTaskProperties.Interpreter.BINSH_OR_CMDEXE)
            .inlineBody("xvfb-run python tools/camkes/camkes/visualCAmkES/test.py"));
    job = CommonStages.runInDocker(job, "trustworthysystems/camkes-vis");
    job = CommonStages.addElasticKernelRequirement(job);

    return new Stage("Test").jobs(job);
  }

  public Plan configurePlan(Plan plan) {
    plan.stages(new CodeFetcherBuilder().build().getCodeFetchingStage(), addTestStage())
        .linkedRepositories("camkes-manifest", "camkes-tool");

    return plan;
  }
}

This mainly gives you the command line for invoking the test, the repositories that are needed (camkes-manifest) and the docker image the test expects to run in camkes-vis.

The tests have been broken for a while, so the first order of business would be to make them pass again.

@lsf37 lsf37 removed their assignment Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
camkes help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants