taskotron: use F30 on minions even in production

This commit is contained in:
Kamil Páral 2019-05-29 14:56:51 +02:00
parent 7f338804b2
commit c94ff57bab
4 changed files with 26 additions and 160 deletions

View file

@ -1,18 +1,22 @@
# Commented out default values with details are displayed below. To override
# these default values, uncomment the values, rename the file to settings.py
# and place it in a supported config location
# Commented out default values with details are displayed below. If you want
# to change the values, make sure this file is available in one of the three
# supported config locations:
# - conf/settings.py in the git checkout
# - ~/.config/testcloud/settings.py
# - /etc/testcloud/settings.py
# Do not modify this file directly, it will not be picked up unless the filename
# is changed to settings.py
#DOWNLOAD_PROGRESS = True
#LOG_FILE = None
# Directories for data and cached downloaded images
## Directories for data and cached downloaded images ##
#DATA_DIR = "/var/lib/testcloud/"
#STORE_DIR = "/var/lib/testcloud/backingstores"
# Data for cloud-init
## Data for cloud-init ##
#PASSWORD = 'passw0rd'
#HOSTNAME = 'testcloud'
@ -20,6 +24,8 @@
#META_DATA = """instance-id: iid-123456
#local-hostname: %s
#"""
## Read http://cloudinit.readthedocs.io/en/latest/topics/examples.html to see
## what options you can use here.
USER_DATA = """#cloud-config
users:
- default
@ -38,9 +44,10 @@ runcmd:
#runcmd:
# - [ sh, -c, 'echo -e "ROOT_SIZE=4G\nDATA_SIZE=10G" > /etc/sysconfig/docker-storage-setup']
#"""
#
# Extra cmdline args for the qemu invocation.
# Customize as needed :)
## Extra cmdline args for the qemu invocation ##
## Customize as needed :)
#CMD_LINE_ARGS = []
@ -55,3 +62,12 @@ RAM = 6144
# Desired size, in GiB of instance disks. 0 leaves disk capacity
# identical to source image
DISK_SIZE = 40
# Number of retries when stopping of instance fails (host is busy)
#STOP_RETRIES = 3
# Waiting time between stop retries, in seconds
#STOP_RETRY_WAIT = 1
# Desired VM type: False = BIOS, True = UEFI
UEFI = True

View file

@ -1,73 +0,0 @@
# Commented out default values with details are displayed below. If you want
# to change the values, make sure this file is available in one of the three
# supported config locations:
# - conf/settings.py in the git checkout
# - ~/.config/testcloud/settings.py
# - /etc/testcloud/settings.py
#DOWNLOAD_PROGRESS = True
#LOG_FILE = None
## Directories for data and cached downloaded images ##
#DATA_DIR = "/var/lib/testcloud/"
#STORE_DIR = "/var/lib/testcloud/backingstores"
## Data for cloud-init ##
#PASSWORD = 'passw0rd'
#HOSTNAME = 'testcloud'
#META_DATA = """instance-id: iid-123456
#local-hostname: %s
#"""
## Read http://cloudinit.readthedocs.io/en/latest/topics/examples.html to see
## what options you can use here.
USER_DATA = """#cloud-config
users:
- default
- name: root
password: %s
chpasswd: { expire: False }
ssh-authorized-keys:
- {{ buildslave_pubkey }}
runcmd:
- [dnf, update, libtaskotron, python-resultsdb_api]
"""
#ATOMIC_USER_DATA = """#cloud-config
#password: %s
#chpasswd: { expire: False }
#ssh_pwauth: True
#runcmd:
# - [ sh, -c, 'echo -e "ROOT_SIZE=4G\nDATA_SIZE=10G" > /etc/sysconfig/docker-storage-setup']
#"""
## Extra cmdline args for the qemu invocation ##
## Customize as needed :)
#CMD_LINE_ARGS = []
# The timeout, in seconds, to wait for an instance to boot before
# failing the boot process. Setting this to 0 disables waiting and
# returns immediately after starting the boot process.
BOOT_TIMEOUT = 90
# ram size, in MiB
RAM = 6144
# Desired size, in GiB of instance disks. 0 leaves disk capacity
# identical to source image
DISK_SIZE = 40
# Number of retries when stopping of instance fails (host is busy)
#STOP_RETRIES = 3
# Waiting time between stop retries, in seconds
#STOP_RETRY_WAIT = 1
# Desired VM type: False = BIOS, True = UEFI
UEFI = True

View file

@ -1,73 +0,0 @@
# Commented out default values with details are displayed below. If you want
# to change the values, make sure this file is available in one of the three
# supported config locations:
# - conf/settings.py in the git checkout
# - ~/.config/testcloud/settings.py
# - /etc/testcloud/settings.py
#DOWNLOAD_PROGRESS = True
#LOG_FILE = None
## Directories for data and cached downloaded images ##
#DATA_DIR = "/var/lib/testcloud/"
#STORE_DIR = "/var/lib/testcloud/backingstores"
## Data for cloud-init ##
#PASSWORD = 'passw0rd'
#HOSTNAME = 'testcloud'
#META_DATA = """instance-id: iid-123456
#local-hostname: %s
#"""
## Read http://cloudinit.readthedocs.io/en/latest/topics/examples.html to see
## what options you can use here.
USER_DATA = """#cloud-config
users:
- default
- name: root
password: %s
chpasswd: { expire: False }
ssh-authorized-keys:
- {{ buildslave_pubkey }}
runcmd:
- [dnf, update, libtaskotron, python-resultsdb_api]
"""
#ATOMIC_USER_DATA = """#cloud-config
#password: %s
#chpasswd: { expire: False }
#ssh_pwauth: True
#runcmd:
# - [ sh, -c, 'echo -e "ROOT_SIZE=4G\nDATA_SIZE=10G" > /etc/sysconfig/docker-storage-setup']
#"""
## Extra cmdline args for the qemu invocation ##
## Customize as needed :)
#CMD_LINE_ARGS = []
# The timeout, in seconds, to wait for an instance to boot before
# failing the boot process. Setting this to 0 disables waiting and
# returns immediately after starting the boot process.
BOOT_TIMEOUT = 90
# ram size, in MiB
RAM = 6144
# Desired size, in GiB of instance disks. 0 leaves disk capacity
# identical to source image
DISK_SIZE = 40
# Number of retries when stopping of instance fails (host is busy)
#STOP_RETRIES = 3
# Waiting time between stop retries, in seconds
#STOP_RETRY_WAIT = 1
# Desired VM type: False = BIOS, True = UEFI
UEFI = True

View file

@ -160,11 +160,7 @@ force_imageurl: False
## Default distro/release/flavor/arch for the disposable images discovery
#default_disposable_distro: fedora
{% if deployment_type in ['dev', 'stg'] %}
default_disposable_release: '30'
{% else %}
default_disposable_release: '28'
{% endif %}
#default_disposable_flavor: taskotron_cloud
#default_disposable_arch: x86_64