Files
formae-plugin-proxmox/testdata/resource-update.pkl
ManInDark ca99733c9c
Some checks failed
CI / build (push) Failing after 3m23s
CI / lint (push) Failing after 2m50s
CI / pkl-validate (push) Successful in 11s
CI / integration-tests (push) Has been skipped
CI / conformance-tests (latest) (push) Has been skipped
feat: add memory
2026-02-03 21:52:55 +01:00

38 lines
810 B
Plaintext

/*
* Conformance Test: Create Resource
*
* This file defines the initial resource state for conformance testing.
* The conformance test harness will apply this file first.
*/
amends "@formae/forma.pkl"
import "@formae/formae.pkl"
import "@proxmox/proxmox.pkl"
local testRunID = read("env:FORMAE_TEST_RUN_ID")
local stackName = "conformance-test-\(testRunID)"
forma {
new formae.Stack {
label = stackName
}
new formae.Target {
label = "target"
config = new proxmox.Config {
url: "https://proxmox.mid:8006"
node: proxmox
}
}
new proxmox.LXC {
label = "test-lxc"
vmid = "210"
hostname = "test-lxc"
description = "some other description"
ostemplate = "local:vztmpl/alpine-3.22-default_20250617_amd64.tar.xz"
cores = 2
memory = 1024
}
}