Reorganise the repository

Simplify the test suite now that we use buildx to build the final image
Remove tests that were never run/skipped in previous runs (same number of tests passing as were before)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner
2022-07-15 17:37:52 +01:00
parent 74dec72bbb
commit 1d59f257ff
72 changed files with 75 additions and 583 deletions

View File

@@ -5,6 +5,7 @@ on:
push:
branches:
- dev
- massive-refactor
pull_request:
release:
types: [published]
@@ -12,16 +13,13 @@ on:
jobs:
test:
runs-on: ubuntu-latest
env:
ARCH: amd64
DEBIAN_VERSION: bullseye
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Run Tests
run: |
echo "Building ${ARCH}-${DEBIAN_VERSION}"
./gh-actions-test.sh
echo "Building image to test"
./build-and-test.sh
build-and-publish:
if: github.event_name != 'pull_request'
@@ -76,7 +74,7 @@ jobs:
name: Build and push
uses: docker/build-push-action@v3
with:
context: .
context: ./src/
platforms: linux/amd64, linux/arm64, linux/386, linux/arm/v7, linux/arm/v6
build-args: |
PIHOLE_DOCKER_TAG=${{ steps.meta.outputs.version }}