diff --git a/roles/copr/backend/files/provision/builderpb_libvirt_aarch64.yml b/roles/copr/backend/files/provision/builderpb_libvirt_aarch64.yml deleted file mode 100644 index 16c3979458..0000000000 --- a/roles/copr/backend/files/provision/builderpb_libvirt_aarch64.yml +++ /dev/null @@ -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 diff --git a/roles/copr/backend/files/provision/terminatepb_libvirt_aarch64.yml b/roles/copr/backend/files/provision/terminatepb_libvirt_aarch64.yml deleted file mode 100644 index 635241ae94..0000000000 --- a/roles/copr/backend/files/provision/terminatepb_libvirt_aarch64.yml +++ /dev/null @@ -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 }}" diff --git a/roles/copr/backend/files/provision/vm-aarch64-alloc b/roles/copr/backend/files/provision/vm-aarch64-alloc deleted file mode 100755 index e0c889e5f0..0000000000 --- a/roles/copr/backend/files/provision/vm-aarch64-alloc +++ /dev/null @@ -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" diff --git a/roles/copr/backend/files/provision/vm-aarch64-terminate b/roles/copr/backend/files/provision/vm-aarch64-terminate deleted file mode 100755 index aec93831a4..0000000000 --- a/roles/copr/backend/files/provision/vm-aarch64-terminate +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/sh - -die() { echo >&2 "$*" ; exit 1 ;} - -test -n "$1" || die "one argument required" - -resalloc ticket-close "$1"