tests: ship all tests in the -tests sub-package
No tests should be run directly from git, but should rather be installed
onto the test system using rpm and run from there. This moves towards
unifying our two types of test cases.
The new structure of is now:
`test/cmd`: the executors, one for each test-case. This is installed
into `/usr/libexec/test/osbuild-composer`.
`test/data`: data and config used by the tests. This is installed into
`/usr/share/tests/osbuild-composer`.
`schutzbot`: configuration of the actual test run. In particular, this
is where the distros and repositories to test against are
configured.
This is very much still work-in-progress, and is only the first step
towards simplifying schutzbot. Apart from moving files around, this
should be a noop.
Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
21e6ae5ef4
commit
805ae59151
81 changed files with 247 additions and 160 deletions
301
test/data/ansible/check_ostree.yaml
Normal file
301
test/data/ansible/check_ostree.yaml
Normal file
|
|
@ -0,0 +1,301 @@
|
|||
---
|
||||
- hosts: ostree_guest
|
||||
become: no
|
||||
vars:
|
||||
workspace: "{{ lookup('env', 'WORKSPACE') }}"
|
||||
total_counter: "0"
|
||||
failed_counter: "0"
|
||||
|
||||
tasks:
|
||||
# case: check ostree commit correctly updated
|
||||
- name: get deployed ostree commit
|
||||
command: rpm-ostree status --json
|
||||
register: result_commit
|
||||
|
||||
- name: make a json result
|
||||
set_fact:
|
||||
deploy_commit: "{{ result_commit.stdout | from_json | json_query('deployments[0].checksum') }}"
|
||||
|
||||
- name: check commit deployed and built
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- deploy_commit == ostree_commit
|
||||
fail_msg: "deployed ostree commit is not commit built by osbuild-composer"
|
||||
success_msg: "successful building and deployment"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
|
||||
# case from bug: https://bugzilla.redhat.com/show_bug.cgi?id=1848453
|
||||
- name: check ostree-remount status
|
||||
command: systemctl is-active ostree-remount.service
|
||||
register: result_remount
|
||||
|
||||
- name: ostree-remount should be started
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- result_remount.stdout == "active"
|
||||
fail_msg: "ostree-remount is not started by default"
|
||||
success_msg: "starting ostree-remount successful"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
|
||||
# case: check /sysroot moutn point
|
||||
- name: check /sysroot mount point
|
||||
command: findmnt -r -o SOURCE -n /sysroot
|
||||
register: result_sysroot_mount_point
|
||||
|
||||
- name: /sysroot should be mounted on /dev/vda2
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- result_sysroot_mount_point.stdout == "/dev/vda2"
|
||||
fail_msg: "/var does not mount on /dev/vda2"
|
||||
success_msg: "/var mounts on /dev/vda2"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
|
||||
# case: check /sysroot mount status
|
||||
- name: check /sysroot mount status
|
||||
shell: findmnt -r -o OPTIONS -n /sysroot | awk -F "," '{print $1}'
|
||||
register: result_sysroot_mount_status
|
||||
|
||||
- name: /sysroot should be mount with rw permission
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- result_sysroot_mount_status.stdout == "rw"
|
||||
fail_msg: "/sysroot is not mounted with rw permission"
|
||||
success_msg: "/sysroot is mounted with rw permission"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
|
||||
# case: check /var mount point
|
||||
- name: check /var mount point
|
||||
command: findmnt -r -o SOURCE -n /var
|
||||
register: result_var_mount_point
|
||||
|
||||
- name: "/var should be mounted on /dev/vda2[/ostree/deploy/{{ image_type }}/var]"
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- result_var_mount_point.stdout == "/dev/vda2[/ostree/deploy/{{ image_type }}/var]"
|
||||
fail_msg: "/var does not mount on /dev/vda2[/ostree/deploy/{{ image_type }}/var]"
|
||||
success_msg: "/var mounts on /dev/vda2[/ostree/deploy/{{ image_type }}/var]"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
|
||||
# case: check /var mount status
|
||||
- name: check /var mount status
|
||||
shell: findmnt -r -o OPTIONS -n /var | awk -F "," '{print $1}'
|
||||
register: result_var_mount_status
|
||||
|
||||
- name: /var should be mount with rw permission
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- result_var_mount_status.stdout == "rw"
|
||||
fail_msg: "/var is not mounted with rw permission"
|
||||
success_msg: "/var is mounted with rw permission"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
|
||||
# case: check /usr mount point
|
||||
- name: check /usr mount point
|
||||
command: findmnt -r -o SOURCE -n /usr
|
||||
register: result_usr_mount_point
|
||||
|
||||
- name: "/usr should be mounted on /dev/vda2[/ostree/deploy/{{ image_type }}/deploy/{{ deploy_commit }}.0/usr]"
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- result_usr_mount_point.stdout == "/dev/vda2[/ostree/deploy/{{ image_type }}/deploy/{{ deploy_commit }}.0/usr]"
|
||||
fail_msg: "/usr does not mount on /dev/vda2[/ostree/deploy/{{ image_type }}/deploy/{{ deploy_commit }}.0/usr]"
|
||||
success_msg: "/usr mounts on /dev/vda2[/ostree/deploy/{{ image_type }}/deploy/{{ deploy_commit }}.0/usr]"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
|
||||
# case: check /usr mount status
|
||||
- name: check /usr mount status
|
||||
shell: findmnt -r -o OPTIONS -n /usr | awk -F "," '{print $1}'
|
||||
register: result_usr_mount_status
|
||||
|
||||
- name: /usr should be mount with rw permission
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- result_usr_mount_status.stdout == "ro"
|
||||
fail_msg: "/usr is not mounted with ro permission"
|
||||
success_msg: "/usr is mounted with ro permission"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
|
||||
- name: get the first 10 chars in commit hash
|
||||
set_fact:
|
||||
commit_log: "{{ deploy_commit[:11] }}"
|
||||
|
||||
# case: check wget installed after upgrade
|
||||
- name: check installed package
|
||||
shell: rpm -qa | sort
|
||||
register: result_packages
|
||||
|
||||
- name: check wget installed
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- "'wget' in result_packages.stdout"
|
||||
fail_msg: "wget not installed, ostree upgrade might be failed"
|
||||
success_msg: "wget installed in ostree upgrade"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
|
||||
- name: save installed package to log file
|
||||
copy:
|
||||
content: "{{ result_packages.stdout }}"
|
||||
dest: "{{ workspace }}/{{ commit_log }}.installed.ostree.log"
|
||||
delegate_to: localhost
|
||||
|
||||
# case: check ostree-remount mount log
|
||||
- name: check ostree-remount mount log
|
||||
command: journalctl -u ostree-remount
|
||||
register: result_remount_jounalctl
|
||||
|
||||
- name: ostree-remount should remount /var and /sysroot
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- "'/sysroot' in result_remount_jounalctl.stdout"
|
||||
- "'/var' in result_remount_jounalctl.stdout"
|
||||
fail_msg: "/sysroot or /var are not remounted by ostree-remount"
|
||||
success_msg: "/sysroot and /var are remount"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
|
||||
# case: check dmesg error and failed log
|
||||
- name: check dmesg output
|
||||
command: dmesg
|
||||
register: result_dmesg
|
||||
|
||||
- name: save dmesg output to log file
|
||||
copy:
|
||||
content: "{{ result_dmesg.stdout }}"
|
||||
dest: "{{ workspace }}/{{ commit_log }}.dmesg.ostree.log"
|
||||
delegate_to: localhost
|
||||
|
||||
- name: check dmesg error and fail log
|
||||
shell: dmesg --notime | grep -i "error\|fail"
|
||||
register: result_dmesg_error
|
||||
|
||||
- name: no more error or failed log
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- result_dmesg_error.stdout_lines | length == 2
|
||||
- "'pcieport 0000:00:01.6: Failed to check link status' in result_dmesg_error.stdout"
|
||||
- "'Error: Driver \\'pcspkr\\' is already registered, aborting' in result_dmesg_error.stdout"
|
||||
fail_msg: "more or less error and failed log"
|
||||
success_msg: "everything works as expected"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
when: ansible_facts['distribution'] == "RedHat"
|
||||
|
||||
- name: no more error or failed log
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- result_dmesg_error.stdout_lines | length == 2
|
||||
- "'pcieport 0000:00:01.6: pciehp: Failed to check link status' in result_dmesg_error.stdout"
|
||||
- "'RAS: Correctable Errors collector initialized' in result_dmesg_error.stdout"
|
||||
fail_msg: "more or less error and failed log"
|
||||
success_msg: "everything works as expected"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
when: ansible_facts['distribution'] == "Fedora"
|
||||
|
||||
# case: check running container with podman
|
||||
- name: run ubi8 image
|
||||
command: podman run ubi8-minimal:latest cat /etc/redhat-release
|
||||
register: podman_result
|
||||
|
||||
- name: run container test
|
||||
block:
|
||||
- assert:
|
||||
that:
|
||||
- podman_result is succeeded
|
||||
- "'Red Hat Enterprise Linux release' in podman_result.stdout"
|
||||
fail_msg: "failed run container with podman"
|
||||
success_msg: "running container with podman successed"
|
||||
always:
|
||||
- set_fact:
|
||||
total_counter: "{{ total_counter | int + 1 }}"
|
||||
rescue:
|
||||
- name: failed count + 1
|
||||
set_fact:
|
||||
failed_counter: "{{ failed_counter | int + 1 }}"
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- failed_counter == "0"
|
||||
fail_msg: "Run {{ total_counter }} tests, but {{ failed_counter }} of them failed"
|
||||
success_msg: "Totally {{ total_counter }} test passed"
|
||||
198
test/data/azure/deployment-template.json
Normal file
198
test/data/azure/deployment-template.json
Normal file
|
|
@ -0,0 +1,198 @@
|
|||
{
|
||||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"networkInterfaceName": {
|
||||
"type": "string"
|
||||
},
|
||||
"networkSecurityGroupName": {
|
||||
"type": "string"
|
||||
},
|
||||
"virtualNetworkName": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicIPAddressName": {
|
||||
"type": "string"
|
||||
},
|
||||
"virtualMachineName": {
|
||||
"type": "string"
|
||||
},
|
||||
"diskName": {
|
||||
"type": "string"
|
||||
},
|
||||
"imageName": {
|
||||
"type": "string"
|
||||
},
|
||||
"location": {
|
||||
"type": "string"
|
||||
},
|
||||
"imagePath": {
|
||||
"type": "string"
|
||||
},
|
||||
"adminUsername": {
|
||||
"type": "string"
|
||||
},
|
||||
"adminPublicKey": {
|
||||
"type": "secureString"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
"nsgId": "[resourceId(resourceGroup().name, 'Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName'))]",
|
||||
"vnetId": "[resourceId(resourceGroup().name,'Microsoft.Network/virtualNetworks', parameters('virtualNetworkName'))]",
|
||||
"subnetRef": "[concat(variables('vnetId'), '/subnets/default')]"
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"name": "[parameters('networkInterfaceName')]",
|
||||
"type": "Microsoft.Network/networkInterfaces",
|
||||
"apiVersion": "2019-07-01",
|
||||
"location": "[parameters('location')]",
|
||||
"dependsOn": [
|
||||
"[concat('Microsoft.Network/networkSecurityGroups/', parameters('networkSecurityGroupName'))]",
|
||||
"[concat('Microsoft.Network/virtualNetworks/', parameters('virtualNetworkName'))]",
|
||||
"[concat('Microsoft.Network/publicIpAddresses/', parameters('publicIPAddressName'))]"
|
||||
],
|
||||
"properties": {
|
||||
"ipConfigurations": [
|
||||
{
|
||||
"name": "ipconfig1",
|
||||
"properties": {
|
||||
"subnet": {
|
||||
"id": "[variables('subnetRef')]"
|
||||
},
|
||||
"privateIPAllocationMethod": "Dynamic",
|
||||
"publicIpAddress": {
|
||||
"id": "[resourceId(resourceGroup().name, 'Microsoft.Network/publicIpAddresses', parameters('publicIPAddressName'))]"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"networkSecurityGroup": {
|
||||
"id": "[variables('nsgId')]"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "[parameters('networkSecurityGroupName')]",
|
||||
"type": "Microsoft.Network/networkSecurityGroups",
|
||||
"apiVersion": "2019-02-01",
|
||||
"location": "[parameters('location')]",
|
||||
"properties": {
|
||||
"securityRules": [
|
||||
{
|
||||
"name": "SSH",
|
||||
"properties": {
|
||||
"priority": 300,
|
||||
"protocol": "TCP",
|
||||
"access": "Allow",
|
||||
"direction": "Inbound",
|
||||
"sourceAddressPrefix": "*",
|
||||
"sourcePortRange": "*",
|
||||
"destinationAddressPrefix": "*",
|
||||
"destinationPortRange": "22"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "[parameters('virtualNetworkName')]",
|
||||
"type": "Microsoft.Network/virtualNetworks",
|
||||
"apiVersion": "2019-09-01",
|
||||
"location": "[parameters('location')]",
|
||||
"properties": {
|
||||
"addressSpace": {
|
||||
"addressPrefixes": [
|
||||
"10.0.5.0/24"
|
||||
]
|
||||
},
|
||||
"subnets": [
|
||||
{
|
||||
"name": "default",
|
||||
"properties": {
|
||||
"addressPrefix": "10.0.5.0/24"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "[parameters('publicIPAddressName')]",
|
||||
"type": "Microsoft.Network/publicIpAddresses",
|
||||
"apiVersion": "2019-02-01",
|
||||
"location": "[parameters('location')]",
|
||||
"properties": {
|
||||
"publicIpAllocationMethod": "Dynamic"
|
||||
},
|
||||
"sku": {
|
||||
"name": "Basic"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "[parameters('imageName')]",
|
||||
"type": "Microsoft.Compute/images",
|
||||
"apiVersion": "2019-07-01",
|
||||
"location": "[parameters('location')]",
|
||||
"properties": {
|
||||
"hyperVGeneration": "V1",
|
||||
"storageProfile": {
|
||||
"osDisk": {
|
||||
"osType": "Linux",
|
||||
"blobUri": "[parameters('imagePath')]",
|
||||
"osState": "Generalized"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "[parameters('virtualMachineName')]",
|
||||
"type": "Microsoft.Compute/virtualMachines",
|
||||
"apiVersion": "2019-07-01",
|
||||
"location": "[parameters('location')]",
|
||||
"dependsOn": [
|
||||
"[concat('Microsoft.Network/networkInterfaces/', parameters('networkInterfaceName'))]",
|
||||
"[concat('Microsoft.Compute/images/', parameters('imageName'))]"
|
||||
],
|
||||
"properties": {
|
||||
"hardwareProfile": {
|
||||
"vmSize": "Standard_B1s"
|
||||
},
|
||||
"storageProfile": {
|
||||
"imageReference": {
|
||||
"id": "[resourceId(resourceGroup().name, 'Microsoft.Compute/images', parameters('imageName'))]"
|
||||
},
|
||||
"osDisk": {
|
||||
"caching": "ReadWrite",
|
||||
"managedDisk": {
|
||||
"storageAccountType": "Standard_LRS"
|
||||
},
|
||||
"name": "[parameters('diskName')]",
|
||||
"createOption": "FromImage"
|
||||
}
|
||||
},
|
||||
"networkProfile": {
|
||||
"networkInterfaces": [
|
||||
{
|
||||
"id": "[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaceName'))]"
|
||||
}
|
||||
]
|
||||
},
|
||||
"osProfile": {
|
||||
"computerName": "[parameters('virtualMachineName')]",
|
||||
"adminUsername": "[parameters('adminUsername')]",
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
"path": "[concat('/home/', parameters('adminUsername'), '/.ssh/authorized_keys')]",
|
||||
"keyData": "[parameters('adminPublicKey')]"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
19
test/data/ca/ca-crt.pem
Normal file
19
test/data/ca/ca-crt.pem
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIDDTCCAfWgAwIBAgIUVrgJCBlYNv2uMIP04BH2fOTCPr4wDQYJKoZIhvcNAQEL
|
||||
BQAwFjEUMBIGA1UEAwwLb3NidWlsZC5vcmcwHhcNMjAxMDA1MDgzODUzWhcNMjEx
|
||||
MDA1MDgzODUzWjAWMRQwEgYDVQQDDAtvc2J1aWxkLm9yZzCCASIwDQYJKoZIhvcN
|
||||
AQEBBQADggEPADCCAQoCggEBAMCii5Z8O+P3HfrYZmUVJAvQFSyxCvarpjSjopUD
|
||||
J3VCFBa601swg5vDBSnDg0CRiW8r5LHi4seaOULD3OhttabeLZ5a4ESR98Q/XjcE
|
||||
RWWOx9FdQkx1BXlpFDwbWHPTaKXhFfii35fjjmCoprCX6OVVGLfq95yfU7jj2wme
|
||||
BfQoN/Xv+yXzYr6vCVOgTdG8Hc2G639xBf0zaZsDoJH5gtfxpD7s3HRLwN/XWy1e
|
||||
800pHqdBji0Nt1Gz97K3x2HgqzmtX/cUfZN71AHEIt2DzhRjOQbfG0r/W2YztDJb
|
||||
aZ3CultmJOCwXl5dGkSSmVYjB/y104XzbVMl0Mm0arq714kCAwEAAaNTMFEwHQYD
|
||||
VR0OBBYEFFNDFT1jOr4HlFrICey0ukYdzq27MB8GA1UdIwQYMBaAFFNDFT1jOr4H
|
||||
lFrICey0ukYdzq27MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEB
|
||||
AAey3ciGtbfpzRwHL+KR5SqfVfxKI/LtVU74VFxFfMnVzAuFteV/k9CEHGxbCjmZ
|
||||
nt4Z2vncLzGxJ3wnjm4GfzCCPKCfPdqD6bAwJ5tpDJyFWs0xOe2f9U5i1Yx5UHG+
|
||||
lIR1t/vlmPRkcC1lQlV+xhM/8MPJYl+0Bsjt2vjAvEbHEGifb2voJy2k1AabYwks
|
||||
sDzkfC/0EU1MeHj8tjt98xVsGezdmduZMOee/OyhQ3Z5nuqKvQoiRCUBYVxPbxLV
|
||||
bwwtECtHqs1DDMZSbc095BPMm4TuSMi1YqSiAcDQm776hff26mbeyEg0NROQ30M8
|
||||
8vu25FPz/AlY+0tb2/P7SGI=
|
||||
-----END CERTIFICATE-----
|
||||
28
test/data/ca/ca-key.pem
Normal file
28
test/data/ca/ca-key.pem
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAA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XcVkBn+AzI7K5zD3eiyZmk6zZS34Ka0DKIfW+RAgs3VqM8zCBVNCB/9Yt6a
|
||||
oaeXzD1D6UUCgYEA0PEkZeOBY0RlOlihl4NWT1LenCFTh6a7dk2d06Ni+rXwWRP/
|
||||
U1I+V/h/iE24Mq73VJKFUUgUrQEiwmwCX1P64NwUUc/tqPGydxEQEnNVCxaVvGQf
|
||||
xtiVwRqSDhydkoyPCHaFCwLxZxw3JWcUQu2tnXPezL2JJE2NEhtNYhCx1HkCgYA+
|
||||
kgV3RJNkOpkfgZQV8ZiEwVXfpD9S0zvoT+ElIzvJLXUStiwa7h6nbFw+hLh7dAg8
|
||||
l+xXKwCjaDNRzb8oLPFJULay/YVtX1dZOygx9rkaJftKV2l+n+QikISCiewpc9lP
|
||||
tdp7aOnOr2umzwROX32EoDeD710ry44zhciq5U7n/QKBgCCLEU2UMUcGSgqP4gAF
|
||||
5bg+W6vg5ivuajRPc7Kio4+DVWuppd8KZOtR8LaOUzYtCFjT90s5MEduDEbAq6bF
|
||||
CdlALFkOlF/hJU2XzmSQEy4+UysT0jwEgMGTTaFnWoIJZZsUPzLUjZUrWrsFfnpc
|
||||
WCxhsvYiBZIsGBgbKqjhfs+e
|
||||
-----END PRIVATE KEY-----
|
||||
17
test/data/ca/composer-crt.pem
Normal file
17
test/data/ca/composer-crt.pem
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIICsTCCAZkCFElB9131Tg40vCU0/10eVenAgwa/MA0GCSqGSIb3DQEBCwUAMBYx
|
||||
FDASBgNVBAMMC29zYnVpbGQub3JnMB4XDTIwMTAwNTA4Mzg1M1oXDTIwMTEwNDA4
|
||||
Mzg1M1owFDESMBAGA1UEAwwJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOC
|
||||
AQ8AMIIBCgKCAQEAxqmrytbO2mOd3x43nIyvX/G5+S5VpDITPs3KeeJEBUbB1nZa
|
||||
GI7cC36c6bqGV6bnJGv3BdCL9z8L7BPPbSzy3NCvtQ5Q0bGsJgwX0Lkm/H1DzIbP
|
||||
vmktBBrQJrn9L6h4x2e+wxLTOo7oM5NIROBdIDXzAXiJFR3J5TY0bYQH1WD4+xmX
|
||||
vHHIIJignsrNl08ODruG0UGn/I9wMKu7pS3wlWbyHvzuPsUUi1cCxZowUp52l1GU
|
||||
Y7b54R1zMX7yTkiY4rshKfDqkKLQwk0RphXF4SLVjfPM38gA2zTcXecAahn/Si2b
|
||||
7VNmUD0NTMxf5UtCv0iqdUFLekgFOb8q1J+osQIDAQABMA0GCSqGSIb3DQEBCwUA
|
||||
A4IBAQCaOtOFXGfjAQRMOrSiy62wigw+D26jml01krRDCch/8MiDtG9agX0qIQnP
|
||||
hK/lkY4AbRqwMe9MugJmCBEgHDwgOgPX7GH+J8l/DbjOp1NUzD4rxy/bfTXLP+5j
|
||||
dkUzD7GIedygTm4jGTxFE9P6iYo/Un0GffSIsjIWaXyGf2T6kn1oE8sygXwhNaqm
|
||||
F1duIXbseNo4brXBwWncw/C0gw8dXZDzlozIKhUzH/Ff6Q3h1Axu/5uNV7Svmkb1
|
||||
pHg9faWkZHhLasm40LTGG2B83z3f38R2AwcRRkH5Wque1FwfT886XnF//E9dfGi8
|
||||
cr1i2trLhweFMp1w5qbbqojMYs3h
|
||||
-----END CERTIFICATE-----
|
||||
28
test/data/ca/composer-key.pem
Normal file
28
test/data/ca/composer-key.pem
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDGqavK1s7aY53f
|
||||
HjecjK9f8bn5LlWkMhM+zcp54kQFRsHWdloYjtwLfpzpuoZXpucka/cF0Iv3Pwvs
|
||||
E89tLPLc0K+1DlDRsawmDBfQuSb8fUPMhs++aS0EGtAmuf0vqHjHZ77DEtM6jugz
|
||||
k0hE4F0gNfMBeIkVHcnlNjRthAfVYPj7GZe8ccggm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00Onp
|
||||
fshQENDLC8xVVkeDd1/9wkZyMzHRd0Q+OZZ8PgXRp57lIg5qaaChh3ft4QKBgBKL
|
||||
J8/kTuLW8qIm2OXA1hUq7ch7ksXx3zwTb/zJ43L8CmRTwLNlcg/c7PwW3pHbuC0L
|
||||
WAwrxi6YAvI2xiiZAZPhOKKiSGxZO6QpqedmflfCSwbp+fsQi7wlv/PX091r4clq
|
||||
a7aV/8fj3c131OKQJkCn0y0dOB0JQQVs5A5JZ/SRAoGBAO4JCRa7OGNYEd+C2XkK
|
||||
JbZ7HFgnvFcdPVnH4AikrtJ2tujvz9npVpLHAgfbxxxqo3GTw/5hlY4MWftXrorf
|
||||
FWwuO/dBeVWWN9P0tIp2IGuw+lXgUqgr3UPSJmxurlKNtQvggjxM55WT/mV6cYYi
|
||||
dHkErd2bkiUF0KjuNz5VZD94
|
||||
-----END PRIVATE KEY-----
|
||||
17
test/data/ca/worker-crt.pem
Normal file
17
test/data/ca/worker-crt.pem
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIICsTCCAZkCFElB9131Tg40vCU0/10eVenAgwbAMA0GCSqGSIb3DQEBCwUAMBYx
|
||||
FDASBgNVBAMMC29zYnVpbGQub3JnMB4XDTIwMTAwNTA4Mzg1N1oXDTIwMTEwNDA4
|
||||
Mzg1N1owFDESMBAGA1UEAwwJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOC
|
||||
AQ8AMIIBCgKCAQEAwJ0dIkgyH0Vq82Xnuez6Y30AAUg8BmVdWhEXW07XBUYdjnqG
|
||||
XoDDk2hyqSKlCo4wtOgajS9j08eZG09b/JuQOIzoOP39HkmMFYW2ocJFcNM07h5Z
|
||||
X248ANyG4XorIQPk6HiJJd+hCKm6Pta5HgRC6MBy9RRl+DOxJRfyMxSmI3LaH52d
|
||||
GvsjhSGWAp57ksappadLAcYhnMQDwqgUcG9mtRXcewo5r6ypDDDnv0DL8qs9H9uN
|
||||
Bw46LeE8zrfS6fVOOMly0GWPjcTCk2AWKRnSFJo5eoVue1NYm1lwAtVXMeZ21IQp
|
||||
tEVi/vl1CSo3j/wyp95cApCoTQkqt0zjng/uEQIDAQABMA0GCSqGSIb3DQEBCwUA
|
||||
A4IBAQBV1IhkPMGhYVvomI/rvb+wXjUNnEZyg6VTfOxjVWdZfCisfTqk3uw4ar0t
|
||||
43b4QExm2dl1IFFtrfnRlx3uN1MQ4biH2A1p8go6mWILRjo3zLA78RzA//BG05UZ
|
||||
DN98VP6VdCjFDMpwvhfUXFZzWfenUIjACnqY/VaURI+iT92M9jG1qFS9s50dmDn3
|
||||
lK3prS+HSKNdHc3KDfYoFzPoTfpuwJv10tkQd4jSt2FJevlQpcuXyytW5UGJrTgN
|
||||
UVHVevYJhOjMuLMZ77QvDJvF4XEkap1FPP/tGwbhMEIPnD3qWCjD3+HA/PXcHMRq
|
||||
hk4DBD+WNpxL6zMgMqUwRdfsBzec
|
||||
-----END CERTIFICATE-----
|
||||
28
test/data/ca/worker-key.pem
Normal file
28
test/data/ca/worker-key.pem
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDAnR0iSDIfRWrz
|
||||
Zee57PpjfQABSDwGZV1aERdbTtcFRh2OeoZegMOTaHKpIqUKjjC06BqNL2PTx5kb
|
||||
T1v8m5A4jOg4/f0eSYwVhbahwkVw0zTuHllfbjwA3IbheishA+ToeIkl36EIqbo+
|
||||
1rkeBELowHL1FGX4M7ElF/IzFKYjctofnZ0a+yOFIZYCnnuSxqmlp0sBxiGcxAPC
|
||||
qBRwb2a1Fdx7CjmvrKkMMOe/QMvyqz0f240HDjot4TzOt9Lp9U44yXLQZY+NxMKT
|
||||
YBYpGdIUmjl6hW57U1ibWXAC1Vcx5nbUhCm0RWL++XUJKjeP/DKn3lwCkKhNCSq3
|
||||
TOOeD+4RAgMBAAECggE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yORmkasMCeBkN
|
||||
ykEMgqpj67wmSt0IPt3OnOEu5XvvqUUjmJB5/9QXAoGBALLyTFgqiJdQwhlDCmMD
|
||||
eUpd4OW6NAmsOke+udhjcXMF+WNieDI6z4TWhwpoFjtdRsrMHmB5VXZFwkvh7L53
|
||||
hEis0a9DX+ltNdHysMyrDBww7DyAC3gesf+N9iblPERn1G7lukNU2JcvpeCrwgtf
|
||||
gM0xvSJPc+eNOmM3aKQsA/l9
|
||||
-----END PRIVATE KEY-----
|
||||
11319
test/data/cases/fedora_31-aarch64-ami-boot.json
Normal file
11319
test/data/cases/fedora_31-aarch64-ami-boot.json
Normal file
File diff suppressed because it is too large
Load diff
11511
test/data/cases/fedora_31-aarch64-openstack-boot.json
Normal file
11511
test/data/cases/fedora_31-aarch64-openstack-boot.json
Normal file
File diff suppressed because it is too large
Load diff
11218
test/data/cases/fedora_31-aarch64-qcow2-boot.json
Normal file
11218
test/data/cases/fedora_31-aarch64-qcow2-boot.json
Normal file
File diff suppressed because it is too large
Load diff
11579
test/data/cases/fedora_31-x86_64-ami-boot.json
Normal file
11579
test/data/cases/fedora_31-x86_64-ami-boot.json
Normal file
File diff suppressed because it is too large
Load diff
11771
test/data/cases/fedora_31-x86_64-openstack-boot.json
Normal file
11771
test/data/cases/fedora_31-x86_64-openstack-boot.json
Normal file
File diff suppressed because it is too large
Load diff
11586
test/data/cases/fedora_31-x86_64-qcow2-boot.json
Normal file
11586
test/data/cases/fedora_31-x86_64-qcow2-boot.json
Normal file
File diff suppressed because it is too large
Load diff
11694
test/data/cases/fedora_31-x86_64-qcow2-customize.json
Normal file
11694
test/data/cases/fedora_31-x86_64-qcow2-customize.json
Normal file
File diff suppressed because it is too large
Load diff
11136
test/data/cases/fedora_31-x86_64-vhd-boot.json
Normal file
11136
test/data/cases/fedora_31-x86_64-vhd-boot.json
Normal file
File diff suppressed because it is too large
Load diff
11286
test/data/cases/fedora_31-x86_64-vmdk-boot.json
Normal file
11286
test/data/cases/fedora_31-x86_64-vmdk-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9479
test/data/cases/fedora_32-aarch64-ami-boot.json
Normal file
9479
test/data/cases/fedora_32-aarch64-ami-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9851
test/data/cases/fedora_32-aarch64-openstack-boot.json
Normal file
9851
test/data/cases/fedora_32-aarch64-openstack-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9326
test/data/cases/fedora_32-aarch64-qcow2-boot.json
Normal file
9326
test/data/cases/fedora_32-aarch64-qcow2-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9711
test/data/cases/fedora_32-x86_64-ami-boot.json
Normal file
9711
test/data/cases/fedora_32-x86_64-ami-boot.json
Normal file
File diff suppressed because it is too large
Load diff
10744
test/data/cases/fedora_32-x86_64-fedora_iot_commit-boot.json
Normal file
10744
test/data/cases/fedora_32-x86_64-fedora_iot_commit-boot.json
Normal file
File diff suppressed because it is too large
Load diff
10083
test/data/cases/fedora_32-x86_64-openstack-boot.json
Normal file
10083
test/data/cases/fedora_32-x86_64-openstack-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9666
test/data/cases/fedora_32-x86_64-qcow2-boot.json
Normal file
9666
test/data/cases/fedora_32-x86_64-qcow2-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9774
test/data/cases/fedora_32-x86_64-qcow2-customize.json
Normal file
9774
test/data/cases/fedora_32-x86_64-qcow2-customize.json
Normal file
File diff suppressed because it is too large
Load diff
9286
test/data/cases/fedora_32-x86_64-vhd-boot.json
Normal file
9286
test/data/cases/fedora_32-x86_64-vhd-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9400
test/data/cases/fedora_32-x86_64-vmdk-boot.json
Normal file
9400
test/data/cases/fedora_32-x86_64-vmdk-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9894
test/data/cases/fedora_33-x86_64-ami-boot.json
Normal file
9894
test/data/cases/fedora_33-x86_64-ami-boot.json
Normal file
File diff suppressed because it is too large
Load diff
10229
test/data/cases/fedora_33-x86_64-openstack-boot.json
Normal file
10229
test/data/cases/fedora_33-x86_64-openstack-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9782
test/data/cases/fedora_33-x86_64-qcow2-boot.json
Normal file
9782
test/data/cases/fedora_33-x86_64-qcow2-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9884
test/data/cases/fedora_33-x86_64-qcow2-customize.json
Normal file
9884
test/data/cases/fedora_33-x86_64-qcow2-customize.json
Normal file
File diff suppressed because it is too large
Load diff
9469
test/data/cases/fedora_33-x86_64-vhd-boot.json
Normal file
9469
test/data/cases/fedora_33-x86_64-vhd-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9782
test/data/cases/fedora_33-x86_64-vmdk-boot.json
Normal file
9782
test/data/cases/fedora_33-x86_64-vmdk-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9355
test/data/cases/rhel_8-aarch64-ami-boot.json
Normal file
9355
test/data/cases/rhel_8-aarch64-ami-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9967
test/data/cases/rhel_8-aarch64-openstack-boot.json
Normal file
9967
test/data/cases/rhel_8-aarch64-openstack-boot.json
Normal file
File diff suppressed because it is too large
Load diff
10199
test/data/cases/rhel_8-aarch64-qcow2-boot.json
Normal file
10199
test/data/cases/rhel_8-aarch64-qcow2-boot.json
Normal file
File diff suppressed because it is too large
Load diff
8755
test/data/cases/rhel_8-aarch64-rhel_edge_commit-boot.json
Normal file
8755
test/data/cases/rhel_8-aarch64-rhel_edge_commit-boot.json
Normal file
File diff suppressed because it is too large
Load diff
5653
test/data/cases/rhel_8-aarch64-tar-boot.json
Normal file
5653
test/data/cases/rhel_8-aarch64-tar-boot.json
Normal file
File diff suppressed because it is too large
Load diff
10990
test/data/cases/rhel_8-ppc64le-qcow2-boot.json
Normal file
10990
test/data/cases/rhel_8-ppc64le-qcow2-boot.json
Normal file
File diff suppressed because it is too large
Load diff
5756
test/data/cases/rhel_8-ppc64le-tar-boot.json
Normal file
5756
test/data/cases/rhel_8-ppc64le-tar-boot.json
Normal file
File diff suppressed because it is too large
Load diff
10910
test/data/cases/rhel_8-s390x-qcow2-boot.json
Normal file
10910
test/data/cases/rhel_8-s390x-qcow2-boot.json
Normal file
File diff suppressed because it is too large
Load diff
6304
test/data/cases/rhel_8-s390x-tar-boot.json
Normal file
6304
test/data/cases/rhel_8-s390x-tar-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9333
test/data/cases/rhel_8-x86_64-ami-boot.json
Normal file
9333
test/data/cases/rhel_8-x86_64-ami-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9972
test/data/cases/rhel_8-x86_64-openstack-boot.json
Normal file
9972
test/data/cases/rhel_8-x86_64-openstack-boot.json
Normal file
File diff suppressed because it is too large
Load diff
10172
test/data/cases/rhel_8-x86_64-qcow2-boot.json
Normal file
10172
test/data/cases/rhel_8-x86_64-qcow2-boot.json
Normal file
File diff suppressed because it is too large
Load diff
10264
test/data/cases/rhel_8-x86_64-qcow2-customize.json
Normal file
10264
test/data/cases/rhel_8-x86_64-qcow2-customize.json
Normal file
File diff suppressed because it is too large
Load diff
9066
test/data/cases/rhel_8-x86_64-rhel_edge_commit-boot.json
Normal file
9066
test/data/cases/rhel_8-x86_64-rhel_edge_commit-boot.json
Normal file
File diff suppressed because it is too large
Load diff
5728
test/data/cases/rhel_8-x86_64-tar-boot.json
Normal file
5728
test/data/cases/rhel_8-x86_64-tar-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9882
test/data/cases/rhel_8-x86_64-vhd-boot.json
Normal file
9882
test/data/cases/rhel_8-x86_64-vhd-boot.json
Normal file
File diff suppressed because it is too large
Load diff
9587
test/data/cases/rhel_8-x86_64-vmdk-boot.json
Normal file
9587
test/data/cases/rhel_8-x86_64-vmdk-boot.json
Normal file
File diff suppressed because it is too large
Load diff
2
test/data/cloud-init/meta-data
Normal file
2
test/data/cloud-init/meta-data
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
instance-id: nocloud
|
||||
local-hostname: vm
|
||||
14
test/data/cloud-init/network-config
Normal file
14
test/data/cloud-init/network-config
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
network:
|
||||
version: 2
|
||||
renderer: NetworkManager
|
||||
ethernets:
|
||||
eth0:
|
||||
dhcpv4: false
|
||||
dhcpv6: false
|
||||
addresses:
|
||||
- 192.168.122.50/24
|
||||
gateway4: 192.168.122.1
|
||||
nameservers:
|
||||
addresses:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
11
test/data/cloud-init/user-data
Normal file
11
test/data/cloud-init/user-data
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#cloud-config
|
||||
user: redhat
|
||||
ssh_authorized_keys:
|
||||
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC61wMCjOSHwbVb4VfVyl5sn497qW4PsdQ7Ty7aD6wDNZ/QjjULkDV/yW5WjDlDQ7UqFH0Sr7vywjqDizUAqK7zM5FsUKsUXWHWwg/ehKg8j9xKcMv11AkFoUoujtfAujnKODkk58XSA9whPr7qcw3vPrmog680pnMSzf9LC7J6kXfs6lkoKfBh9VnlxusCrw2yg0qI1fHAZBLPx7mW6+me71QZsS6sVz8v8KXyrXsKTdnF50FjzHcK9HXDBtSJS5wA3fkcRYymJe0o6WMWNdgSRVpoSiWaHHmFgdMUJaYoCfhXzyl7LtNb3Q+Sveg+tJK7JaRXBLMUllOlJ6ll5Hod
|
||||
|
||||
write_files:
|
||||
- path: "/etc/smoke-test.txt"
|
||||
content: "c21va2UtdGVzdAo="
|
||||
encoding: "b64"
|
||||
owner: "root:root"
|
||||
permissions: "0644"
|
||||
11
test/data/composer/osbuild-composer.toml
Normal file
11
test/data/composer/osbuild-composer.toml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[koji]
|
||||
allowed_domains = [ "localhost", "worker.osbuild.org" ]
|
||||
ca = "/etc/osbuild-composer/ca-crt.pem"
|
||||
|
||||
[koji.servers.localhost.kerberos]
|
||||
principal = "osbuild-krb@LOCAL"
|
||||
keytab = "/etc/osbuild-composer/client.keytab"
|
||||
|
||||
[worker]
|
||||
allowed_domains = [ "localhost", "worker.osbuild.org" ]
|
||||
ca = "/etc/osbuild-composer/ca-crt.pem"
|
||||
3
test/data/composer/osbuild-worker.toml
Normal file
3
test/data/composer/osbuild-worker.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[koji.localhost.kerberos]
|
||||
principal = "osbuild-krb@LOCAL"
|
||||
keytab = "/etc/osbuild-worker/client.keytab"
|
||||
8
test/data/kerberos/krb5-local.conf
Normal file
8
test/data/kerberos/krb5-local.conf
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[realms]
|
||||
LOCAL = {
|
||||
kdc = localhost
|
||||
admin_server = localhost
|
||||
}
|
||||
|
||||
[domain_realm]
|
||||
localhost = LOCAL
|
||||
27
test/data/keyring/id_rsa
Normal file
27
test/data/keyring/id_rsa
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABFwAAAAdzc2gtcn
|
||||
NhAAAAAwEAAQAAAQEAutcDAozkh8G1W+FX1cpebJ+Pe6luD7HUO08u2g+sAzWf0I41C5A1
|
||||
f8luVow5Q0O1KhR9Eq+78sI6g4s1AKiu8zORbFCrFF1h1sIP3oSoPI/cSnDL9dQJBaFKLo
|
||||
7XwLo5yjg5JOfF0gPcIT6+6nMN7z65qIOvNKZzEs3/SwuyepF37OpZKCnwYfVZ5cbrAq8N
|
||||
soNKiNXxwGQSz8e5luvpnu9UGbEurFc/L/Cl8q17Ck3ZxedBY8x3CvR1wwbUiUucAN35HE
|
||||
WMpiXtKOljFjXYEkVaaEolmhx5hYHTFCWmKAn4V88pey7TW90Pkr3oPrSSuyWkVwSzFJZT
|
||||
pSepZeR6HQAAA8gkYhqfJGIanwAAAAdzc2gtcnNhAAABAQC61wMCjOSHwbVb4VfVyl5sn4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X9Wo6/
|
||||
QS+SYr6b1MglUbvnFQpoGEZa8FaC7aKj+Y+k/+J32NwqEObQAAAIEA1LCzckxWUo9LvA11
|
||||
7eNeK5VZLAjHabP6grsSgJugX6lQZ6hBnvB+J1w0IbXVxH5EMnl8zeVByWvK0B/XNTBSzw
|
||||
S7NYXBuUG2if21fsJJB/9VW+UWXK8m8vpErnW5P+6RdichxRs9HuU41e3Y17DvxgiteQ5W
|
||||
nQbQ6LErYhygDHEAAAAOcm9vdEBsb2NhbGhvc3QBAgMEBQ==
|
||||
-----END OPENSSH PRIVATE KEY-----
|
||||
1
test/data/keyring/id_rsa.pub
Normal file
1
test/data/keyring/id_rsa.pub
Normal file
|
|
@ -0,0 +1 @@
|
|||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC61wMCjOSHwbVb4VfVyl5sn497qW4PsdQ7Ty7aD6wDNZ/QjjULkDV/yW5WjDlDQ7UqFH0Sr7vywjqDizUAqK7zM5FsUKsUXWHWwg/ehKg8j9xKcMv11AkFoUoujtfAujnKODkk58XSA9whPr7qcw3vPrmog680pnMSzf9LC7J6kXfs6lkoKfBh9VnlxusCrw2yg0qI1fHAZBLPx7mW6+me71QZsS6sVz8v8KXyrXsKTdnF50FjzHcK9HXDBtSJS5wA3fkcRYymJe0o6WMWNdgSRVpoSiWaHHmFgdMUJaYoCfhXzyl7LtNb3Q+Sveg+tJK7JaRXBLMUllOlJ6ll5Hod root@localhost
|
||||
41
test/data/vendor/87-podman-bridge.conflist
vendored
Normal file
41
test/data/vendor/87-podman-bridge.conflist
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"cniVersion": "0.4.0",
|
||||
"name": "podman",
|
||||
"plugins": [
|
||||
{
|
||||
"type": "bridge",
|
||||
"bridge": "cni-podman0",
|
||||
"isGateway": true,
|
||||
"ipMasq": true,
|
||||
"hairpinMode": true,
|
||||
"ipam": {
|
||||
"type": "host-local",
|
||||
"routes": [{ "dst": "0.0.0.0/0" }],
|
||||
"ranges": [
|
||||
[
|
||||
{
|
||||
"subnet": "10.88.0.0/16",
|
||||
"gateway": "10.88.0.1"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "portmap",
|
||||
"capabilities": {
|
||||
"portMappings": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "firewall"
|
||||
},
|
||||
{
|
||||
"type": "tuning"
|
||||
},
|
||||
{
|
||||
"domainName": "dns.podman",
|
||||
"type": "dnsname"
|
||||
}
|
||||
]
|
||||
}
|
||||
9
test/data/vendor/README.md
vendored
Normal file
9
test/data/vendor/README.md
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
This directory includes 3rd party modules, needed in CI.
|
||||
|
||||
- [`dnsname`](https://github.com/containers/dnsname) plugin for podman,
|
||||
needed to translate host names of containers into IPs. It is shipped
|
||||
in Fedora, but missing in RHEL 8, see
|
||||
[rhgbz#1877865](https://bugzilla.redhat.com/show_bug.cgi?id=1877865).
|
||||
The `87-podman-bridge.conflist` file contains the corresponding config,
|
||||
where the `{"domainName": "dns.podman", "type": "dnsname"}` bit is the
|
||||
newly added part.
|
||||
BIN
test/data/vendor/dnsname
vendored
Executable file
BIN
test/data/vendor/dnsname
vendored
Executable file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue