Commit Graph
12 Commits
Author SHA1 Message Date
Lars Wirzenius 8d7989cc6a Revert "fix: "cibtool run list" shows ids without loading run info"
This reverts commit 900a457157.
2025-04-17 17:04:46 +03:00
Lars Wirzenius 900a457157 fix: "cibtool run list" shows ids without loading run info
If the run info can't be parsed as JSON, loading it will fail. Change
`cibtool run list` so that it only lists the run ids by default.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-04-07 15:34:57 +03:00
Lars Wirzenius aaf687376c tests: add scenarios to verify new "triggers" functionality
Also add a useful extra step.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-01-21 19:11:39 +02:00
Lars Wirzenius d7428e5f94 chore: drop unused scenario step implementations
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-11-29 10:02:47 +02:00
Lars Wirzenius 964d3e1ed2 test: add higher level scenario steps
These are q step towards making scenarios less mired with test
implementation details.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-11-29 10:02:44 +02:00
Lars Wirzenius c377b05a97 test: add step to install an adapter
This is simpler to understand, for most readers of the subplot, than
installing a file and adjusting its Unix permissions with chmod.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-11-12 16:50:19 +02:00
Lars Wirzenius d76efe4007 test: have just one step to install all of CI broker
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-11-12 16:04:59 +02:00
Lars Wirzenius 842ce74f02 test: add new step "then stdout is empty"
This is a little clearer than 'then stdout is exactly ""'

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-11-12 15:34:32 +02:00
Lars Wirzenius f07da18fbc feat: add "run show" and "run update"
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-08-09 11:51:07 +03:00
Lars Wirzenius 1d57cc1f2f chore: drop the "given an installed ci-broker" step
It's not used anywhere now that the binary name has changed to cib.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-07-17 18:11:55 +03:00
Lars Wirzenius 0db9dfe34c test: update the subplot scenarios to verify the changes
Add a couple of helper scripts to make scenarios a little less
repetitive. These aren't great for understanding, and we may need to
add more understandable steps later.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-07-02 19:56:05 +03:00
Lars Wirzenius 1f1e0c72b7 tests: add subplot to capture acceptance criteria and verification
Add a markdown document to document acceptance criteria for the CI
broker, and also how to verify they are being met. The document is
used by the Subplot software, and the verification is run as part of
"cargo test".

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-05-07 19:32:51 +03:00