-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (47 loc) · 1.63 KB
/
co-integration-test.yaml
File metadata and controls
55 lines (47 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
---
name: CO Integration test CI Pipeline
on:
pull_request:
branches:
- main
- release-*
workflow_dispatch:
permissions:
contents: read
jobs:
integration-smoke-test:
permissions:
contents: read
runs-on: ubuntu-24.04-16core-64GB
if: true
env:
VERSION: ${{ github.head_ref }} # Use the component branch that triggered the action for the test
steps:
- name: Checkout orch ci
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: open-edge-platform/orch-ci
path: ci
ref: "main"
token: ${{ secrets.SYS_EMF_GH_TOKEN || github.token }}
persist-credentials: false
- name: Checkout cluster-tests for integration tests
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: open-edge-platform/cluster-tests
path: cluster-tests
ref: "main"
token: ${{ secrets.SYS_EMF_GH_TOKEN || github.token }}
persist-credentials: false
- name: Bootstrap CI environment
uses: ./ci/.github/actions/bootstrap
with:
gh_token: ${{ secrets.SYS_EMF_GH_TOKEN || github.token }}
- name: Run make test with additional config
env:
VERSION: ${{ env.VERSION }}
run: |
cd cluster-tests
ADDITIONAL_CONFIG="{\"components\":[{\"name\":\"cluster-api-provider-intel\", \"skip-local-build\": false, \"git-repo\": {\"version\":\"${VERSION}\"}}]}" make test