-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move dependencies needed in CI on prod images to separate requirement…
…s file.
- Loading branch information
Showing
12 changed files
with
543 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Test Make up | ||
|
||
run-name: | | ||
ref: ${{ github.ref_name }} | | ||
version: ${{ inputs.version }} | | ||
digest: ${{ inputs.digest }} | | ||
on: | ||
workflow_call: | ||
inputs: | ||
version: | ||
description: The version of the image to run | ||
type: string | ||
required: true | ||
digest: | ||
description: The build digest of the image to run. Overrides version. | ||
type: string | ||
required: false | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: The version of the image to run | ||
type: string | ||
required: true | ||
digest: | ||
description: The build digest of the image to run. Overrides version. | ||
type: string | ||
required: false | ||
|
||
concurrency: | ||
group: test-${{ github.workflow }}-${{ github.event_name}}-${{ github.ref}}-${{ toJson(inputs) }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
docker_target: | ||
- production | ||
- development | ||
docker_version: | ||
- local | ||
- ${{ inputs.version }} | ||
install_ci_deps: | ||
- true | ||
- false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/run-docker | ||
with: | ||
version: ${{ matrix.docker_version }} | ||
data_backup_skip: false | ||
run: | | ||
expected_deps=(prod) | ||
if [ "${{ matrix.install_ci_deps }}" = "true" ]; then | ||
expected_deps+=("ci") | ||
fi | ||
if [ "${{ matrix.docker_target }}" = "development" ]; then | ||
expected_deps+=("dev") | ||
fi | ||
echo "Expected deps: ${expected_deps[@]}" | ||
make check_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.