virusseq / singularity

Singularity - All Contributors, All Files
GNU Affero General Public License v3.0
2 stars 0 forks source link

Kill archive build #70

Closed lrivera-oicr closed 1 year ago

lrivera-oicr commented 2 years ago

Issue Description: force-cancel endpoint is not completely stopping an archive build process.

Acceptance criteria:

lrivera-oicr commented 1 year ago
  1. on force-cancel endpoint with no hashes passed on request.
  2. find the latest BUILDING type ALL from the database
  3. tag it as CANCELLED on the database
  4. stop if there is a build running on that pod.
lrivera-oicr commented 1 year ago

testing scenarios force-cancel no hash provided:

1. Start Build and Cancel on same pod Start build: (pod A)

Cancel build: (pod A)

2. Start Build and Cancel on different pod Start build: (pod A)

Cancel build: (pod B)

leoraba commented 1 year ago

Change completed in branch name: kill_archive_build. Still not merged in develop until further notice.

leoraba commented 1 year ago

merged into main branch.