Files
truecharts/.github/workflows/catalog-test.yaml
T
Kjeld Schouten b9a265cf77 Update catalog-test.yaml
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
2024-02-19 15:03:00 +01:00

39 lines
1.0 KiB
YAML

name: "SCALE: catalog-tests"
on:
workflow_call:
inputs:
checkoutCommit:
required: true
type: string
chartChangesDetected:
required: true
type: string
jobs:
catalog-tests:
name: Test SCALE Catalog
runs-on: ubuntu-latest
container:
image: tccr.io/tccr/devcontainer:v4.0.1
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
name: Checkout
with:
fetch-depth: 100
ref: ${{ inputs.checkoutCommit }}
- name: Setting repo parent dir as safe safe.directory
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
## TODO: Only run on the existing catalog when CI or template changes are actually detected
# - name: Checkout
# uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
# with:
# repository: truecharts/catalog
# path: catalog
- name: build-and-run
run: |
tools/build-release.sh