-
Notifications
You must be signed in to change notification settings - Fork 479
34 lines (32 loc) · 1.33 KB
/
molecules.yml
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
name: Kiali Molecule Tests
on:
schedule:
- cron: '0 6 * * *' # This is UTC time
workflow_dispatch:
inputs:
all_tests:
description: "Molecule Test Names (space-separated)"
required: false
default: ""
type: string
jobs:
molecules:
name: Molecule tests
runs-on: ubuntu-20.04
steps:
- name: Checkout the hack script that runs the tests
uses: actions/checkout@v4
with:
sparse-checkout: |
hack/ci-kind-molecule-tests.sh
- name: Print the names of the tests that are to be run
run: |
if [ -z "${{ inputs.all_tests }}" ]; then
echo "all tests"
else
echo "tests=${{ inputs.all_tests }}"
fi
- name: Run molecule tests using helm
run: ./hack/ci-kind-molecule-tests.sh --client-exe $(which kubectl) --kind-exe $(which kind) --all-tests "${{ inputs.all_tests }}" --git-clone-protocol https --irc-room "" --upload-logs false --rebuild-cluster true -ci true --operator-installer helm --olm-enabled false
- name: Run molecule tests using OLM
run: ./hack/ci-kind-molecule-tests.sh --client-exe $(which kubectl) --kind-exe $(which kind) --all-tests "${{ inputs.all_tests }}" --git-clone-protocol https --irc-room "" --upload-logs false --rebuild-cluster true -ci true --operator-installer skip --olm-enabled true