Skip to content

Fix editconfig lint issues #258

Fix editconfig lint issues

Fix editconfig lint issues #258

---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2021
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
name: Check Multus CNI
# yamllint disable-line rule:truthy
on:
push:
paths:
- '**.sh'
- '!ci/update_*.sh'
- '*.yml'
- '!playbooks/**/*.yml'
- '*.tpl'
- '*.env'
- 'resources/*'
- '!**.md'
pull_request_review:
types:
- submitted
jobs:
check-multus:
name: Check Multus CNI in an Ubuntu Focal All-in-One setup
if: >-
(
github.event_name == 'pull_request_review' &&
github.event.review.state == 'approved'
) || github.event_name != 'pull_request_review'
runs-on: ubuntu-22.04
env:
KRD_DEBUG: true
KRD_ANSIBLE_DEBUG: true
KRD_MULTUS_ENABLED: true
PKG_KREW_PLUGINS_LIST: "cert-manager"
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # refs/tags/v4.1.7
- name: Deploy services
run: KRD_FOLDER=$(git rev-parse --show-toplevel) ./aio.sh
- name: Run Sonobuoy tool
run: ./krd_command.sh -a run_sonobuoy
- name: Run Kubent tool
run: ./krd_command.sh -a run_kubent
- name: Run Multus tests
working-directory: ./tests
run: ./multus.sh
- name: Undeploy services
run: ./krd_command.sh -a uninstall_k8s