mirror of https://github.com/k3s-io/k3s
Move to ubuntu 23.10 for E2E tests (#9755)
Signed-off-by: Derek Nola <derek.nola@suse.com>pull/9849/head
parent
0ac5489d49
commit
e5b0dbbd38
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "server-1", "server-2", "agent-0" ])
|
["server-0", "server-1", "server-2", "agent-0" ])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -12,8 +12,8 @@ import (
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS: generic/ubuntu2204, opensuse/Leap-15.3.x86_64
|
// Valid nodeOS: generic/ubuntu2310, opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
||||||
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
||||||
var hardened = flag.Bool("hardened", false, "true or false")
|
var hardened = flag.Bool("hardened", false, "true or false")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "agent-0"])
|
["server-0", "agent-0"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -13,9 +13,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS:
|
// Valid nodeOS:
|
||||||
// generic/ubuntu2204, generic/centos7, generic/rocky8,
|
// generic/ubuntu2310, generic/centos7, generic/rocky8,
|
||||||
// opensuse/Leap-15.3.x86_64
|
// opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 1, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 1, "number of server nodes")
|
||||||
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
||||||
var ci = flag.Bool("ci", false, "running on CI")
|
var ci = flag.Bool("ci", false, "running on CI")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "agent-0" ])
|
["server-0", "agent-0" ])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -17,8 +17,8 @@ import (
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS: generic/ubuntu2204, opensuse/Leap-15.3.x86_64
|
// Valid nodeOS: generic/ubuntu2310, opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 1, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 1, "number of server nodes")
|
||||||
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
||||||
var hardened = flag.Bool("hardened", false, "true or false")
|
var hardened = flag.Bool("hardened", false, "true or false")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "agent-0"])
|
["server-0", "agent-0"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -13,9 +13,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS:
|
// Valid nodeOS:
|
||||||
// generic/ubuntu2204, generic/centos7, generic/rocky8,
|
// generic/ubuntu2310, generic/centos7, generic/rocky8,
|
||||||
// opensuse/Leap-15.3.x86_64
|
// opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 1, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 1, "number of server nodes")
|
||||||
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
||||||
var ci = flag.Bool("ci", false, "running on CI")
|
var ci = flag.Bool("ci", false, "running on CI")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "server-1", "server-2", "agent-0"])
|
["server-0", "server-1", "server-2", "agent-0"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -12,8 +12,8 @@ import (
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS: generic/ubuntu2204, opensuse/Leap-15.3.x86_64
|
// Valid nodeOS: generic/ubuntu2310, opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
||||||
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
||||||
var ci = flag.Bool("ci", false, "running on CI")
|
var ci = flag.Bool("ci", false, "running on CI")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0"])
|
["server-0"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204'])
|
['generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -13,9 +13,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS:
|
// Valid nodeOS:
|
||||||
// generic/ubuntu2204, generic/centos7, generic/rocky8,
|
// generic/ubuntu2310, generic/centos7, generic/rocky8,
|
||||||
// opensuse/Leap-15.3.x86_64
|
// opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var ci = flag.Bool("ci", false, "running on CI")
|
var ci = flag.Bool("ci", false, "running on CI")
|
||||||
var local = flag.Bool("local", false, "deploy a locally built K3s binary")
|
var local = flag.Bool("local", false, "deploy a locally built K3s binary")
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
nodeOS=${1:-"generic/ubuntu2204"}
|
nodeOS=${1:-"generic/ubuntu2310"}
|
||||||
servercount=${2:-3}
|
servercount=${2:-3}
|
||||||
agentcount=${3:-1}
|
agentcount=${3:-1}
|
||||||
db=${4:-"etcd"}
|
db=${4:-"etcd"}
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "server-1", "server-2"])
|
["server-0", "server-1", "server-2"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -15,8 +15,8 @@ import (
|
||||||
// This test is desigened for the new secrets-encrypt rotate-keys command,
|
// This test is desigened for the new secrets-encrypt rotate-keys command,
|
||||||
// Added in v1.28.0+k3s1
|
// Added in v1.28.0+k3s1
|
||||||
|
|
||||||
// Valid nodeOS: generic/ubuntu2204, opensuse/Leap-15.3.x86_64
|
// Valid nodeOS: generic/ubuntu2310, opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
||||||
var hardened = flag.Bool("hardened", false, "true or false")
|
var hardened = flag.Bool("hardened", false, "true or false")
|
||||||
var ci = flag.Bool("ci", false, "running on CI")
|
var ci = flag.Bool("ci", false, "running on CI")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "server-1", "server-2"])
|
["server-0", "server-1", "server-2"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -12,8 +12,8 @@ import (
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS: generic/ubuntu2204, opensuse/Leap-15.3.x86_64
|
// Valid nodeOS: generic/ubuntu2310, opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
||||||
var hardened = flag.Bool("hardened", false, "true or false")
|
var hardened = flag.Bool("hardened", false, "true or false")
|
||||||
var ci = flag.Bool("ci", false, "running on CI")
|
var ci = flag.Bool("ci", false, "running on CI")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "server-1", "server-2", "agent-0", "agent-1"])
|
["server-0", "server-1", "server-2", "agent-0", "agent-1"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -14,10 +14,10 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS:
|
// Valid nodeOS:
|
||||||
// generic/ubuntu2204, generic/centos7, generic/rocky8,
|
// generic/ubuntu2310, generic/centos7, generic/rocky8,
|
||||||
// opensuse/Leap-15.3.x86_64
|
// opensuse/Leap-15.3.x86_64
|
||||||
|
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
||||||
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
||||||
var hardened = flag.Bool("hardened", false, "true or false")
|
var hardened = flag.Bool("hardened", false, "true or false")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-etcd-0", "server-etcd-1", "server-etcd-2", "server-cp-0", "server-cp-1", "agent-0"])
|
["server-etcd-0", "server-etcd-1", "server-etcd-2", "server-cp-0", "server-cp-1", "agent-0"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
NODE_CPUS = (ENV['E2E_NODE_CPUS'] || 2).to_i
|
NODE_CPUS = (ENV['E2E_NODE_CPUS'] || 2).to_i
|
||||||
|
|
|
@ -13,8 +13,8 @@ import (
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS: generic/ubuntu2204, opensuse/Leap-15.3.x86_64
|
// Valid nodeOS: generic/ubuntu2310, opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var etcdCount = flag.Int("etcdCount", 3, "number of server nodes only deploying etcd")
|
var etcdCount = flag.Int("etcdCount", 3, "number of server nodes only deploying etcd")
|
||||||
var controlPlaneCount = flag.Int("controlPlaneCount", 1, "number of server nodes acting as control plane")
|
var controlPlaneCount = flag.Int("controlPlaneCount", 1, "number of server nodes acting as control plane")
|
||||||
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "agent-0"])
|
["server-0", "agent-0"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -12,8 +12,8 @@ import (
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS: generic/ubuntu2204, opensuse/Leap-15.3.x86_64
|
// Valid nodeOS: generic/ubuntu2310, opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var ci = flag.Bool("ci", false, "running on CI")
|
var ci = flag.Bool("ci", false, "running on CI")
|
||||||
var local = flag.Bool("local", false, "deploy a locally built K3s binary")
|
var local = flag.Bool("local", false, "deploy a locally built K3s binary")
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "agent-0" ])
|
["server-0", "agent-0" ])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -11,8 +11,8 @@ import (
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS: generic/ubuntu2204, opensuse/Leap-15.3.x86_64
|
// Valid nodeOS: generic/ubuntu2310, opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 1, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 1, "number of server nodes")
|
||||||
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
|
||||||
var ci = flag.Bool("ci", false, "running on CI")
|
var ci = flag.Bool("ci", false, "running on CI")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "server-1", "server-2", "agent-0", "agent-1"])
|
["server-0", "server-1", "server-2", "agent-0", "agent-1"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -14,9 +14,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS:
|
// Valid nodeOS:
|
||||||
// generic/ubuntu2204, generic/centos7, generic/rocky8, opensuse/Leap-15.5.x86_64
|
// generic/ubuntu2310, generic/centos7, generic/rocky8, opensuse/Leap-15.5.x86_64
|
||||||
|
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
||||||
var agentCount = flag.Int("agentCount", 2, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 2, "number of agent nodes")
|
||||||
var ci = flag.Bool("ci", false, "running on CI")
|
var ci = flag.Bool("ci", false, "running on CI")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "server-1", "server-2", "agent-0", "agent-1"])
|
["server-0", "server-1", "server-2", "agent-0", "agent-1"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
RELEASE_CHANNEL = (ENV['E2E_RELEASE_CHANNEL'] || "latest")
|
RELEASE_CHANNEL = (ENV['E2E_RELEASE_CHANNEL'] || "latest")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
EXTERNAL_DB = (ENV['E2E_EXTERNAL_DB'] || "etcd")
|
EXTERNAL_DB = (ENV['E2E_EXTERNAL_DB'] || "etcd")
|
||||||
|
|
|
@ -13,9 +13,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS:
|
// Valid nodeOS:
|
||||||
// generic/ubuntu2204, generic/centos7, generic/rocky8
|
// generic/ubuntu2310, generic/centos7, generic/rocky8
|
||||||
// opensuse/Leap-15.3.x86_64
|
// opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
||||||
var agentCount = flag.Int("agentCount", 2, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 2, "number of agent nodes")
|
||||||
var hardened = flag.Bool("hardened", false, "true or false")
|
var hardened = flag.Bool("hardened", false, "true or false")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0", "server-1", "server-2", "agent-0", "agent-1"])
|
["server-0", "server-1", "server-2", "agent-0", "agent-1"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204', 'generic/ubuntu2204'])
|
['generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310', 'generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
EXTERNAL_DB = (ENV['E2E_EXTERNAL_DB'] || "etcd")
|
EXTERNAL_DB = (ENV['E2E_EXTERNAL_DB'] || "etcd")
|
||||||
|
|
|
@ -14,9 +14,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS:
|
// Valid nodeOS:
|
||||||
// generic/ubuntu2204, generic/centos7, generic/rocky8,
|
// generic/ubuntu2310, generic/centos7, generic/rocky8,
|
||||||
// opensuse/Leap-15.3.x86_64
|
// opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 3, "number of server nodes")
|
||||||
var agentCount = flag.Int("agentCount", 2, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 2, "number of agent nodes")
|
||||||
var hardened = flag.Bool("hardened", false, "true or false")
|
var hardened = flag.Bool("hardened", false, "true or false")
|
||||||
|
|
|
@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
|
||||||
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
|
||||||
["server-0"])
|
["server-0"])
|
||||||
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
NODE_BOXES = (ENV['E2E_NODE_BOXES'] ||
|
||||||
['generic/ubuntu2204'])
|
['generic/ubuntu2310'])
|
||||||
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
GITHUB_BRANCH = (ENV['E2E_GITHUB_BRANCH'] || "master")
|
||||||
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
RELEASE_VERSION = (ENV['E2E_RELEASE_VERSION'] || "")
|
||||||
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
GOCOVER = (ENV['E2E_GOCOVER'] || "")
|
||||||
|
|
|
@ -12,8 +12,8 @@ import (
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Valid nodeOS: generic/ubuntu2204, opensuse/Leap-15.3.x86_64
|
// Valid nodeOS: generic/ubuntu2310, opensuse/Leap-15.3.x86_64
|
||||||
var nodeOS = flag.String("nodeOS", "generic/ubuntu2204", "VM operating system")
|
var nodeOS = flag.String("nodeOS", "generic/ubuntu2310", "VM operating system")
|
||||||
var serverCount = flag.Int("serverCount", 1, "number of server nodes")
|
var serverCount = flag.Int("serverCount", 1, "number of server nodes")
|
||||||
var agentCount = flag.Int("agentCount", 0, "number of agent nodes")
|
var agentCount = flag.Int("agentCount", 0, "number of agent nodes")
|
||||||
var ci = flag.Bool("ci", false, "running on CI")
|
var ci = flag.Bool("ci", false, "running on CI")
|
||||||
|
|
Loading…
Reference in New Issue