Skip to content

feat: k3s airgap support #338

feat: k3s airgap support

feat: k3s airgap support #338

Workflow file for this run

# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
---
name: Run service tests
permissions: {}
on:
pull_request:
branches:
- main
- release-*
workflow_dispatch:
jobs:
integration-smoke-test:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout orch ci
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.head_ref }}
persist-credentials: false
- name: Bootstrap CI environment
uses: open-edge-platform/orch-ci/.github/actions/bootstrap@13722579bc8edfb712203cb8e88fcc404d2218bc # 0.1.9
with:
gh_token: ${{ secrets.SYS_ORCH_GITHUB }}
- name: Run service test
run: make run-service-test
- name: Gather logs from every pod
if: always()
run: |
mkdir -p service-test-logs
for pod_and_namespace in $(kubectl get pods -A -o jsonpath='{range .items[*]}{.metadata.name}{";"}{.metadata.namespace}{"\n"}{end}'); do
pod=$(echo "$pod_and_namespace" | awk -F';' '{print $1}')
namespace=$(echo "$pod_and_namespace" | awk -F';' '{print $2}')
echo "Gathering logs for pod $pod in namespace $namespace"
kubectl logs "$pod" -n "$namespace" > "./service-test-logs/${pod}.log" || echo "Failed to get logs for $pod in namespace $namespace"
done
- name: Upload pod logs as evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: service-test-logs
path: service-test-logs