From 81a4f5f3e18d0bfb6878b6c62b48db96fac85e82 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 04:25:33 +0000 Subject: [PATCH 1/4] chore(deps): Bump sigstore/cosign-installer from 3.5.0 to 3.6.0 Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.5.0 to 3.6.0. - [Release notes](https://github.com/sigstore/cosign-installer/releases) - [Commits](https://github.com/sigstore/cosign-installer/compare/v3.5.0...v3.6.0) --- updated-dependencies: - dependency-name: sigstore/cosign-installer dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 5fa94c1..6e9846e 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -37,7 +37,7 @@ jobs: # https://github.com/sigstore/cosign-installer - name: Install cosign if: github.event_name != 'pull_request' - uses: sigstore/cosign-installer@v3.5.0 + uses: sigstore/cosign-installer@v3.6.0 with: cosign-release: 'v2.1.1' From 31aa9db3eac8ac7cbb9f1be18a7ac666c68a6b2c Mon Sep 17 00:00:00 2001 From: Kennedy Ngugi Mwaura Date: Fri, 9 Aug 2024 17:44:35 +0300 Subject: [PATCH 2/4] Update docker-image.yml --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1eb8168..54a715f 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -23,7 +23,7 @@ jobs: - name: Build the Docker image run: | cd hsystem - docker-compose build --no-cache --force-rm + docker compose build --no-cache --force-rm test: runs-on: ubuntu-latest @@ -32,7 +32,7 @@ jobs: - name: Test the Docker image run: | cd hsystem - docker-compose up -d + docker compose up -d push_to_registry: name: Push Docker image to Docker Hub runs-on: ubuntu-latest From ac13d514dec91e4499e394ac01ddd0014c964469 Mon Sep 17 00:00:00 2001 From: KenMwaura1 Date: Fri, 9 Aug 2024 17:50:04 +0300 Subject: [PATCH 3/4] chore: Remove redundant import statement in views.py --- hsystem/hsystem/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsystem/hsystem/views.py b/hsystem/hsystem/views.py index 12d594d..8ebc5a2 100644 --- a/hsystem/hsystem/views.py +++ b/hsystem/hsystem/views.py @@ -1,4 +1,4 @@ -from django.http import JsonResponse, HttpResponse +from django.http import JsonResponse from django.views import View from permit.sync import Permit from .models import Patient From b90f04b9c84ec9c0611d05b20ac0d6c12ff0f6ec Mon Sep 17 00:00:00 2001 From: KenMwaura1 Date: Fri, 9 Aug 2024 17:54:48 +0300 Subject: [PATCH 4/4] Update Python base image to version 3.12-slim in Dockerfile --- hsystem/Dockerfile | 2 +- hsystem/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hsystem/Dockerfile b/hsystem/Dockerfile index 3299e1d..06c6e92 100644 --- a/hsystem/Dockerfile +++ b/hsystem/Dockerfile @@ -1,5 +1,5 @@ # Use the official Python base image -FROM python:3.11.0a1-slim +FROM python:3.12-slim # Set the working directory in the container WORKDIR /app diff --git a/hsystem/requirements.txt b/hsystem/requirements.txt index c647dd1..9002128 100644 --- a/hsystem/requirements.txt +++ b/hsystem/requirements.txt @@ -9,7 +9,7 @@ Django==5.0.6 djangorestframework==3.15.1 dnspython==2.6.1 email_validator==2.1.1 -frozenlist==1.4.1 +frozenlist==1.4.1 h11==0.14.0 httpcore==1.0.5 httpx==0.27.0