browsertrix/.github/workflows
Ilya Kreymer fb3d88291f
Background Jobs Work (#1321)
Fixes #1252 

Supports a generic background job system, with two background jobs,
CreateReplicaJob and DeleteReplicaJob.
- CreateReplicaJob runs on new crawls, uploads, profiles and updates the
`replicas` array with the info about the replica after the job succeeds.
- DeleteReplicaJob deletes the replica.
- Both jobs are created from the new `replica_job.yaml` template. The
CreateReplicaJob sets secrets for primary storage + replica storage,
while DeleteReplicaJob only needs the replica storage.
- The job is processed in the operator when the job is finalized
(deleted), which should happen immediately when the job is done, either
because it succeeds or because the backoffLimit is reached (currently
set to 3).
- /jobs/ api lists all jobs using a paginated response, including filtering and sorting
- /jobs/<job id> returns details for a particular job
- tests: nightly tests updated to check create + delete replica jobs for crawls as well as uploads, job api endpoints
- tests: also fixes to timeouts in nightly tests to avoid crawls finishing too quickly.

---------
Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
2023-11-02 13:02:17 -07:00
..
ansible-lint.yaml Move DO ansible playbook to new format (#1159) 2023-09-27 22:36:34 -07:00
deploy-dev.yaml Optimize Frontend Image Build on CI (#1057) 2023-08-09 12:06:20 -07:00
docs-publish.yaml
frontend-build-check.yaml Optimize Frontend Image Build on CI (#1057) 2023-08-09 12:06:20 -07:00
k3d-ci.yaml avoid exception if 'errors' key doesn't exist (#1301) 2023-10-19 14:39:54 -07:00
k3d-log-ci.yaml ci: 2023-02-08 11:24:54 -08:00
k3d-nightly-ci.yaml Background Jobs Work (#1321) 2023-11-02 13:02:17 -07:00
lint.yaml Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
microk8s-ci.yaml test quickfix: microk8s crawls were not running due to exceeding CI resource capacity 2023-10-10 23:29:10 -07:00
password-check.yaml feat: add pre-commit to check we don't have real passwords in yml files (#990) 2023-07-26 13:29:37 -07:00
project-assign-issue.yml chore: switch actions for issue assign automation 2023-03-08 10:01:00 -08:00
publish-helm-chart.yaml quick fix: fix typo in publish-helm-chart specifying version 2023-09-05 15:51:10 -04:00
release.yaml Optimize Frontend Image Build on CI (#1057) 2023-08-09 12:06:20 -07:00
ui-tests-playwright.yml ci: make playwright integration tests run only on PRs involving frontend 2023-04-05 09:57:34 -07:00