che-operator/.github/workflows/minikube-operator-update.yaml

38 lines
1.1 KiB
YAML

#
# Copyright (c) 2012-2020 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: Minikube
on:
pull_request:
branches:
- master
jobs:
minikube:
name: Test Eclipse Che update from stable to nightly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Provision Minikube cluster
run: /bin/bash .github/bin/minikube/provision-cluster.sh
- name: Install chectl
run: bash <(curl -sL https://www.eclipse.org/che/chectl/) --channel=stable
- name: Install jq
run: sudo pip install yq
- name: Tests
run: /bin/bash .github/bin/minikube/test-operator-update.sh
# Run this step even the previous step fail
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: minikube-updates-artifacts
path: /tmp/artifacts-che