Kiali Molecule Tests #818
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
olm_version: | |
description: "Version of OLM to install or 'latest'. e.g. v0.28.0" | |
required: false | |
default: "latest" | |
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 --olm-version "${{ inputs.olm_version }}" |