TrueChartsClone/.github/workflows/catalog-test.yaml

42 lines
1.1 KiB
YAML
Raw Normal View History

2022-03-30 06:26:37 -04:00
name: "SCALE: catalog-tests"
on:
workflow_call:
inputs:
checkoutCommit:
required: true
type: string
chartChangesDetected:
required: true
type: string
jobs:
2022-03-30 06:38:40 -04:00
catalog-tests:
name: Test SCALE Catalog
2022-03-30 06:26:37 -04:00
runs-on: ubuntu-latest
container:
2022-11-24 05:04:25 -05:00
image: ghcr.io/truecharts/devcontainer:v3.1.1@sha256:b682ca20989c13c4afc8edf0660f83ce8e896e32db21d6321ba06f135911fc81
2022-03-30 06:26:37 -04:00
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3
2022-03-30 06:26:37 -04:00
name: Checkout
with:
fetch-depth: 100
ref: ${{ inputs.checkoutCommit }}
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3
2022-03-30 06:26:37 -04:00
with:
repository: truecharts/catalog
path: catalog
- name: build-and-run
run: |
tools/build-release.sh
- uses: vishnudxb/cancel-workflow@c3c77eb4383ba7d023e6614a07d94fe990501ac6 # tag=v1.2
if: failure()
with:
repo: truecharts/charts
workflow_id: ${{ github.run_id }}
access_token: ${{ github.token }}