Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-02-12 | chore: build deb without dh-cargoHEADmain | Lars Wirzenius | 3 | -3/+3 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-02-12 | fix: change radicle-ci-broker to use a git dependency | Lars Wirzenius | 2 | -11/+11 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-02-09 | cargo update | Lars Wirzenius | 1 | -203/+144 | |
2024-02-09 | initial debian packaging | Lars Wirzenius | 8 | -0/+54 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-02-08 | fix: set rust-version | Lars Wirzenius | 2 | -568/+88 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-02-02 | adapt to new trigger message structure in broker | Lars Wirzenius | 2 | -54/+674 | |
2024-01-23 | fix: cope with heartwood's Id->RepoId rename | Lars Wirzenius | 5 | -13/+13 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-22 | feat: put last-updated time stamp to top | Lars Wirzenius | 1 | -6/+6 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-22 | fix: don't reverse | Lars Wirzenius | 1 | -1/+0 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-22 | fix: use sorted runs | Lars Wirzenius | 1 | -1/+1 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-22 | fix: reverse order of runs | Lars Wirzenius | 1 | -0/+1 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-22 | feat: order runs newest first | Lars Wirzenius | 1 | -0/+3 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-16 | fix: set run id in run info | Lars Wirzenius | 1 | -0/+1 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-16 | fix: set run log filename | Lars Wirzenius | 2 | -5/+9 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-16 | fix: filename for run log | Lars Wirzenius | 1 | -1/+1 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-16 | fix: where run info is stored | Lars Wirzenius | 1 | -0/+4 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-16 | refactor: use engine in main | Lars Wirzenius | 6 | -420/+43 | |
Also introduce exit codes: 0 for success, 1 for problem in the repository under test, 2 for engine problem. Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-16 | refactor: add new engine to execute a CI run | Lars Wirzenius | 7 | -34/+546 | |
In the old engine it's hard to follow how various errors are handled. This new engine should make it clearer. This isn't entirely a pure refactoring. It subtly changed how the external behavior is, to fix problems. Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-15 | refactor: rename log or logfile to adminlog, for clarity | Lars Wirzenius | 1 | -23/+24 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-15 | refactor: rename LogFile to AdminLog | Lars Wirzenius | 3 | -10/+10 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-15 | improve error handling | Lars Wirzenius | 4 | -27/+69 | |
Incl. fix tests. Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-15 | feat: show absolute path name for runcmd "in directory" | Lars Wirzenius | 1 | -2/+9 | |
This is more helpful than ".". Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-15 | fix: write the run log | Lars Wirzenius | 1 | -0/+5 | |
It turns out that writing the to a file is sometimes a useful thing to do. Who could've foreseen this. Well, they're using a paper bag on their head as they're writing this commit message. Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-15 | feat! drop the env logging | Lars Wirzenius | 8 | -35/+3 | |
We have a run log, aimed at the developer for whose project CI is run, and the node admin log, aimed at the node admin. We don't need a third log aimed at the developer of the native CI engine itself. Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-15 | pass in RunLog, not filename for it | Lars Wirzenius | 1 | -6/+4 | |
RunLog knows how to construct a whole log, rather than just writing individual messages to it. Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-15 | fix run log filename suffix | Lars Wirzenius | 1 | -2/+1 | |
We're about to make HTML logs, to .html is the right suffix, not .txt. Also drop a commented-out log message. Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-12 | feat: add a module to construct HTML run logs | Lars Wirzenius | 5 | -19/+201 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-12 | chore: remove unused argument to report::build_report | Lars Wirzenius | 2 | -3/+3 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | fix: mangled source file | Lars Wirzenius | 1 | -0/+0 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | fix: indicate time zone as UTC | Lars Wirzenius | 1 | -0/+0 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | feat: add a "last update" time stamp to the report page | Lars Wirzenius | 1 | -0/+9 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | fix: headings start a new line, or are preceded by a newline | Lars Wirzenius | 1 | -3/+3 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | fix: undo rename of run info field id | Lars Wirzenius | 4 | -3/+18 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | feat: allow setting max duration of a CI run | Lars Wirzenius | 3 | -2/+43 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | refactor: don't write run info file unless requested | Lars Wirzenius | 3 | -13/+15 | |
Also, rename id to run_id for clarity. Found this out the hard way while debugging. Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | tests: no stdin for adapter | Lars Wirzenius | 1 | -2/+25 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | tests: malformed trigger request message | Lars Wirzenius | 1 | -0/+16 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | tests: commit is missing | Lars Wirzenius | 1 | -0/+16 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | tests: make test for missing repo more precise | Lars Wirzenius | 1 | -1/+2 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | refactor: pass in trigger to _run_ci | Lars Wirzenius | 1 | -4/+8 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | refactor: use _create_ci | Lars Wirzenius | 1 | -1/+1 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | refactor: use _get_repo_info | Lars Wirzenius | 1 | -6/+2 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | refactor: use _create_valid_native_yaml | Lars Wirzenius | 1 | -8/+2 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | refactor: use _create_git_repo | Lars Wirzenius | 1 | -6/+2 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | refactor: rename _ci to _create_ci | Lars Wirzenius | 1 | -3/+3 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | refactor: add helper method to get repository rid and head commit | Lars Wirzenius | 1 | -5/+6 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | refactor: add helper method to create a valid native.yaml | Lars Wirzenius | 1 | -3/+5 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | refactor: add helper method to create a git repository | Lars Wirzenius | 1 | -2/+7 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | refactor: drop dead code | Lars Wirzenius | 1 | -34/+0 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> | |||||
2024-01-10 | tests: config file missing | Lars Wirzenius | 1 | -0/+21 | |
Signed-off-by: Lars Wirzenius <liw@liw.fi> |