Skip to content

Commit

Permalink
bump up local_dev_cluster_version version
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Yuan <[email protected]>
  • Loading branch information
SamYuan1990 committed Jun 11, 2024
1 parent 826c99b commit d6420d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
with:
ebpfprovider: libbpf
cluster_provider: ${{matrix.cluster_provider}}
local_dev_cluster_version: v0.0.3
local_dev_cluster_version: v0.0.5

- name: push Kepler image to local registry
run: |
Expand All @@ -99,6 +99,7 @@ jobs:
env:
CLUSTER_PROVIDER: ${{matrix.cluster_provider}}
NO_BUILDS: true
KUBECONFIG: /tmp/kubeconfig

- name: Save artifacts
if: ${{ failure() }}
Expand All @@ -112,6 +113,7 @@ jobs:
run: make e2e
env:
CLUSTER_PROVIDER: ${{matrix.cluster_provider}}
KUBECONFIG: /tmp/kubeconfig

- name: undeploy Kepler and cleanup the cluster
run: |
Expand Down
11 changes: 1 addition & 10 deletions hack/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ declare -r MANIFESTS_OUT_DIR="${MANIFESTS_OUT_DIR:-_output/generated-manifest}"
declare -r EXPORTER="${EXPORTER:-kepler-exporter}"
declare -r KEPLER_NS="${KEPLER_NS:-kepler}"
declare -r MONITORING_NS="${MONITORING_NS:-monitoring}"
declare -r KUBECONFIG_PATH=${KUBECONFIG_ROOT_DIR:-$HOME/.kube/config}
declare -r KUBECONFIG=${KUBECONFIG:-$HOME/.kube/config}

source "$PROJECT_ROOT/hack/utils.bash"

Expand Down Expand Up @@ -87,14 +87,6 @@ intergration_test() {

#TODO Optimze platform-validation tests
platform_validation() {
mkdir -p /tmp/.kube

if [[ "$CLUSTER_PROVIDER" == "microshift" ]]; then
run $CTR_CMD exec -i microshift cat /var/lib/microshift/resources/kubeadmin/kubeconfig >/tmp/.kube/config
else
run kind get kubeconfig --name=kind >/tmp/.kube/config
fi

watch_service 9102 "$KEPLER_NS" "$EXPORTER" &
watch_service 9090 "$MONITORING_NS" prometheus-k8s &

Expand All @@ -120,7 +112,6 @@ platform_validation() {

main() {
mkdir -p "$ARTIFACT_DIR"
export KUBECONFIG="$KUBECONFIG_PATH"

local ret=0
case "${1-}" in
Expand Down

0 comments on commit d6420d5

Please sign in to comment.