default_resources:
  server:
    mem_limit: "2200m"
    memswap_limit: "3000m"
  replica:
    mem_limit: "2200m"
    memswap_limit: "3000m"
  client:
    mem_limit: "512m"
    memswap_limit: "1000m"

vms:
- vm_jobs:
  - container_job: InstallMaster
    containers:
      resources:
        server:
          mem_limit: "3200m"
          memswap_limit: "4800m"
    tests:
    - test_integration/test_installation.py::TestInstallMaster

  - container_job: kerberos_flags
    containers:
      clients: 1
    tests:
    - test_integration/test_kerberos_flags.py

  - container_job: forced_client_reenrollment
    containers:
      replicas: 1
      clients: 1
      resources:
        replica:
          mem_limit: "2200m"
          memswap_limit: "3300m"
        client:
          mem_limit: "768m"
          memswap_limit: "1024m"
    tests:
    - test_integration/test_forced_client_reenrollment.py

  - container_job: external_ca_ExternalCAInstall
    tests:
    - test_integration/test_external_ca.py::TestExternalCAInstall

- vm_jobs:
  - container_job: InstallDNSSECFirst
    containers:
      replicas: 1
      resources:
        replica:
          mem_limit: "2400m"
          memswap_limit: "3500m"
    tests:
    - test_integration/test_dnssec.py::TestInstallDNSSECFirst

  - container_job: simple_replication
    containers:
      replicas: 1
      resources:
        replica:
          mem_limit: "2400m"
          memswap_limit: "3500m"
    tests:
    - test_integration/test_simple_replication.py

  - container_job: service_permissions
    tests:
    - test_integration/test_service_permissions.py

  - container_job: netgroup
    tests:
    - test_integration/test_netgroup.py

  - container_job: external_ca_ExternalCAProfileScenarios
    tests:
    - test_integration/test_external_ca.py::TestExternalCAProfileScenarios

- vm_jobs:
  - container_job: sudo
    containers:
      clients: 1
      resources:
        server:
          mem_limit: "2600m"
          memswap_limit: "3900m"
    tests:
    - test_integration/test_sudo.py

  - container_job: external_ca_ExternalCA
    containers:
      replicas: 1
      clients: 1
      resources:
        replica:
          mem_limit: "2200m"
          memswap_limit: "3300m"
        client:
          mem_limit: "768m"
          memswap_limit: "1024m"
    tests:
    - test_integration/test_external_ca.py::TestExternalCA

  # requires nothing, installs nothing
  - container_job: topologies_and_testconfig
    tests:
    - test_integration/test_topologies.py
    - test_integration/test_testconfig.py

  - container_job: external_ca_ExternalCAConstraints
    containers:
      clients: 1
      resources:
        client:
          mem_limit: "768m"
          memswap_limit: "1024m"
    tests:
    - test_integration/test_external_ca.py::TestExternalCAConstraints

- vm_jobs:
  - container_job: commands
    containers:
      replicas: 1
      clients: 1
      resources:
        server:
          mem_limit: "3500m"
          memswap_limit: "4000m"
        client:
          mem_limit: "768m"
          memswap_limit: "1024m"
    tests:
    - test_integration/test_commands.py

  - container_job: membermanager
    tests:
    - test_integration/test_membermanager.py

- vm_jobs:
  - container_job: ServerReplicaCALessToCAFull
    tests:
    - test_integration/test_caless.py::TestServerReplicaCALessToCAFull
    containers:
      replicas: 1

  - container_job: SubCAkeyReplication
    containers:
      replicas: 1
    tests:
    - test_integration/test_replica_promotion.py::TestSubCAkeyReplication

  - container_job: adtrust_install
    tests:
    - test_integration/test_adtrust_install.py
    containers:
      replicas: 1

- vm_jobs:
  - container_job: advise
    containers:
      clients: 1
      resources:
        client:
          mem_limit: "768m"
          memswap_limit: "1024m"
    tests:
    - test_integration/test_advise.py

  - container_job: cert
    tests:
    - test_integration/test_cert.py
    containers:
      replicas: 1
      clients: 1
      resources:
        replica:
          mem_limit: "2300m"
          memswap_limit: "3300m"

  - container_job: external_ca_SelfExternalSelf
    tests:
    - test_integration/test_external_ca.py::TestSelfExternalSelf

- vm_jobs:
  - container_job: upgrade
    containers:
      resources:
        server:
          mem_limit: "2200m"
          memswap_limit: "3300m"
    tests:
    - test_integration/test_upgrade.py


  # requires external DNS configuration, this is not set up yet
  # - container_job: authselect
  #   containers:
  #     clients: 1
  #   tests:
  #   - test_integration/test_authselect.py
  #
