Skip to content

Commit

Permalink
Merge pull request #204 from trifork/feature/custom-development-infra…
Browse files Browse the repository at this point in the history
…structure-ref

added support for supplying a custom development infrastructure branch
  • Loading branch information
rkthtrifork authored Apr 22, 2024
2 parents 77b618d + cbd6a2d commit b0ef4ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/component-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ inputs:
initial-kafka-topics:
description: Initial topics to create in kafka
required: false
development-infrastructure-ref:
description: The development infrastructure ref to check out. This can be a branch or a tag
required: true

runs:
using: composite
Expand All @@ -26,7 +29,7 @@ runs:
uses: actions/checkout@v4
with:
repository: trifork/cheetah-development-infrastructure
ref: v2.0.0
ref: ${{ inputs.development-infrastructure-ref }}
token: ${{ inputs.access-token }}
path: development-infrastructure

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/run-component-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Run Component Tests
on:
workflow_call:
workflow_dispatch:
inputs:
development-infrastructure-ref:
description: Which branch to run development infrastructure from
required: false
default: v2.0.0
schedule:
- cron: "0 3 * * *"
push:
Expand Down Expand Up @@ -79,6 +84,7 @@ jobs:
context-path: ./${{ matrix.folder }}/
access-token: ${{ secrets.PACKAGE_PAT }}
initial-kafka-topics: ${{ matrix.initial-kafka-topics }}
development-infrastructure-ref: ${{ inputs.development-infrastructure-ref }}

success:
name: Success
Expand Down

0 comments on commit b0ef4ac

Please sign in to comment.