Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/z_ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
shell: bash
run: |
[ "$X_GITHUB_SKIP_TEST" == "1" ] && exit 0
pip install ansible-core~=2.16.0
ansible-galaxy collection install community.crypto
pip install -U ansible-core # ~=2.16.0
ansible-galaxy collection install community.general community.crypto --force
ansible-galaxy collection list
# ${{ env.WORKDIR }} cannot be used in "uses:"
- uses: ./work-dir/ansible_collections/scale_computing/hypercore/.github/actions/make-integ-config
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/targets/certificate/tasks/01_normal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
community.crypto.get_certificate:
host: "{{ sc_host | replace('https://','') | replace('http://','') }}"
port: 443
asn1_base64: True
delegate_to: localhost
run_once: true
register: default_cert_info
Expand Down Expand Up @@ -59,6 +60,7 @@
community.crypto.get_certificate:
host: "{{ sc_host | replace('https://','') | replace('http://','') }}"
port: 443
asn1_base64: True
delegate_to: localhost
run_once: true
register: uploaded_cert_info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
community.crypto.get_certificate:
host: "{{ sc_host | replace('https://','') | replace('http://','') }}"
port: 443
asn1_base64: True
delegate_to: localhost
run_once: true
register: uploaded_cert_info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# We need 2 NTP servers.
# Set them up per ci-infra/ntp-chrony/Readme.md.
time_server_a: 10.5.11.5
time_server_b: 10.5.11.7
time_server_b: 10.5.11.75
actual_uuid: timesource_guid

block:
Expand Down
11 changes: 7 additions & 4 deletions tests/integration/targets/virtual_disk/tasks/01_supported.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@
ansible.builtin.shell:
cmd: |
qemu-img create -f raw xlab-ci-test-VD.raw 10M
# HC3 has some problems with very small/empty disk images.
# dd bs=1M count=10 if=/dev/zero of=xlab-ci-test-VD.raw
# HC3 v9.4.21.216168 has some problems with very small/empty qcow2 disk images.
# Run mkfs to populate image.
# Update: maybe `qemu-img convert -c` compress option is a problem
mkfs.ext4 xlab-ci-test-VD.raw
qemu-img convert -c -O qcow2 xlab-ci-test-VD.raw xlab-ci-test-VD.qcow2
qemu-img convert -c -O vmdk xlab-ci-test-VD.raw xlab-ci-test-VD.vmdk
register: generated_img
qemu-img convert -O qcow2 xlab-ci-test-VD.raw xlab-ci-test-VD.qcow2
# Empty vmdk image seems to be OK
# But non-empty image with ext4 filesystem is a problem.
qemu-img create -f vmdk xlab-ci-test-VD.vmdk 10M

# ----------------------------------Job------------------------------------------------------------------------
- name: Upload virtual disk file .qcow2
Expand Down
Loading