Skip to content

Latest commit

 

History

History
45 lines (40 loc) · 1.36 KB

File metadata and controls

45 lines (40 loc) · 1.36 KB

Development

Setup CI

We use Github actions CI

Setup N self-hosted runners

Add needed variables/secrets to github project:

  • variable CI_CONFIG_HC_IP205, content
    TF_LOG=info
    TF_CLI_ARGS_apply="-parallelism=1" # Platform constraints (does not support parallelism)
    HC_TIMEOUT=600.0
    HC_HOST=https://10.5.11.205
    HC_USERNAME=admin
    HC_PASSWORD=todo
    SMB_SERVER=10.5.11.36
    SMB_USERNAME=";administrator"
    SMB_PASSWORD="todo"
    SMB_PATH=/cidata
    SMB_FILENAME=bla.xml
    

Prior to running acceptance tests we need to setup:

  • Virtual machine
    • name integration-test-vm
    • has two disks
      • type VIRTIO (1.2GB, 2.4GB)
    • has two nics
      • first of type INTEL_E1000, vlan 10, MAC 7C:4C:58:12:34:56
      • second of type VIRTIO, vlan ALL
    • boot order is configured as [disk, nic]
  • Virtual disk (as standalone not attached to the testing VM)
  • Add names and UUIDs to the env.txt file in /tests/acceptance/setup directory
    • There are multiple env-*.txt files, for different test HyperCore clusters.
  • Virtual machine needs to be powered off