Skip to content

Test - Chart Version Nightly #392

Test - Chart Version Nightly

Test - Chart Version Nightly #392

# Basic test for maintenance Camunda 8 Helm charts.
name: "Test - Chart Version Nightly"
on:
schedule:
# Set the cron schedule to run nightly at midnight US time, EST (4AM UTC)
- cron: "0 4 * * *"
pull_request:
paths:
- ".github/workflows/test-chart-version-nightly-template.yaml"
- ".github/workflows/test-chart-version-nightly.yaml"
- ".github/workflows/test-integration-template.yaml"
- ".github/workflows/test-integration-runner.yaml"
- ".github/charts/*/test/ci-test-config.yaml"
push:
branches:
- "feature/ee-images-prem"
workflow_dispatch:
inputs:
platforms:
description: The deployment cloud platform
default: "gke"
required: false
type: choice
options:
- gke
- eks
- rosa
- gke,eks
flows:
description: The flows to run
default: "install"
required: false
type: choice
options:
- install
- upgrade
- install,upgrade
deployment-ttl:
required: false
default: 1h
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.run_id }}
cancel-in-progress: true
permissions:
contents: read
id-token: write
deployments: write
jobs:
init:
name: Generate chart matrix Nightly
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.generate-chart-versions.outputs.matrix }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
repository: camunda/camunda-platform-helm
- name: Generate chart versions
id: generate-chart-versions
uses: ./.github/actions/generate-chart-matrix-nightly
integation-tests:
name: ${{ matrix.version }} - ${{ inputs.platforms || 'gke' }} - ${{ matrix.case }} - ${{ matrix.shortname }}
if: ${{ needs.init.outputs.matrix != '[]' }}
needs: [init]
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.init.outputs.matrix) }}
uses: ./.github/workflows/test-chart-version-nightly-template.yaml

Check failure on line 74 in .github/workflows/test-chart-version-nightly.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-chart-version-nightly.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/test-chart-version-nightly.yaml" -> "./.github/workflows/test-chart-version-nightly-template.yaml" (source branch with sha:c8670dc8ac15dbae4f7dc66026d1f5ab3712e6b5) : (Line: 45, Col: 7): 'platforms' is already defined, (Line: 108, Col: 19): Unrecognized named-value: 'git'. Located at position 37 within expression: github.event.pull_request.number || git.ref
secrets: inherit
with:
camunda-version: ${{ matrix.version }}
case: ${{ matrix.case }}
scenario: ${{ matrix.scenario }}
shortname: ${{ matrix.shortname }}
auth: ${{ matrix.auth }}
platforms: ${{ inputs.platforms || 'gke,eks' }}
exclude: ${{ matrix.exclude }}
flows: ${{ inputs.flows || 'install,upgrade' }}
deployment-ttl: ${{ inputs.deployment-ttl || '1h' }}
values-enterprise: ${{ matrix.values-enterprise }}