Alex Mikhalev
b5b87fe587
Fix json naming of ProgramItem section_id to use camelCase
4 years ago
Alex Mikhalev
2270c69f2b
Add support for publishing sections
4 years ago
Alex Mikhalev
12c326ad86
Update rusqlite version
4 years ago
Alex Mikhalev
dc724ec2ba
Remove unused import in schedule
4 years ago
Alex Mikhalev
68b303e32d
Synchronous runner quit for determinism
4 years ago
Alex Mikhalev
effd3d8ec1
Add message on startup
4 years ago
Alex Mikhalev
7efb3b81bd
Fix program sequences db view
4 years ago
Alex Mikhalev
10f1003b56
Move most db stuff to database module
4 years ago
Alex Mikhalev
8c2f76ddd2
Reorganize migrations and database stuff
4 years ago
Alex Mikhalev
0fe30fa7a9
Add support for reading programs from database
...
Closes #8
4 years ago
Alex Mikhalev
e5a2e169a2
Format some SQL queries better
4 years ago
Alex Mikhalev
aed95202ce
Few fixes in scripts/add_migration.sh
4 years ago
Alex Mikhalev
6361ebbe76
Add script for adding a migration
4 years ago
Alex Mikhalev
2e17452315
Move migrations to files
4 years ago
Alex Mikhalev
9e9c1a353a
Implement de/serialization of schedules
...
Fixes #7
4 years ago
Alex Mikhalev
b6bcde020c
Flesh out main a bit more
...
There is now an instance of SectionRunner and ProgramRunner
4 years ago
Alex Mikhalev
9120f0cbd3
Add support for scheduled programs
4 years ago
Alex Mikhalev
c7450f1cc5
Remove debug prints
4 years ago
Alex Mikhalev
a56da9b9e0
Add schedule fields to program
4 years ago
Alex Mikhalev
e2c06f03a5
Add Schedule module for schedule support
4 years ago
Alex Mikhalev
0263a2b782
Documentation for model
4 years ago
Alex Mikhalev
d400834f54
Add more docs for section
4 years ago
Alex Mikhalev
d4e067a947
Improve ProgramRunner task error handling
4 years ago
Alex Mikhalev
9d5877106b
Implement program cancellation
4 years ago
Alex Mikhalev
6d33b7ed50
Add a few more ProgramRunner tests
4 years ago
Alex Mikhalev
690a165950
Add more ProgramRunner tests
4 years ago
Alex Mikhalev
6343ed1353
Add ProgramRunner
...
still needs some more tests
4 years ago
Alex Mikhalev
10abb912d4
Rename types pertaining to SectionRunner
4 years ago
Alex Mikhalev
a509303bc2
Add Program model
...
Also expose types for collections of Sections and Programs
4 years ago
Alex Mikhalev
46d90b4e84
Add type alias for Section id
4 years ago
Alex Mikhalev
7cb956c2bd
Rename section_interface::SectionId
...
To SecId
4 years ago
Alex Mikhalev
bd643607a9
Add SectionRunner events
4 years ago
Alex Mikhalev
1d5e05270e
Fix clippy warning
4 years ago
amikhalev
8d719032e1
Merge pull request 'Refactor SectionRunner runner_task' ( #6 ) from refactor-section-runner into master
...
Reviewed-on: #6
4 years ago
Alex Mikhalev
f8c9fd2def
Refactor SectionRunner runner_task
...
Create a struct to stores state and split up `runner_task` in
to separate functions.
4 years ago
Alex Mikhalev
4c782addb7
Move OptionFuture to its own file
4 years ago
Alex Mikhalev
7aaab40e0b
Fix clippy warnings
4 years ago
Alex Mikhalev
2d0927cff2
Separate drone steps and add clippy
4 years ago
amikhalev
e75a326f7d
Merge pull request 'Add test for SectionRunner pause/unpause' ( #3 ) from section-runner-pause into master
...
Reviewed-on: #3
4 years ago
Alex Mikhalev
4cf93a9568
Fix test usage of `tokio::time::advance`
4 years ago
Alex Mikhalev
ab994d027a
Implement SectionRunner pause/unpause
4 years ago
Alex Mikhalev
42cce06d68
Add test for SectionRunner pause/unpause
4 years ago
Alex Mikhalev
964c30b8b9
Fix clippy warnings
4 years ago
amikhalev
e03e1aaa20
Merge pull request 'Add caching for build target directory' ( #1 ) from drone-volume-cache into master
...
Reviewed-on: #1
4 years ago
Alex Mikhalev
780f4fffe3
Add caching for build target directory
4 years ago
Alex Mikhalev
168be29263
Use stable rust for drone build
4 years ago
Alex Mikhalev
82180956d3
Fix more dead code warnings
4 years ago
Alex Mikhalev
7e24b03f22
Change SectionRunner to use VecDeque again
...
Change SecRun to have a RunState enum with a cancelled state instead
of removing run from the queue when cancelled.
This means we no longer need `drain_filter` which is unstable
4 years ago
Alex Mikhalev
55da8a75e1
Fix drone cargo volume
4 years ago
Alex Mikhalev
552a694f32
Change pipeline type to docker
4 years ago