Skip to content

TestLinux

TestLinux #126

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
#
name: Test
on:
push:
tags:
- '*-*'
branches-ignore: '*'
env:
PLATFORM: ${{ github.ref_name }}
K3S_IP: ${{ secrets.K3S_IP }}
MK8S_IP: ${{ secrets.MK8S_IP }}
ID_RSA_B64: ${{ secrets.ID_RSA_B64 }}
AKS_KUBECONFIG_B64: ${{ secrets.AKS_KUBECONFIG_B64 }}
EKS_KUBECONFIG_B64: ${{ secrets.EKS_KUBECONFIG_B64 }}
GKE_KUBECONFIG_B64: ${{ secrets.GKE_KUBECONFIG_B64 }}
OPENSHIFT_KUBECONFIG_B64: ${{ secrets.OPENSHIFT_KUBECONFIG_B64 }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GCLOUD_SA_B64: ${{ secrets.GCLOUD_SA_B64 }}
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Nuv
run: |
VER="$(curl https://raw.githubusercontent.com/nuvolaris/olaris/0.3.0/nuvroot.json | jq .version -r)"
URL="https://github.com/nuvolaris/nuv/releases/download/$VER/nuv_${VER}_amd64.deb"
wget --no-verbose $URL -O nuv.deb
sudo dpkg -i nuv.deb
nuv -update
nuv -info
- name: 1 Deploy
run: tests/1-deploy.sh $PLATFORM
- name: Debug Action (if requested)
run: .github/debugAction.sh
- name: Wait for Debug (if requested)
run: .github/waitIfDebug.sh
- name: 3 SysRedis
run: tests/3-sys-redis.sh $PLATFORM
- name: 4 SysMongo
run: tests/4a-sys-ferretdb.sh $PLATFORM
- name: 4b SysPostgres
run: tests/4b-sys-postgres.sh $PLATFORM
- name: 5 SysMinio
run: tests/5-sys-minio.sh $PLATFORM
- name: 6 Login
run: tests/6-login.sh $PLATFORM
- name: 7 Static
run: tests/7-static.sh $PLATFORM
- name: 8 UserRedis
run: tests/8-user-redis.sh $PLATFORM
- name: 9a UserFerretDB
run: tests/9a-user-ferretdb.sh $PLATFORM
- name: 9b UserPostgres
run: tests/9b-user-postgres.sh $PLATFORM
- name: 10 UserMinio
run: tests/10-user-minio.sh $PLATFORM
- name: 14 RuntimeTesting
run: tests/14-runtime-testing.sh $PLATFORM