Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v2.28.0
  • v2.27.0
  • v2.25.1
  • v2.24.3
  • v2.26.0
  • v2.24.2
  • v2.25.0
  • v2.24.1
  • v2.22.2
  • v2.23.3
  • v2.24.0
  • v2.23.2
  • v2.23.1
  • v2.23.0
  • v2.22.1
  • v2.22.0
  • v2.21.0
  • v2.20.0
  • v2.19.1
  • v2.18.2
21 results

kubespray

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Arthur Outhenin-Chalandre authored
    * tests: cleanup stale packet namespace automatically
    
    Cancelled job on Gitlab can produce stale VMs as the delete playbook
    will never be executed. This commits allow removing old vms by getting
    all the namespace created from the same branch with an older pipeline
    id.
    
    Signed-off-by: default avatarArthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
    
    * tests: cleanup stale packet namespace after 2 hours
    
    This ensure that we don't have any packet namespace remaining for more
    than 2 hours. All the jobs complete usually within 30min-1hour so 2
    hours is enough to detect a stale namespace.
    
    Signed-off-by: default avatarArthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
    
    * tests: ignore vm cleanup failure
    
    Signed-off-by: default avatarArthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
    
    * tests: use pipeline_id var instead of fetching namespace for cleanup packet vm
    
    Signed-off-by: default avatarArthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
    
    ---------
    
    Signed-off-by: default avatarArthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
    3311e0a2
    History
    Name Last commit Last update