8b0e05ba14
feat: CLI: wait for ftest server to start before scheduling job
2023-10-04 19:20:16 +05:30
d6a5853d34
feat: build details route
2023-10-04 19:20:06 +05:30
a63979af76
fix: MinAppContext::port must return the port exposed to docker net
2023-10-04 19:05:08 +05:30
b3a3fe8c0d
fix: launch API server in background
2023-10-04 19:04:47 +05:30
501f44560c
fix: docker cmd
2023-10-04 18:51:48 +05:30
adaebe4e35
feat: CLI modes: verify, daemon and test
...
verify
Checks ftest.toml for syntax
daemon
Runs ftest server
cli
Runs single ftest job
2023-10-04 18:33:38 +05:30
3f4b8d363e
feat: define minimal app context for cli use
2023-10-04 18:33:34 +05:30
db161fe6f0
feat: add project metadata
2023-10-04 18:33:06 +05:30
8afea6fc81
feat & chore: define MinAppContext and FullAppContext
...
SUMMARY
ftest when run as a local dev tool will only run one job during its
runtime. Database and settings are not required for this purpose.
This commit defines MinAppContext for running in a single job
execution mode and FullAppContext for running as a daemon
2023-10-04 02:14:47 +05:30
968c5d2b69
fix: docker force stop flag
2023-10-04 00:38:11 +05:30
7d93129bbf
feat: optionally start nginx proxy
2023-10-04 00:37:59 +05:30
5c6db4bccd
feat: export to forgeflux/ftest-nginx-proxy
2023-10-04 00:37:25 +05:30
eb870acdb0
feat: API endpoints to schedule and post results
2023-09-29 19:36:28 +05:30
438fe46d58
dog: cargo test workaround
2023-09-29 19:36:23 +05:30
aeb9c46247
feat: rename docker cmds in Makefile
2023-09-29 19:35:48 +05:30
0d332062db
feat: utility function to run job and write results
2023-09-29 19:35:07 +05:30
79dcf895b6
feat: licence header
2023-09-29 19:35:01 +05:30
718e57a1df
feat: job scheduler; runs one job at any given time
2023-09-29 19:34:21 +05:30
21a283d138
feat: init process: apply DB migrations and job scheduler
2023-09-29 19:18:33 +05:30
963ce0174b
chore: apply clippy lints
2023-09-29 19:18:20 +05:30
1dcd1e955d
feat: print validator config after successful run
2023-09-29 19:16:47 +05:30
b3c685b593
feat: load ftest control and result repository configs
2023-09-29 19:16:00 +05:30
76b7d7e727
feat: find and run test targets
2023-09-29 18:17:13 +05:30
1f6f0063ac
feat: add todo marker
2023-09-29 18:15:10 +05:30
e434cf132d
feat: proxy local ftest instance to docker network
2023-09-28 22:54:04 +05:30
bd6afe2fd9
fix: auth is per test, so in-memory is sufficient
2023-09-27 23:18:46 +05:30
9d59085608
fix: tests
2023-09-27 22:15:47 +05:30
67f9d5f7cf
feat: use actual values test sutie containers
2023-09-27 22:13:45 +05:30
cccbbba24d
feat: specify target container host
2023-09-27 22:12:50 +05:30
7ab31a6074
feat: get_next_job_to_run
...
DESCRIPTION
Next job is the oldest job with NULL for `scheduled_at` and
`finished_at` and `JOB_STATE_CREATE` for state.
2023-09-27 22:02:07 +05:30
88af240a0c
feat: update sqlx and add methods to work with jobs table
2023-09-27 21:39:51 +05:30
6b5ca28243
feat: add job types while running migrations
2023-09-27 20:40:31 +05:30
d75f37c97b
feat: document ftest network creation
2023-09-27 20:21:39 +05:30
52eecea261
feat: apply license header
2023-09-27 19:50:07 +05:30
85bce281ff
feat: user-facing compliance types
2023-09-27 19:47:28 +05:30
6d39176cbf
feat: run tests in a suite and collect results
2023-09-27 19:46:59 +05:30
c613c7a45e
feat: launch suite's tests and collect its results
2023-09-27 19:34:26 +05:30
d2801adeca
chore: return Ctx and not ArcCtx
2023-09-27 19:34:21 +05:30
10a5d91bd1
chore: mv to https://git.batsense.net/ForgeFlux/ftest-docker-cmd-tester
2023-09-27 19:33:31 +05:30
8ad1be03a8
feat: rely on DockerLike trait for container ops
2023-09-27 17:50:00 +05:30
44a97e8928
feat: git cmd and tests
2023-09-27 17:18:41 +05:30
17efcac145
feat: initialize target container
2023-09-27 17:18:15 +05:30
d7404aa074
feat: runner result types
2023-09-27 17:17:48 +05:30
6078953faa
chore & fix: rm debug statements and sleep for 10s
2023-09-27 16:35:46 +05:30
4fb5f350e1
feat: optionally run container detached and optionall pull before run
2023-09-27 16:34:45 +05:30
b3f7cb943e
feat: get exit status
2023-09-27 00:34:32 +05:30
17510c4ac2
feat: tests for docker-compose
2023-09-26 15:38:55 +05:30
c2ac9689d8
feat: tests for docker cmd and env vars
2023-09-20 21:54:23 +05:30
061e4c51d5
feat: docker-compose helper utils
2023-09-06 13:34:06 +05:30
be66de4c8f
fix: rm newline in version
2023-09-06 13:33:34 +05:30