Skip to content

Commit

Permalink
vfkit: Add usual integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
afbjorklund committed Aug 19, 2024
1 parent 7f74462 commit 3d2a317
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/jenkins/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ case "${DRIVER}" in
virtualbox)
echo "vbox: $(vboxmanage --version)"
;;
vfkit)
echo "vfkit: $(vfkit --version)"
;;
esac

echo ""
Expand Down
1 change: 1 addition & 0 deletions hack/jenkins/minikube_set_pending.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs=(
'Docker_Windows'
'Docker_Cloud_Shell'
'QEMU_macOS'
'VFkit_macOS'
)

STARTED_LIST_REMOTE="gs://minikube-builds/logs/${ghprbPullId}/${BUILD_NUMBER}/started_environments.txt"
Expand Down
39 changes: 39 additions & 0 deletions hack/jenkins/osx_integration_tests_vfkit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/bin/bash

# Copyright 2024 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


# This script runs the integration tests on an OSX machine for the Hyperkit Driver

# The script expects the following env variables:
# MINIKUBE_LOCATION: GIT_COMMIT from upstream build.
# COMMIT: Actual commit ID from upstream build
# EXTRA_BUILD_ARGS (optional): Extra args to be passed into the minikube integrations tests
# access_token: The GitHub API access token. Injected by the Jenkins credential provider.


set -ex

ARCH="arm64"
OS="darwin"
DRIVER="vfkit"
JOB_NAME="VFkit_macOS"
EXTRA_TEST_ARGS=""
EXTERNAL="yes"

brew tap cfergeau/crc
brew install vfkit

source common.sh

0 comments on commit 3d2a317

Please sign in to comment.