Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
c4ff3019
Commit
c4ff3019
authored
Aug 12, 2024
by
Derek Nola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to newer OS images for install testing (#10681)
* Update to newer OS images for install testing * Update vagrant images used for E2E Signed-off-by:
Derek Nola
<
derek.nola@suse.com
>
parent
47737e1c
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
75 additions
and
76 deletions
+75
-76
install.yaml
.github/workflows/install.yaml
+2
-2
nightly-install.yaml
.github/workflows/nightly-install.yaml
+1
-1
Dockerfile.test
Dockerfile.test
+1
-1
Vagrantfile
tests/e2e/dualstack/Vagrantfile
+1
-1
dualstack_test.go
tests/e2e/dualstack/dualstack_test.go
+2
-2
Vagrantfile
tests/e2e/embeddedmirror/Vagrantfile
+1
-1
embeddedmirror_test.go
tests/e2e/embeddedmirror/embeddedmirror_test.go
+3
-3
Vagrantfile
tests/e2e/externalip/Vagrantfile
+1
-1
externalip_test.go
tests/e2e/externalip/externalip_test.go
+2
-2
Vagrantfile
tests/e2e/privateregistry/Vagrantfile
+1
-1
privateregistry_test.go
tests/e2e/privateregistry/privateregistry_test.go
+3
-3
Vagrantfile
tests/e2e/rotateca/Vagrantfile
+1
-1
rotateca_test.go
tests/e2e/rotateca/rotateca_test.go
+2
-2
Vagrantfile
tests/e2e/s3/Vagrantfile
+1
-1
s3_test.go
tests/e2e/s3/s3_test.go
+3
-3
run_tests.sh
tests/e2e/scripts/run_tests.sh
+1
-1
Vagrantfile
tests/e2e/secretsencryption/Vagrantfile
+1
-1
secretsencryption_test.go
tests/e2e/secretsencryption/secretsencryption_test.go
+2
-2
Vagrantfile
tests/e2e/secretsencryption_old/Vagrantfile
+1
-1
secretsencryption_test.go
tests/e2e/secretsencryption_old/secretsencryption_test.go
+2
-2
Vagrantfile
tests/e2e/snapshotrestore/Vagrantfile
+1
-1
snapshotrestore_test.go
tests/e2e/snapshotrestore/snapshotrestore_test.go
+3
-3
Vagrantfile
tests/e2e/splitserver/Vagrantfile
+1
-1
splitserver_test.go
tests/e2e/splitserver/splitserver_test.go
+2
-2
Vagrantfile
tests/e2e/startup/Vagrantfile
+1
-1
startup_test.go
tests/e2e/startup/startup_test.go
+2
-2
Vagrantfile
tests/e2e/tailscale/Vagrantfile
+1
-1
tailscale_test.go
tests/e2e/tailscale/tailscale_test.go
+2
-2
Vagrantfile
tests/e2e/token/Vagrantfile
+1
-1
token_test.go
tests/e2e/token/token_test.go
+3
-2
Vagrantfile
tests/e2e/upgradecluster/Vagrantfile
+2
-2
upgradecluster_test.go
tests/e2e/upgradecluster/upgradecluster_test.go
+3
-3
vagrantdefaults.rb
tests/e2e/vagrantdefaults.rb
+7
-9
Vagrantfile
tests/e2e/validatecluster/Vagrantfile
+1
-1
validatecluster_test.go
tests/e2e/validatecluster/validatecluster_test.go
+3
-3
Vagrantfile
tests/e2e/wasm/Vagrantfile
+1
-1
wasm_test.go
tests/e2e/wasm/wasm_test.go
+2
-2
Vagrantfile
tests/install/centos-9/Vagrantfile
+2
-2
Vagrantfile
tests/install/fedora/Vagrantfile
+1
-1
Vagrantfile
tests/install/rocky-8/Vagrantfile
+1
-1
Vagrantfile
tests/install/rocky-9/Vagrantfile
+1
-1
Vagrantfile
tests/install/ubuntu-2404/Vagrantfile
+2
-2
No files found.
.github/workflows/install.yaml
View file @
c4ff3019
...
@@ -30,7 +30,7 @@ jobs:
...
@@ -30,7 +30,7 @@ jobs:
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
vm
:
[
centos-
7
,
rocky-8
,
rocky-9
,
fedora
,
opensuse-leap
,
ubuntu-22
04
]
vm
:
[
centos-
9
,
rocky-8
,
rocky-9
,
fedora
,
opensuse-leap
,
ubuntu-24
04
]
max-parallel
:
3
max-parallel
:
3
defaults
:
defaults
:
run
:
run
:
...
@@ -65,7 +65,7 @@ jobs:
...
@@ -65,7 +65,7 @@ jobs:
vagrant ssh -c "sudo mv /tmp/k3s /usr/local/bin/k3s"
vagrant ssh -c "sudo mv /tmp/k3s /usr/local/bin/k3s"
vagrant provision --provision-with=k3s-upload
vagrant provision --provision-with=k3s-upload
-
name
:
Add binary to PATH
-
name
:
Add binary to PATH
if
:
matrix.vm == 'centos-
7
' || matrix.vm == 'rocky-8' || matrix.vm == 'rocky-9' || matrix.vm == 'opensuse-leap'
if
:
matrix.vm == 'centos-
9
' || matrix.vm == 'rocky-8' || matrix.vm == 'rocky-9' || matrix.vm == 'opensuse-leap'
run
:
vagrant provision --provision-with=add-bin-path
run
:
vagrant provision --provision-with=add-bin-path
-
name
:
"
⏩
Install
K3s"
-
name
:
"
⏩
Install
K3s"
run
:
|
run
:
|
...
...
.github/workflows/nightly-install.yaml
View file @
c4ff3019
...
@@ -16,7 +16,7 @@ jobs:
...
@@ -16,7 +16,7 @@ jobs:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
channel
:
[
stable
,
latest
]
channel
:
[
stable
,
latest
]
vm
:
[
rocky-
8
,
fedora
,
opensuse-leap
,
ubuntu-22
04
]
vm
:
[
rocky-
9
,
fedora
,
opensuse-leap
,
ubuntu-24
04
]
max-parallel
:
4
max-parallel
:
4
defaults
:
defaults
:
run
:
run
:
...
...
Dockerfile.test
View file @
c4ff3019
...
@@ -40,7 +40,7 @@ FROM vagrantlibvirt/vagrant-libvirt:0.12.1 AS test-e2e
...
@@ -40,7 +40,7 @@ FROM vagrantlibvirt/vagrant-libvirt:0.12.1 AS test-e2e
RUN
apt
-
get
update
&&
apt
-
get
install
-
y
docker
.
io
RUN
apt
-
get
update
&&
apt
-
get
install
-
y
docker
.
io
ENV
VAGRANT_DISABLE_STRICT_DEPENDENCY_ENFORCEMENT
=
1
ENV
VAGRANT_DISABLE_STRICT_DEPENDENCY_ENFORCEMENT
=
1
RUN
vagrant
plugin
install
vagrant
-
k3s
vagrant
-
reload
vagrant
-
scp
RUN
vagrant
plugin
install
vagrant
-
k3s
vagrant
-
reload
vagrant
-
scp
RUN
vagrant
box
add
generic
/
ubuntu22
04
--
provider
libvirt
--
force
RUN
vagrant
box
add
bento
/
ubuntu
-
24.
04
--
provider
libvirt
--
force
RUN
curl
-
LO
"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
;
\
RUN
curl
-
LO
"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
;
\
chmod
+
x
./
kubectl
;
\
chmod
+
x
./
kubectl
;
\
mv
./
kubectl
/
usr
/
local
/
bin
/
kubectl
mv
./
kubectl
/
usr
/
local
/
bin
/
kubectl
...
...
tests/e2e/dualstack/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/dualstack/dualstack_test.go
View file @
c4ff3019
...
@@ -12,8 +12,8 @@ import (
...
@@ -12,8 +12,8 @@ import (
.
"github.com/onsi/gomega"
.
"github.com/onsi/gomega"
)
)
// Valid nodeOS:
generic/ubuntu2310, opensuse/Leap-15.3
.x86_64
// Valid nodeOS:
bento/ubuntu-24.04, opensuse/Leap-15.6
.x86_64
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/embeddedmirror/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/embeddedmirror/embeddedmirror_test.go
View file @
c4ff3019
...
@@ -13,9 +13,9 @@ import (
...
@@ -13,9 +13,9 @@ import (
)
)
// Valid nodeOS:
// Valid nodeOS:
//
generic/ubuntu2310, generic/centos7, generic/rocky8,
//
bento/ubuntu-24.04, opensuse/Leap-15.6.x86_64
//
opensuse/Leap-15.3.x86_64
//
eurolinux-vagrant/rocky-8, eurolinux-vagrant/rocky-9,
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/externalip/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/externalip/externalip_test.go
View file @
c4ff3019
...
@@ -17,8 +17,8 @@ import (
...
@@ -17,8 +17,8 @@ import (
.
"github.com/onsi/gomega"
.
"github.com/onsi/gomega"
)
)
// Valid nodeOS:
generic/ubuntu2310, opensuse/Leap-15.3
.x86_64
// Valid nodeOS:
bento/ubuntu-24.04, opensuse/Leap-15.6
.x86_64
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/privateregistry/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/privateregistry/privateregistry_test.go
View file @
c4ff3019
...
@@ -13,9 +13,9 @@ import (
...
@@ -13,9 +13,9 @@ import (
)
)
// Valid nodeOS:
// Valid nodeOS:
//
generic/ubuntu2310, generic/centos7, generic/rocky8,
//
bento/ubuntu-24.04, opensuse/Leap-15.6.x86_64
//
opensuse/Leap-15.3.x86_64
//
eurolinux-vagrant/rocky-8, eurolinux-vagrant/rocky-9,
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/rotateca/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/rotateca/rotateca_test.go
View file @
c4ff3019
...
@@ -12,8 +12,8 @@ import (
...
@@ -12,8 +12,8 @@ import (
.
"github.com/onsi/gomega"
.
"github.com/onsi/gomega"
)
)
// Valid nodeOS:
generic/ubuntu2310, opensuse/Leap-15.3
.x86_64
// Valid nodeOS:
bento/ubuntu-24.04, opensuse/Leap-15.6
.x86_64
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/s3/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310
'
])
[
'
bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/s3/s3_test.go
View file @
c4ff3019
...
@@ -14,9 +14,9 @@ import (
...
@@ -14,9 +14,9 @@ import (
)
)
// Valid nodeOS:
// Valid nodeOS:
//
generic/ubuntu2310, generic/centos7, generic/rocky8,
//
bento/ubuntu-24.04, opensuse/Leap-15.6.x86_64
//
opensuse/Leap-15.3.x86_64
//
eurolinux-vagrant/rocky-8, eurolinux-vagrant/rocky-9,
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/scripts/run_tests.sh
View file @
c4ff3019
#!/bin/bash
#!/bin/bash
nodeOS
=
${
1
:-
"
generic/ubuntu2310
"
}
nodeOS
=
${
1
:-
"
bento/ubuntu-24.04
"
}
servercount
=
${
2
:-
3
}
servercount
=
${
2
:-
3
}
agentcount
=
${
3
:-
1
}
agentcount
=
${
3
:-
1
}
db
=
${
4
:-
"etcd"
}
db
=
${
4
:-
"etcd"
}
...
...
tests/e2e/secretsencryption/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/secretsencryption/secretsencryption_test.go
View file @
c4ff3019
...
@@ -15,8 +15,8 @@ import (
...
@@ -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/ubuntu2310, opensuse/Leap-15.3
.x86_64
// Valid nodeOS:
bento/ubuntu-24.04, opensuse/Leap-15.6
.x86_64
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/secretsencryption_old/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/secretsencryption_old/secretsencryption_test.go
View file @
c4ff3019
...
@@ -12,8 +12,8 @@ import (
...
@@ -12,8 +12,8 @@ import (
.
"github.com/onsi/gomega"
.
"github.com/onsi/gomega"
)
)
// Valid nodeOS:
generic/ubuntu2310, opensuse/Leap-15.3
.x86_64
// Valid nodeOS:
bento/ubuntu-24.04, opensuse/Leap-15.6
.x86_64
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/snapshotrestore/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/snapshotrestore/snapshotrestore_test.go
View file @
c4ff3019
...
@@ -14,10 +14,10 @@ import (
...
@@ -14,10 +14,10 @@ import (
)
)
// Valid nodeOS:
// Valid nodeOS:
//
generic/ubuntu2310, generic/centos7, generic/rocky8,
//
bento/ubuntu-24.04, opensuse/Leap-15.6.x86_64
//
opensuse/Leap-15.3.x86_64
//
eurolinux-vagrant/rocky-8, eurolinux-vagrant/rocky-9,
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/splitserver/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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
...
...
tests/e2e/splitserver/splitserver_test.go
View file @
c4ff3019
...
@@ -13,8 +13,8 @@ import (
...
@@ -13,8 +13,8 @@ import (
.
"github.com/onsi/gomega"
.
"github.com/onsi/gomega"
)
)
// Valid nodeOS:
generic/ubuntu2310, opensuse/Leap-15.3
.x86_64
// Valid nodeOS:
bento/ubuntu-24.04, opensuse/Leap-15.6
.x86_64
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/startup/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/startup/startup_test.go
View file @
c4ff3019
...
@@ -12,8 +12,8 @@ import (
...
@@ -12,8 +12,8 @@ import (
.
"github.com/onsi/gomega"
.
"github.com/onsi/gomega"
)
)
// Valid nodeOS:
generic/ubuntu2310, opensuse/Leap-15.3
.x86_64
// Valid nodeOS:
bento/ubuntu-24.04, opensuse/Leap-15.6
.x86_64
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/tailscale/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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"
,
"agent-1"
])
[
"server-0"
,
"agent-0"
,
"agent-1"
])
NODE_BOXES
=
(
ENV
[
'E2E_NODE_BOXES'
]
||
NODE_BOXES
=
(
ENV
[
'E2E_NODE_BOXES'
]
||
[
'
generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/tailscale/tailscale_test.go
View file @
c4ff3019
...
@@ -11,8 +11,8 @@ import (
...
@@ -11,8 +11,8 @@ import (
.
"github.com/onsi/gomega"
.
"github.com/onsi/gomega"
)
)
// Valid nodeOS:
generic/ubuntu2310, opensuse/Leap-15.3
.x86_64
// Valid nodeOS:
bento/ubuntu-24.04, opensuse/Leap-15.6
.x86_64
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
,
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"
)
...
...
tests/e2e/token/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/token/token_test.go
View file @
c4ff3019
...
@@ -14,9 +14,10 @@ import (
...
@@ -14,9 +14,10 @@ import (
)
)
// Valid nodeOS:
// Valid nodeOS:
// generic/ubuntu2310, generic/centos7, generic/rocky8, opensuse/Leap-15.6.x86_64
// bento/ubuntu-24.04, opensuse/Leap-15.6.x86_64
// eurolinux-vagrant/rocky-8, eurolinux-vagrant/rocky-9,
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/upgradecluster/Vagrantfile
View file @
c4ff3019
...
@@ -2,8 +2,8 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -2,8 +2,8 @@ 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/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
RELEASE_CHANNEL
=
(
ENV
[
'E2E_RELEASE_CHANNEL'
]
||
"
v1.28
"
)
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"
)
REGISTRY
=
(
ENV
[
'E2E_REGISTRY'
]
||
""
)
REGISTRY
=
(
ENV
[
'E2E_REGISTRY'
]
||
""
)
...
...
tests/e2e/upgradecluster/upgradecluster_test.go
View file @
c4ff3019
...
@@ -13,9 +13,9 @@ import (
...
@@ -13,9 +13,9 @@ import (
)
)
// Valid nodeOS:
// Valid nodeOS:
//
generic/ubuntu2310, generic/centos7, generic/rocky8
//
bento/ubuntu-24.04, eurolinux-vagrant/rocky-8, eurolinux-vagrant/rocky-9
// opensuse/Leap-15.
3
.x86_64
// opensuse/Leap-15.
6
.x86_64
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/vagrantdefaults.rb
View file @
c4ff3019
def
defaultOSConfigure
(
vm
)
def
defaultOSConfigure
(
vm
)
box
=
vm
.
box
.
to_s
box
=
vm
.
box
.
to_s
if
box
.
include?
(
"
generic/
ubuntu"
)
if
box
.
include?
(
"ubuntu"
)
vm
.
provision
"Set DNS"
,
type:
"shell"
,
inline:
"netplan set ethernets.eth0.nameservers.addresses=[8.8.8.8,1.1.1.1]; netplan apply"
,
run:
'once'
vm
.
provision
"Set DNS"
,
type:
"shell"
,
inline:
"netplan set ethernets.eth0.nameservers.addresses=[8.8.8.8,1.1.1.1]; netplan apply"
,
run:
'once'
elsif
box
.
include?
(
"Leap"
)
||
box
.
include?
(
"Tumbleweed"
)
elsif
box
.
include?
(
"Leap"
)
||
box
.
include?
(
"Tumbleweed"
)
vm
.
provision
"Install apparmor-parser"
,
type:
"shell"
,
inline:
"zypper install -y apparmor-parser"
vm
.
provision
"Install apparmor-parser"
,
type:
"shell"
,
inline:
"zypper install -y apparmor-parser"
elsif
box
.
include?
(
"rocky8"
)
||
box
.
include?
(
"rocky9"
)
elsif
box
.
include?
(
"rocky"
)
||
box
.
include?
(
"centos"
)
vm
.
provision
"Disable firewall"
,
type:
"shell"
,
inline:
"systemctl stop firewalld"
elsif
box
.
include?
(
"centos7"
)
vm
.
provision
"Disable firewall"
,
type:
"shell"
,
inline:
"systemctl stop firewalld"
vm
.
provision
"Disable firewall"
,
type:
"shell"
,
inline:
"systemctl stop firewalld"
elsif
box
.
include?
(
"alpine"
)
elsif
box
.
include?
(
"alpine"
)
vm
.
provision
"Install tools"
,
type:
"shell"
,
inline:
"apk add coreutils"
vm
.
provision
"Install tools"
,
type:
"shell"
,
inline:
"apk add coreutils"
...
@@ -76,7 +74,7 @@ def getHardenedArg(vm, hardened, scripts_location)
...
@@ -76,7 +74,7 @@ def getHardenedArg(vm, hardened, scripts_location)
puts
"Invalid E2E_HARDENED option"
puts
"Invalid E2E_HARDENED option"
exit
1
exit
1
end
end
if
vm
.
box
.
to_s
.
include?
(
"
generic/
ubuntu"
)
if
vm
.
box
.
to_s
.
include?
(
"ubuntu"
)
vm
.
provision
"Install kube-bench"
,
type:
"shell"
,
inline:
<<-
SHELL
vm
.
provision
"Install kube-bench"
,
type:
"shell"
,
inline:
<<-
SHELL
export KBV=0.8.0
export KBV=0.8.0
curl -L "https://github.com/aquasecurity/kube-bench/releases/download/v${KBV}/kube-bench_${KBV}_linux_amd64.deb" -o "kube-bench_${KBV}_linux_amd64.deb"
curl -L "https://github.com/aquasecurity/kube-bench/releases/download/v${KBV}/kube-bench_${KBV}_linux_amd64.deb" -o "kube-bench_${KBV}_linux_amd64.deb"
...
@@ -88,13 +86,13 @@ end
...
@@ -88,13 +86,13 @@ end
def
jqInstall
(
vm
)
def
jqInstall
(
vm
)
box
=
vm
.
box
.
to_s
box
=
vm
.
box
.
to_s
if
box
.
include?
(
"
generic/
ubuntu"
)
if
box
.
include?
(
"ubuntu"
)
vm
.
provision
"Install jq"
,
type:
"shell"
,
inline:
"apt install -y jq"
vm
.
provision
"Install jq"
,
type:
"shell"
,
inline:
"apt install -y jq"
elsif
box
.
include?
(
"Leap"
)
||
box
.
include?
(
"Tumbleweed"
)
elsif
box
.
include?
(
"Leap"
)
||
box
.
include?
(
"Tumbleweed"
)
vm
.
provision
"Install jq"
,
type:
"shell"
,
inline:
"zypper install -y jq"
vm
.
provision
"Install jq"
,
type:
"shell"
,
inline:
"zypper install -y jq"
elsif
box
.
include?
(
"rocky
8"
)
||
box
.
include?
(
"rocky9
"
)
elsif
box
.
include?
(
"rocky"
)
vm
.
provision
"Install jq"
,
type:
"shell"
,
inline:
"dnf install -y jq"
vm
.
provision
"Install jq"
,
type:
"shell"
,
inline:
"dnf install -y jq"
elsif
box
.
include?
(
"centos
7
"
)
elsif
box
.
include?
(
"centos"
)
vm
.
provision
"Install jq"
,
type:
"shell"
,
inline:
"yum install -y jq"
vm
.
provision
"Install jq"
,
type:
"shell"
,
inline:
"yum install -y jq"
elsif
box
.
include?
(
"alpine"
)
elsif
box
.
include?
(
"alpine"
)
vm
.
provision
"Install jq"
,
type:
"shell"
,
inline:
"apk add coreutils"
vm
.
provision
"Install jq"
,
type:
"shell"
,
inline:
"apk add coreutils"
...
@@ -120,7 +118,7 @@ def dockerInstall(vm)
...
@@ -120,7 +118,7 @@ def dockerInstall(vm)
vm
.
provision
"shell"
,
inline:
"transactional-update pkg install -y docker apparmor-parser"
vm
.
provision
"shell"
,
inline:
"transactional-update pkg install -y docker apparmor-parser"
vm
.
provision
'docker-reload'
,
type:
'reload'
,
run:
'once'
vm
.
provision
'docker-reload'
,
type:
'reload'
,
run:
'once'
vm
.
provision
"shell"
,
inline:
"systemctl enable --now docker"
vm
.
provision
"shell"
,
inline:
"systemctl enable --now docker"
elsif
box
.
include?
(
"rocky
8"
)
||
box
.
include?
(
"rocky9
"
)
elsif
box
.
include?
(
"rocky"
)
vm
.
provision
"shell"
,
inline:
"dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo"
vm
.
provision
"shell"
,
inline:
"dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo"
vm
.
provision
"shell"
,
inline:
"dnf install -y docker-ce"
vm
.
provision
"shell"
,
inline:
"dnf install -y docker-ce"
end
end
...
...
tests/e2e/validatecluster/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310'
,
'generic/ubuntu2310
'
])
[
'
bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04'
,
'bento/ubuntu-24.04
'
])
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"
)
...
...
tests/e2e/validatecluster/validatecluster_test.go
View file @
c4ff3019
...
@@ -14,9 +14,9 @@ import (
...
@@ -14,9 +14,9 @@ import (
)
)
// Valid nodeOS:
// Valid nodeOS:
//
generic/ubuntu2310, generic/centos7, generic/rocky8,
//
bento/ubuntu-24.04, opensuse/Leap-15.6.x86_64
//
opensuse/Leap-15.3.x86_64
//
eurolinux-vagrant/rocky-8, eurolinux-vagrant/rocky-9,
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/e2e/wasm/Vagrantfile
View file @
c4ff3019
...
@@ -2,7 +2,7 @@ ENV['VAGRANT_NO_PARALLEL'] = 'no'
...
@@ -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/ubuntu2310
'
])
[
'
bento/ubuntu-24.04
'
])
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'
]
||
""
)
...
...
tests/e2e/wasm/wasm_test.go
View file @
c4ff3019
...
@@ -12,8 +12,8 @@ import (
...
@@ -12,8 +12,8 @@ import (
.
"github.com/onsi/gomega"
.
"github.com/onsi/gomega"
)
)
// Valid nodeOS:
generic/ubuntu2310, opensuse/Leap-15.3
.x86_64
// Valid nodeOS:
bento/ubuntu-24.04, opensuse/Leap-15.6
.x86_64
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
generic/ubuntu2310
"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"
bento/ubuntu-24.04
"
,
"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"
)
...
...
tests/install/centos-
7
/Vagrantfile
→
tests/install/centos-
9
/Vagrantfile
View file @
c4ff3019
...
@@ -6,14 +6,14 @@ ENV['TEST_INSTALL_SH'] ||= '../../../install.sh'
...
@@ -6,14 +6,14 @@ ENV['TEST_INSTALL_SH'] ||= '../../../install.sh'
Vagrant
.
configure
(
"2"
)
do
|
config
|
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vagrant
.
plugins
=
[
"vagrant-k3s"
]
config
.
vagrant
.
plugins
=
[
"vagrant-k3s"
]
config
.
vm
.
box
=
"
generic/centos7
"
config
.
vm
.
box
=
"
eurolinux-vagrant/centos-stream-9
"
config
.
vm
.
boot_timeout
=
ENV
[
'TEST_VM_BOOT_TIMEOUT'
]
||
600
# seconds
config
.
vm
.
boot_timeout
=
ENV
[
'TEST_VM_BOOT_TIMEOUT'
]
||
600
# seconds
config
.
vm
.
synced_folder
'.'
,
'/vagrant'
,
disabled:
true
config
.
vm
.
synced_folder
'.'
,
'/vagrant'
,
disabled:
true
# Load in helper functions
# Load in helper functions
load
"../install_util.rb"
load
"../install_util.rb"
config
.
vm
.
define
'install-centos-
7
'
,
primary:
true
do
|
test
|
config
.
vm
.
define
'install-centos-
9
'
,
primary:
true
do
|
test
|
test
.
vm
.
hostname
=
'smoke'
test
.
vm
.
hostname
=
'smoke'
test
.
vm
.
provision
"add-bin-path"
,
type:
"shell"
,
inline:
"echo
\"
export PATH=/usr/local/bin:
\$
PATH
\"
>> ~/.bashrc"
test
.
vm
.
provision
"add-bin-path"
,
type:
"shell"
,
inline:
"echo
\"
export PATH=/usr/local/bin:
\$
PATH
\"
>> ~/.bashrc"
test
.
vm
.
provision
'k3s-upload'
,
type:
'file'
,
run:
'always'
,
source:
ENV
[
'TEST_INSTALL_SH'
],
destination:
'install.sh'
test
.
vm
.
provision
'k3s-upload'
,
type:
'file'
,
run:
'always'
,
source:
ENV
[
'TEST_INSTALL_SH'
],
destination:
'install.sh'
...
...
tests/install/fedora/Vagrantfile
View file @
c4ff3019
...
@@ -6,7 +6,7 @@ ENV['TEST_INSTALL_SH'] ||= '../../../install.sh'
...
@@ -6,7 +6,7 @@ ENV['TEST_INSTALL_SH'] ||= '../../../install.sh'
Vagrant
.
configure
(
"2"
)
do
|
config
|
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vagrant
.
plugins
=
[
"vagrant-k3s"
]
config
.
vagrant
.
plugins
=
[
"vagrant-k3s"
]
config
.
vm
.
box
=
'
generic/fedora37
'
config
.
vm
.
box
=
'
bento/fedora-latest
'
config
.
vm
.
boot_timeout
=
ENV
[
'TEST_VM_BOOT_TIMEOUT'
]
||
600
# seconds
config
.
vm
.
boot_timeout
=
ENV
[
'TEST_VM_BOOT_TIMEOUT'
]
||
600
# seconds
config
.
vm
.
synced_folder
'.'
,
'/vagrant'
,
disabled:
true
config
.
vm
.
synced_folder
'.'
,
'/vagrant'
,
disabled:
true
...
...
tests/install/rocky-8/Vagrantfile
View file @
c4ff3019
...
@@ -6,7 +6,7 @@ ENV['TEST_INSTALL_SH'] ||= '../../../install.sh'
...
@@ -6,7 +6,7 @@ ENV['TEST_INSTALL_SH'] ||= '../../../install.sh'
Vagrant
.
configure
(
"2"
)
do
|
config
|
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vagrant
.
plugins
=
[
"vagrant-k3s"
]
config
.
vagrant
.
plugins
=
[
"vagrant-k3s"
]
config
.
vm
.
box
=
"
generic/rocky
8"
config
.
vm
.
box
=
"
bento/rockylinux-
8"
config
.
vm
.
boot_timeout
=
ENV
[
'TEST_VM_BOOT_TIMEOUT'
]
||
600
# seconds
config
.
vm
.
boot_timeout
=
ENV
[
'TEST_VM_BOOT_TIMEOUT'
]
||
600
# seconds
config
.
vm
.
synced_folder
'.'
,
'/vagrant'
,
disabled:
true
config
.
vm
.
synced_folder
'.'
,
'/vagrant'
,
disabled:
true
...
...
tests/install/rocky-9/Vagrantfile
View file @
c4ff3019
...
@@ -7,7 +7,7 @@ ENV['INSTALL_K3S_CHANNEL'] ||= 'testing'
...
@@ -7,7 +7,7 @@ ENV['INSTALL_K3S_CHANNEL'] ||= 'testing'
Vagrant
.
configure
(
"2"
)
do
|
config
|
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vagrant
.
plugins
=
[
"vagrant-k3s"
]
config
.
vagrant
.
plugins
=
[
"vagrant-k3s"
]
config
.
vm
.
box
=
"
generic/rocky
9"
config
.
vm
.
box
=
"
eurolinux-vagrant/rocky-
9"
config
.
vm
.
boot_timeout
=
ENV
[
'TEST_VM_BOOT_TIMEOUT'
]
||
600
# seconds
config
.
vm
.
boot_timeout
=
ENV
[
'TEST_VM_BOOT_TIMEOUT'
]
||
600
# seconds
config
.
vm
.
synced_folder
'.'
,
'/vagrant'
,
disabled:
true
config
.
vm
.
synced_folder
'.'
,
'/vagrant'
,
disabled:
true
...
...
tests/install/ubuntu-2
2
04/Vagrantfile
→
tests/install/ubuntu-2
4
04/Vagrantfile
View file @
c4ff3019
...
@@ -6,14 +6,14 @@ ENV['TEST_INSTALL_SH'] ||= '../../../install.sh'
...
@@ -6,14 +6,14 @@ ENV['TEST_INSTALL_SH'] ||= '../../../install.sh'
Vagrant
.
configure
(
"2"
)
do
|
config
|
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vagrant
.
plugins
=
[
"vagrant-k3s"
]
config
.
vagrant
.
plugins
=
[
"vagrant-k3s"
]
config
.
vm
.
box
=
'
generic/ubuntu22
04'
config
.
vm
.
box
=
'
bento/ubuntu-24.
04'
config
.
vm
.
boot_timeout
=
ENV
[
'TEST_VM_BOOT_TIMEOUT'
]
||
600
# seconds
config
.
vm
.
boot_timeout
=
ENV
[
'TEST_VM_BOOT_TIMEOUT'
]
||
600
# seconds
config
.
vm
.
synced_folder
'.'
,
'/vagrant'
,
disabled:
true
config
.
vm
.
synced_folder
'.'
,
'/vagrant'
,
disabled:
true
# Load in helper functions
# Load in helper functions
load
"../install_util.rb"
load
"../install_util.rb"
config
.
vm
.
define
'install-ubuntu-2
2
04'
,
primary:
true
do
|
test
|
config
.
vm
.
define
'install-ubuntu-2
4
04'
,
primary:
true
do
|
test
|
test
.
vm
.
hostname
=
'smoke'
test
.
vm
.
hostname
=
'smoke'
test
.
vm
.
provision
'k3s-upload'
,
type:
'file'
,
run:
'always'
,
source:
ENV
[
'TEST_INSTALL_SH'
],
destination:
'install.sh'
test
.
vm
.
provision
'k3s-upload'
,
type:
'file'
,
run:
'always'
,
source:
ENV
[
'TEST_INSTALL_SH'
],
destination:
'install.sh'
test
.
vm
.
provision
'k3s-install'
,
type:
'k3s'
,
run:
'once'
do
|
k3s
|
test
.
vm
.
provision
'k3s-install'
,
type:
'k3s'
,
run:
'once'
do
|
k3s
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment