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:
image: ghcr.io/truecharts/devcontainer:v2.4.0@sha256:395ee7ed8b9cba6569ddeba77b7ceb86fdb79b91a19c639625d7bc54cb1ccc1d
2022-03-30 06:26:37 -04:00
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
2022-03-30 06:26:37 -04:00
name: Checkout
with:
fetch-depth: 100
ref: ${{ inputs.checkoutCommit }}
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=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@v1.2
if: failure()
with:
repo: truecharts/apps
workflow_id: ${{ github.run_id }}
access_token: ${{ github.token }}