Skip to content

Commit

Permalink
Use shared workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danschmidt5189 committed Dec 27, 2024
1 parent b11a4ed commit fc0fa39
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 158 deletions.
103 changes: 0 additions & 103 deletions .github/workflows/docker-build.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/docker-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Docker CI

on:
push:
release:
workflow_dispatch:

jobs:
prereqs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Check for required files
run: |
errors=0
required_files=(bin/setup bin/test docker-compose.yml docker-compose.ci.yml)
for file in "${required_files[@]}"; do
if [ -f "$file" ]; then
echo "$file found"
else
echo "$file not found"
errors=$((errors + 1))
fi
done
exit $errors
build:
needs: prereqs
uses: BerkeleyLibrary/.github/workflows/docker-build.yml@main

test:
needs: build
uses: BerkeleyLibrary/.github/workflows/docker-test.yml@main
55 changes: 0 additions & 55 deletions .github/workflows/docker-compose-test.yml

This file was deleted.

0 comments on commit fc0fa39

Please sign in to comment.