Browse Source

Add wasm test to e2e matrix

Signed-off-by: Derek Nola <derek.nola@suse.com>
pull/9838/head
Derek Nola 9 months ago
parent
commit
c98ca14198
  1. 2
      .github/workflows/e2e.yaml
  2. 2
      tests/e2e/wasm/Vagrantfile

2
.github/workflows/e2e.yaml

@ -37,7 +37,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
# TODO fix embeddedmirror and add it to the matrix # TODO fix embeddedmirror and add it to the matrix
etest: [startup, s3, btrfs, externalip, privateregistry] etest: [startup, s3, btrfs, externalip, privateregistry, wasm]
max-parallel: 3 max-parallel: 3
steps: steps:
- name: "Checkout" - name: "Checkout"

2
tests/e2e/wasm/Vagrantfile vendored

@ -41,12 +41,10 @@ def provision(vm, role, role_num, node_num)
addCoverageDir(vm, role, GOCOVER) addCoverageDir(vm, role, GOCOVER)
install_type = getInstallType(vm, RELEASE_VERSION, GITHUB_BRANCH) install_type = getInstallType(vm, RELEASE_VERSION, GITHUB_BRANCH)
vm.provision "shell", inline: "ping -c 2 k3s.io"
vm.provision "Install run-wasi containerd shims", type: "shell", inline: INSTALL_WASM_SHIMS vm.provision "Install run-wasi containerd shims", type: "shell", inline: INSTALL_WASM_SHIMS
if role.include?("server") && role_num == 0 if role.include?("server") && role_num == 0
dockerInstall(vm)
vm.provision 'k3s-primary-server', type: 'k3s', run: 'once' do |k3s| vm.provision 'k3s-primary-server', type: 'k3s', run: 'once' do |k3s|
k3s.args = "server " k3s.args = "server "
k3s.config = <<~YAML k3s.config = <<~YAML

Loading…
Cancel
Save