From 3caa839cdfb2df6a30549cbb9733610639290ba3 Mon Sep 17 00:00:00 2001 From: Edmond Chuc Date: Fri, 27 Jan 2023 00:56:20 +0000 Subject: [PATCH 1/2] Set docker/build-push-action provenance value to false --- .github/workflows/build.yml | 1 + .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6b73c3..ea3a6bc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -93,6 +93,7 @@ jobs: # Building for arm requires building wheels, takes too long. # platforms: linux/amd64,linux/arm64 push: true + provenance: false tags: ${{ env.IMAGE_NAME }}:${{ steps.patch.outputs.patch }}-${{ steps.hash.outputs.value }} build-args: | LINKEDDATA_API_VERSION=${{ steps.patch.outputs.patch }}-${{ steps.hash.outputs.value }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index faca05c..917752e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,6 +47,7 @@ jobs: context: . platforms: linux/amd64,linux/arm64 push: true + provenance: false tags: ${{ steps.metadata.outputs.tags }} build-args: | LINKEDDATA_API_VERSION=${{ steps.metadata.outputs.version }} From 6739ff3a5affb5cd201c3a7a4487409048e114fb Mon Sep 17 00:00:00 2001 From: Edmond Chuc Date: Fri, 27 Jan 2023 01:14:52 +0000 Subject: [PATCH 2/2] Delete test that tests for flask_sqlalchemy db instance --- tests/test_import_models.py | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 tests/test_import_models.py diff --git a/tests/test_import_models.py b/tests/test_import_models.py deleted file mode 100644 index c08eda8..0000000 --- a/tests/test_import_models.py +++ /dev/null @@ -1,5 +0,0 @@ -from linkeddata_api.models import db - - -def test_db(): - assert db