copr-be: drop old scripts related to aarch64 hypervisor

Once we have aarch64 hypervisor again, we'll use the scripts we already
use for ppc64le/x86_64 nowadays.  These removed wouldn't be used.
This commit is contained in:
Pavel Raiskup 2021-10-12 15:10:10 +02:00
parent f56573c9c9
commit 1644f93b5d
4 changed files with 0 additions and 45 deletions

View file

@ -1,11 +0,0 @@
- name: create instance
hosts: 127.0.0.1
gather_facts: False
connection: local
vars_files:
- vars.yml
tasks:
- name: spin machine with script
local_action: shell /bin/bash ./vm-aarch64-alloc

View file

@ -1,8 +0,0 @@
- name: terminate instance
hosts: 127.0.0.1
gather_facts: False
connection: local
tasks:
- name: terminate VM
local_action: shell /bin/bash ./vm-aarch64-terminate "{{ copr_task.vm_name }}"

View file

@ -1,19 +0,0 @@
#! /bin/bash
ticket=
cleanup()
{
test -n "$ticket" && resalloc ticket-close "$ticket"
}
trap cleanup EXIT
ticket=$(resalloc ticket --tag aarch64)
ip=$(resalloc ticket-wait "$ticket")
test -z "$ip" && exit 1
trap '' EXIT
echo "vm_name=$ticket"
echo "IP=$ip"

View file

@ -1,7 +0,0 @@
#! /bin/sh
die() { echo >&2 "$*" ; exit 1 ;}
test -n "$1" || die "one argument required"
resalloc ticket-close "$1"