Skip to content

Add per-iteration sample selection #198

Add per-iteration sample selection

Add per-iteration sample selection #198

Workflow file for this run

name: crucible-ci
on:
pull_request:
branches: [ master ]
workflow_dispatch:
concurrency:
group: ${{ github.ref }}/crucible-ci
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
only-docs: ${{ steps.filter.outputs.only_changed }}
steps:
- uses: actions/checkout@v4
- uses: tj-actions/changed-files@v47
id: filter
with:
files: |
LICENSE
*.md
**/*.md
.github/rulesets/**
.github/workflows/run-crucible-tracking.yaml
.github/workflows/crucible-ci.yaml
.github/workflows/fork-check.yaml
.github/workflows/controller-build.yaml
.github/workflows/cdm-ci.yaml
docs/**
- name: Display changes
run: echo '${{ toJSON(steps.filter.outputs) }}' | jq .
call-real-core-release-crucible-ci:
needs: changes
if: ${{ github.event.pull_request.head.repo.fork != true && (github.event_name == 'workflow_dispatch' || needs.changes.outputs.only-docs != 'true') }}
uses: perftool-incubator/crucible-ci/.github/workflows/core-release-crucible-ci.yaml@main
with:
ci_target: "CommonDataModel"
ci_target_branch: "${{ github.ref }}"
github_workspace: "$GITHUB_WORKSPACE"
userenv_filter: "minimal"
secrets:
ci_registry_auth: ${{ secrets.CRUCIBLE_CI_ENGINES_REGISTRY_AUTH }}
quay_oauth_token: ${{ secrets.CRUCIBLE_QUAYIO_OAUTH_TOKEN }}
call-faux-core-release-crucible-ci:
needs: changes
if: ${{ github.event.pull_request.head.repo.fork != true && github.event_name != 'workflow_dispatch' && needs.changes.outputs.only-docs == 'true' }}
uses: perftool-incubator/crucible-ci/.github/workflows/faux-core-release-crucible-ci.yaml@main
crucible-ci-complete:
runs-on: ubuntu-latest
needs: [ call-real-core-release-crucible-ci, call-faux-core-release-crucible-ci ]
if: always()
steps:
- name: Check Results
if: >-
contains(needs.*.result, 'failure') ||
contains(needs.*.result, 'cancelled')
run: exit 1
- run: 'echo "crucible-ci complete"'