Project

General

Profile

Feature #323

Add support for canceling a requested build from web page

Added by Frank Sweetser over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Right now, the only way to get a host out of the "build" state is to actually install the host and complete the build. This patch adds a simple "Cancel build" option to the host page, which allows a user to manually take the host out of build state without actually going through the installation.

Associated revisions

Revision 7700f32f (diff)
Added by Frank Sweetser over 8 years ago

fixes #323 - Add a "cancel build" option

Revision 2c279147 (diff)
Added by Julien Pivotto about 3 years ago

Improve systemd.timer integration

  • Change service name to systemd-run
  • Add SuccessExitStatus=2 to the service unit
  • Use Array().join instead of a more complex method
  • Add the ability to change the systemd service name
  • Add the ability to specify different commands for systemd and cron
  • Isolate systemctl-daemon-reload by adding a -puppet suffix
  • Do not duplicate systemctl-daemon-reload exec definition
  • Only use the systemd magic on Linux.
  • Fix tests

Closes #323, #328 and #329.

History

#1 Updated by Frank Sweetser over 8 years ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100

#2 Updated by Ohad Levy over 8 years ago

  • Target version set to 0.1-6

#3 Updated by Ohad Levy over 8 years ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Frank Sweetser over 8 years ago

Since the admin can now cancel builds, might it make sense to delay purging out the facts and reports from the database?

#5 Updated by Frank Sweetser over 8 years ago

(though that patch should probably also have a return if @spoof line in it...)

Also available in: Atom PDF