Skip to content

chore: Add operator test for arm64 platform #5

chore: Add operator test for arm64 platform

chore: Add operator test for arm64 platform #5

#
# Copyright (c) 2019-2025 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#
name: Operator test
on: pull_request
jobs:
operator-on-minikube-arm:
runs-on: ubuntu-22.04-arm
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Start minikube cluster
run: |
curl -LO https://github.com/kubernetes/minikube/releases/latest/download/minikube-linux-arm64
install minikube-linux-arm64 /usr/local/bin/minikube && rm minikube-linux-arm64
minikube start --vm-driver=docker --addons=ingress --cpus 2 --memory 6500
- name: Install yq
run: sudo pip install yq
- name: Install chectl
run: bash <(curl -sL https://raw.githubusercontent.com/che-incubator/chectl/4526a1fa80e29e4cc6dfd3fb048a9f75441bf8a2/install.sh) --channel=next
- name: Run tests
run: /bin/bash build/scripts/minikube-tests/test-operator-arm64.sh
- uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: artifacts
path: /tmp/artifacts-che